context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_1557752_1 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) | SELECT prothrombin_time FROM table_1557752_1 WHERE partial_thromboplastin_time = "Prolonged" AND bleeding_time = "Prolonged" | If the partial thromboplastin and bleeding time is prolonged, what is the prothrombin time? | <s>[INST]If the partial thromboplastin and bleeding time is prolonged, what is the prothrombin time? Context: CREATE TABLE table_1557752_1 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)[/INST]SELECT prothrombin_time FROM table_1557752_1 WHERE partial_thromboplastin_time = "Prolonged" AND bleeding_time = "Prolonged"</s> |
CREATE TABLE table_14724369_1 (no_in_series INTEGER, production_code VARCHAR) | SELECT MAX(no_in_series) FROM table_14724369_1 WHERE production_code = "1ACX03" | What is the first number in series that had the production code 1ACX03? | <s>[INST]What is the first number in series that had the production code 1ACX03? Context: CREATE TABLE table_14724369_1 (no_in_series INTEGER, production_code VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_14724369_1 WHERE production_code = "1ACX03"</s> |
CREATE TABLE table_name_12 (date VARCHAR, circumstances VARCHAR) | SELECT date FROM table_name_12 WHERE circumstances = "natural cause" | What was the date of natural cause situation? | <s>[INST]What was the date of natural cause situation? Context: CREATE TABLE table_name_12 (date VARCHAR, circumstances VARCHAR)[/INST]SELECT date FROM table_name_12 WHERE circumstances = "natural cause"</s> |
CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR) | SELECT district FROM table_1346118_5 WHERE candidates = "John I. Nolan (R) 87% Thomas F. Feeley (S) 13%" | Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%? | <s>[INST]Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%? Context: CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR)[/INST]SELECT district FROM table_1346118_5 WHERE candidates = "John I. Nolan (R) 87% Thomas F. Feeley (S) 13%"</s> |
CREATE TABLE table_name_44 (team VARCHAR, pick VARCHAR, position VARCHAR) | SELECT team FROM table_name_44 WHERE pick > 2 AND position = "running back" | What team has a position of running back and picked after 2? | <s>[INST]What team has a position of running back and picked after 2? Context: CREATE TABLE table_name_44 (team VARCHAR, pick VARCHAR, position VARCHAR)[/INST]SELECT team FROM table_name_44 WHERE pick > 2 AND position = "running back"</s> |
CREATE TABLE table_name_9 (winner VARCHAR, team VARCHAR, circuit VARCHAR) | SELECT winner FROM table_name_9 WHERE team = "peter jackson racing" AND circuit = "mallala motor sport park" | Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park? | <s>[INST]Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park? Context: CREATE TABLE table_name_9 (winner VARCHAR, team VARCHAR, circuit VARCHAR)[/INST]SELECT winner FROM table_name_9 WHERE team = "peter jackson racing" AND circuit = "mallala motor sport park"</s> |
CREATE TABLE table_name_71 (date VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT date FROM table_name_71 WHERE competition = "friendly" AND venue = "rheinpark stadion, vaduz" | Name the date that has a friendly competition at rheinpark stadion, vaduz | <s>[INST]Name the date that has a friendly competition at rheinpark stadion, vaduz Context: CREATE TABLE table_name_71 (date VARCHAR, competition VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_71 WHERE competition = "friendly" AND venue = "rheinpark stadion, vaduz"</s> |
CREATE TABLE table_name_43 (Id VARCHAR) | SELECT 2012 FROM table_name_43 WHERE 2010 = "2r" | Which 2012 tournament had 2r in 2010? | <s>[INST]Which 2012 tournament had 2r in 2010? Context: CREATE TABLE table_name_43 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_43 WHERE 2010 = "2r"</s> |
CREATE TABLE table_name_42 (year VARCHAR, driver VARCHAR) | SELECT COUNT(year) FROM table_name_42 WHERE driver = "hans hartmann" | When did Hans Hartmann drive? | <s>[INST]When did Hans Hartmann drive? Context: CREATE TABLE table_name_42 (year VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_42 WHERE driver = "hans hartmann"</s> |
CREATE TABLE table_name_81 (school VARCHAR, team_name VARCHAR, year_left VARCHAR) | SELECT school FROM table_name_81 WHERE team_name = "panthers" AND year_left = "1968" | Which school left in 1968 and has the team name of Panthers? | <s>[INST]Which school left in 1968 and has the team name of Panthers? Context: CREATE TABLE table_name_81 (school VARCHAR, team_name VARCHAR, year_left VARCHAR)[/INST]SELECT school FROM table_name_81 WHERE team_name = "panthers" AND year_left = "1968"</s> |
CREATE TABLE table_1341423_21 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341423_21 WHERE incumbent = "Joe Moakley" | Which district is Joe Moakley? | <s>[INST]Which district is Joe Moakley? Context: CREATE TABLE table_1341423_21 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341423_21 WHERE incumbent = "Joe Moakley"</s> |
CREATE TABLE table_name_96 (tournament VARCHAR) | SELECT tournament FROM table_name_96 WHERE 2009 = "2r" AND 2010 = "2r" | What is the tournament with a 2r in 2009 and a 2r in 2010? | <s>[INST]What is the tournament with a 2r in 2009 and a 2r in 2010? Context: CREATE TABLE table_name_96 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_96 WHERE 2009 = "2r" AND 2010 = "2r"</s> |
CREATE TABLE table_10082596_1 (primary_conference VARCHAR, location VARCHAR) | SELECT COUNT(primary_conference) FROM table_10082596_1 WHERE location = "Ames, IA" | How many of the schools listed are in Ames, IA? | <s>[INST]How many of the schools listed are in Ames, IA? Context: CREATE TABLE table_10082596_1 (primary_conference VARCHAR, location VARCHAR)[/INST]SELECT COUNT(primary_conference) FROM table_10082596_1 WHERE location = "Ames, IA"</s> |
CREATE TABLE table_23938357_7 (ws_points VARCHAR) | SELECT MIN(08 AS _09_gp_jgp_2nd) FROM table_23938357_7 WHERE ws_points = 3197 | What is the smallest 08-09 GP/JGP 2nd value when WS points equals 3197? | <s>[INST]What is the smallest 08-09 GP/JGP 2nd value when WS points equals 3197? Context: CREATE TABLE table_23938357_7 (ws_points VARCHAR)[/INST]SELECT MIN(08 AS _09_gp_jgp_2nd) FROM table_23938357_7 WHERE ws_points = 3197</s> |
CREATE TABLE table_name_91 (capacity INTEGER, highest INTEGER) | SELECT MAX(capacity) FROM table_name_91 WHERE highest > 6 OFFSET 192 | What is the greatest capacity when the largest number in attendance is 6,192? | <s>[INST]What is the greatest capacity when the largest number in attendance is 6,192? Context: CREATE TABLE table_name_91 (capacity INTEGER, highest INTEGER)[/INST]SELECT MAX(capacity) FROM table_name_91 WHERE highest > 6 OFFSET 192</s> |
CREATE TABLE table_name_78 (mongolian VARCHAR, tamil_தமிழ் VARCHAR) | SELECT mongolian FROM table_name_78 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்" | Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்? | <s>[INST]Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்? Context: CREATE TABLE table_name_78 (mongolian VARCHAR, tamil_தமிழ் VARCHAR)[/INST]SELECT mongolian FROM table_name_78 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்"</s> |
CREATE TABLE table_name_59 (team_sites VARCHAR, name VARCHAR) | SELECT team_sites FROM table_name_59 WHERE name = "microsoft sharepoint" | What is the team sites entry for Microsoft Sharepoint? | <s>[INST]What is the team sites entry for Microsoft Sharepoint? Context: CREATE TABLE table_name_59 (team_sites VARCHAR, name VARCHAR)[/INST]SELECT team_sites FROM table_name_59 WHERE name = "microsoft sharepoint"</s> |
CREATE TABLE table_name_43 (result VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT result FROM table_name_43 WHERE film_title_used_in_nomination = "kuei-mei, a woman" | What is Result, when Film Title Used In Nomination is "Kuei-Mei, A Woman"? | <s>[INST]What is Result, when Film Title Used In Nomination is "Kuei-Mei, A Woman"? Context: CREATE TABLE table_name_43 (result VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT result FROM table_name_43 WHERE film_title_used_in_nomination = "kuei-mei, a woman"</s> |
CREATE TABLE table_name_55 (country VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT country FROM table_name_55 WHERE to_par = "-9" AND score = 70 - 69 - 68 = 207 | Which country has -9 to par with a Score of 70-69-68=207? | <s>[INST]Which country has -9 to par with a Score of 70-69-68=207? Context: CREATE TABLE table_name_55 (country VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_55 WHERE to_par = "-9" AND score = 70 - 69 - 68 = 207</s> |
CREATE TABLE table_25353861_5 (player VARCHAR, blocks VARCHAR) | SELECT player FROM table_25353861_5 WHERE blocks = 9 | Which player had 9 blocks? | <s>[INST]Which player had 9 blocks? Context: CREATE TABLE table_25353861_5 (player VARCHAR, blocks VARCHAR)[/INST]SELECT player FROM table_25353861_5 WHERE blocks = 9</s> |
CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_44 WHERE tie_no = "replay" AND attendance = "2,048" | What is Home Team, when Tie No is Replay, and when Attendance is 2,048? | <s>[INST]What is Home Team, when Tie No is Replay, and when Attendance is 2,048? Context: CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR)[/INST]SELECT home_team FROM table_name_44 WHERE tie_no = "replay" AND attendance = "2,048"</s> |
CREATE TABLE table_name_39 (place VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT place FROM table_name_39 WHERE country = "united states" AND to_par = "e" | What place in the United States has a To par of e? | <s>[INST]What place in the United States has a To par of e? Context: CREATE TABLE table_name_39 (place VARCHAR, country VARCHAR, to_par VARCHAR)[/INST]SELECT place FROM table_name_39 WHERE country = "united states" AND to_par = "e"</s> |
CREATE TABLE table_name_50 (singapore_league_cup VARCHAR, rank VARCHAR, s_league VARCHAR) | SELECT singapore_league_cup FROM table_name_50 WHERE rank > 4 AND s_league = "2 (12)" | What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)? | <s>[INST]What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)? Context: CREATE TABLE table_name_50 (singapore_league_cup VARCHAR, rank VARCHAR, s_league VARCHAR)[/INST]SELECT singapore_league_cup FROM table_name_50 WHERE rank > 4 AND s_league = "2 (12)"</s> |
CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR) | SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1 | What is the name of the body builder with the greatest body weight? | <s>[INST]What is the name of the body builder with the greatest body weight? Context: CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR)[/INST]SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1</s> |
CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_67 WHERE country = "united states" AND place = "t6" AND score = 71 - 70 - 76 - 72 = 289 | Who is the player from the United States with a t6 place and a 71-70-76-72=289 score? | <s>[INST]Who is the player from the United States with a t6 place and a 71-70-76-72=289 score? Context: CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_67 WHERE country = "united states" AND place = "t6" AND score = 71 - 70 - 76 - 72 = 289</s> |
CREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR) | SELECT dimensions FROM table_298883_5 WHERE reverse = "Western sea barrage and locks at Taedong Gang" | What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side? | <s>[INST]What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side? Context: CREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR)[/INST]SELECT dimensions FROM table_298883_5 WHERE reverse = "Western sea barrage and locks at Taedong Gang"</s> |
CREATE TABLE table_name_96 (total VARCHAR, finish VARCHAR) | SELECT total FROM table_name_96 WHERE finish = "t39" | What is the total for the player with a Finish of T39? | <s>[INST]What is the total for the player with a Finish of T39? Context: CREATE TABLE table_name_96 (total VARCHAR, finish VARCHAR)[/INST]SELECT total FROM table_name_96 WHERE finish = "t39"</s> |
CREATE TABLE table_name_95 (finish VARCHAR, year VARCHAR) | SELECT finish FROM table_name_95 WHERE year = "1954" | What was Jack McGrath's finish number in 1954? | <s>[INST]What was Jack McGrath's finish number in 1954? Context: CREATE TABLE table_name_95 (finish VARCHAR, year VARCHAR)[/INST]SELECT finish FROM table_name_95 WHERE year = "1954"</s> |
CREATE TABLE table_name_92 (outgoing_manager VARCHAR, replaced_by VARCHAR) | SELECT outgoing_manager FROM table_name_92 WHERE replaced_by = "tony mowbray" | Who was the outgoing manager that was replaced by Tony Mowbray? | <s>[INST]Who was the outgoing manager that was replaced by Tony Mowbray? Context: CREATE TABLE table_name_92 (outgoing_manager VARCHAR, replaced_by VARCHAR)[/INST]SELECT outgoing_manager FROM table_name_92 WHERE replaced_by = "tony mowbray"</s> |
CREATE TABLE table_name_27 (club VARCHAR, founded VARCHAR, venue VARCHAR) | SELECT club FROM table_name_27 WHERE founded < 2011 AND venue = "champion window field" | What club team was founded before 2011 and plays at the champion window field? | <s>[INST]What club team was founded before 2011 and plays at the champion window field? Context: CREATE TABLE table_name_27 (club VARCHAR, founded VARCHAR, venue VARCHAR)[/INST]SELECT club FROM table_name_27 WHERE founded < 2011 AND venue = "champion window field"</s> |
CREATE TABLE table_272865_20 (matches_as_captain VARCHAR, asian_cup_played_as_a_captain VARCHAR) | SELECT matches_as_captain FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Qatar 1988" | How many matches as captain were played where Asian Cup played as a captain is Qatar 1988 | <s>[INST]How many matches as captain were played where Asian Cup played as a captain is Qatar 1988 Context: CREATE TABLE table_272865_20 (matches_as_captain VARCHAR, asian_cup_played_as_a_captain VARCHAR)[/INST]SELECT matches_as_captain FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Qatar 1988"</s> |
CREATE TABLE table_26389588_1 (primary_cartridge VARCHAR, year_of_introduction VARCHAR, country_of_origin VARCHAR) | SELECT primary_cartridge FROM table_26389588_1 WHERE year_of_introduction = "1962" AND country_of_origin = "Denmark" | If the Country of Origin is Denmark and the year of introduction is 1962, what is the primary cartridge? | <s>[INST]If the Country of Origin is Denmark and the year of introduction is 1962, what is the primary cartridge? Context: CREATE TABLE table_26389588_1 (primary_cartridge VARCHAR, year_of_introduction VARCHAR, country_of_origin VARCHAR)[/INST]SELECT primary_cartridge FROM table_26389588_1 WHERE year_of_introduction = "1962" AND country_of_origin = "Denmark"</s> |
CREATE TABLE table_11066073_1 (colour VARCHAR, registration_no VARCHAR) | SELECT COUNT(colour) FROM table_11066073_1 WHERE registration_no = "MG-509" | What is the number of colour with the regisration number of mg-509? | <s>[INST]What is the number of colour with the regisration number of mg-509? Context: CREATE TABLE table_11066073_1 (colour VARCHAR, registration_no VARCHAR)[/INST]SELECT COUNT(colour) FROM table_11066073_1 WHERE registration_no = "MG-509"</s> |
CREATE TABLE table_name_40 (venue VARCHAR, position VARCHAR, year VARCHAR) | SELECT venue FROM table_name_40 WHERE position = "2nd" AND year = 1985 | Which venue was finished in 2nd position in 1985? | <s>[INST]Which venue was finished in 2nd position in 1985? Context: CREATE TABLE table_name_40 (venue VARCHAR, position VARCHAR, year VARCHAR)[/INST]SELECT venue FROM table_name_40 WHERE position = "2nd" AND year = 1985</s> |
CREATE TABLE table_name_8 (new_returning_same_network VARCHAR, retitled_as_same VARCHAR, last_aired VARCHAR) | SELECT new_returning_same_network FROM table_name_8 WHERE retitled_as_same = "same" AND last_aired > 1984 | Which New/Returning/Same Network has a Retitled as/Same of same, and a Last Aired larger than 1984? | <s>[INST]Which New/Returning/Same Network has a Retitled as/Same of same, and a Last Aired larger than 1984? Context: CREATE TABLE table_name_8 (new_returning_same_network VARCHAR, retitled_as_same VARCHAR, last_aired VARCHAR)[/INST]SELECT new_returning_same_network FROM table_name_8 WHERE retitled_as_same = "same" AND last_aired > 1984</s> |
CREATE TABLE table_2668243_22 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_2668243_22 WHERE district = "South Carolina 2" | how many "Party" are in district south carolina 2? | <s>[INST]how many "Party" are in district south carolina 2? Context: CREATE TABLE table_2668243_22 (party VARCHAR, district VARCHAR)[/INST]SELECT COUNT(party) FROM table_2668243_22 WHERE district = "South Carolina 2"</s> |
CREATE TABLE table_name_69 (school VARCHAR, height VARCHAR) | SELECT school FROM table_name_69 WHERE height = "6-6" | What school did the player that is 6-6 go to? | <s>[INST]What school did the player that is 6-6 go to? Context: CREATE TABLE table_name_69 (school VARCHAR, height VARCHAR)[/INST]SELECT school FROM table_name_69 WHERE height = "6-6"</s> |
CREATE TABLE table_name_11 (overall INTEGER, college VARCHAR) | SELECT MIN(overall) FROM table_name_11 WHERE college = "washington" | What is the lowest overall pick for a player from Washington? | <s>[INST]What is the lowest overall pick for a player from Washington? Context: CREATE TABLE table_name_11 (overall INTEGER, college VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_11 WHERE college = "washington"</s> |
CREATE TABLE table_name_39 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_39 WHERE home_team = "carlton" | What venue is the home of the Carlton team? | <s>[INST]What venue is the home of the Carlton team? Context: CREATE TABLE table_name_39 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_39 WHERE home_team = "carlton"</s> |
CREATE TABLE table_17282875_2 (team__number2 VARCHAR, team__number1 VARCHAR) | SELECT team__number2 FROM table_17282875_2 WHERE team__number1 = "Vitória" | Who played against team 1 Vitória? | <s>[INST]Who played against team 1 Vitória? Context: CREATE TABLE table_17282875_2 (team__number2 VARCHAR, team__number1 VARCHAR)[/INST]SELECT team__number2 FROM table_17282875_2 WHERE team__number1 = "Vitória"</s> |
CREATE TABLE table_name_98 (date VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_98 WHERE week < 10 AND attendance = "38,865" | When was the pre-Week 10 game that had an attendance of over 38,865? | <s>[INST]When was the pre-Week 10 game that had an attendance of over 38,865? Context: CREATE TABLE table_name_98 (date VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE week < 10 AND attendance = "38,865"</s> |
CREATE TABLE table_name_44 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_44 WHERE time = "7:58.71" | what is the notes when the time is 7:58.71? | <s>[INST]what is the notes when the time is 7:58.71? Context: CREATE TABLE table_name_44 (notes VARCHAR, time VARCHAR)[/INST]SELECT notes FROM table_name_44 WHERE time = "7:58.71"</s> |
CREATE TABLE table_name_4 (date VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_4 WHERE week > 9 AND attendance = "72,051" | What is the Date of the game with an attendance of 72,051 after Week 9? | <s>[INST]What is the Date of the game with an attendance of 72,051 after Week 9? Context: CREATE TABLE table_name_4 (date VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE week > 9 AND attendance = "72,051"</s> |
CREATE TABLE table_12407546_1 (shooting VARCHAR, athlete__noc_ VARCHAR) | SELECT shooting FROM table_12407546_1 WHERE athlete__noc_ = "Luis Siri" | What's Luis Siri's shooting score? | <s>[INST]What's Luis Siri's shooting score? Context: CREATE TABLE table_12407546_1 (shooting VARCHAR, athlete__noc_ VARCHAR)[/INST]SELECT shooting FROM table_12407546_1 WHERE athlete__noc_ = "Luis Siri"</s> |
CREATE TABLE table_name_72 (state_province VARCHAR, wind_farm VARCHAR) | SELECT state_province FROM table_name_72 WHERE wind_farm = "tehachapi pass wind farm" | Which state is Tehachapi Pass Wind Farm located in? | <s>[INST]Which state is Tehachapi Pass Wind Farm located in? Context: CREATE TABLE table_name_72 (state_province VARCHAR, wind_farm VARCHAR)[/INST]SELECT state_province FROM table_name_72 WHERE wind_farm = "tehachapi pass wind farm"</s> |
CREATE TABLE table_name_83 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_83 WHERE loss = "dickey (0-1)" | Who did they play when dickey (0-1) recorded the loss? | <s>[INST]Who did they play when dickey (0-1) recorded the loss? Context: CREATE TABLE table_name_83 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_83 WHERE loss = "dickey (0-1)"</s> |
CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR) | SELECT winning_score FROM table_13026799_1 WHERE championship = "PGA championship (3)" | What was the winning score of the PGA Championship (3)? | <s>[INST]What was the winning score of the PGA Championship (3)? Context: CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR)[/INST]SELECT winning_score FROM table_13026799_1 WHERE championship = "PGA championship (3)"</s> |
CREATE TABLE table_name_37 (carrier VARCHAR, package_version VARCHAR) | SELECT carrier FROM table_name_37 WHERE package_version = "5.0.0.742" | WHAT IS THE CARRIER WITH 5.0.0.742 VERSION? | <s>[INST]WHAT IS THE CARRIER WITH 5.0.0.742 VERSION? Context: CREATE TABLE table_name_37 (carrier VARCHAR, package_version VARCHAR)[/INST]SELECT carrier FROM table_name_37 WHERE package_version = "5.0.0.742"</s> |
CREATE TABLE table_name_91 (finish VARCHAR, laps VARCHAR, start VARCHAR) | SELECT finish FROM table_name_91 WHERE laps = 200 AND start = "3" | What is the finish with 200 laps and a start of 3? | <s>[INST]What is the finish with 200 laps and a start of 3? Context: CREATE TABLE table_name_91 (finish VARCHAR, laps VARCHAR, start VARCHAR)[/INST]SELECT finish FROM table_name_91 WHERE laps = 200 AND start = "3"</s> |
CREATE TABLE table_name_45 (seasons INTEGER, total_points INTEGER) | SELECT SUM(seasons) FROM table_name_45 WHERE total_points < 24 | What is the number of seasons for the team with a total fewer than 24? | <s>[INST]What is the number of seasons for the team with a total fewer than 24? Context: CREATE TABLE table_name_45 (seasons INTEGER, total_points INTEGER)[/INST]SELECT SUM(seasons) FROM table_name_45 WHERE total_points < 24</s> |
CREATE TABLE table_name_87 (city VARCHAR, rank VARCHAR, name VARCHAR) | SELECT city FROM table_name_87 WHERE rank < 5 AND name = "lamar tower 1" | What city is the lamar tower 1, ranked above 5? | <s>[INST]What city is the lamar tower 1, ranked above 5? Context: CREATE TABLE table_name_87 (city VARCHAR, rank VARCHAR, name VARCHAR)[/INST]SELECT city FROM table_name_87 WHERE rank < 5 AND name = "lamar tower 1"</s> |
CREATE TABLE table_name_68 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR) | SELECT MIN(field_goals) FROM table_name_68 WHERE points = 10 AND touchdowns > 2 | Who had the lowest field goals but had 10 points and more than 2 touchdowns? | <s>[INST]Who had the lowest field goals but had 10 points and more than 2 touchdowns? Context: CREATE TABLE table_name_68 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR)[/INST]SELECT MIN(field_goals) FROM table_name_68 WHERE points = 10 AND touchdowns > 2</s> |
CREATE TABLE table_name_34 (year_s__won VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR) | SELECT year_s__won FROM table_name_34 WHERE total < 291 AND to_par = "+10" AND player = "raymond floyd" | In what year(s) did Raymond Floyd have a total of less than 291 and a To par of +10? | <s>[INST]In what year(s) did Raymond Floyd have a total of less than 291 and a To par of +10? Context: CREATE TABLE table_name_34 (year_s__won VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)[/INST]SELECT year_s__won FROM table_name_34 WHERE total < 291 AND to_par = "+10" AND player = "raymond floyd"</s> |
CREATE TABLE table_name_76 (males VARCHAR, percentage___percentage_ VARCHAR) | SELECT males FROM table_name_76 WHERE percentage___percentage_ = "0.42" | Which Males have a percentage of 0.42? | <s>[INST]Which Males have a percentage of 0.42? Context: CREATE TABLE table_name_76 (males VARCHAR, percentage___percentage_ VARCHAR)[/INST]SELECT males FROM table_name_76 WHERE percentage___percentage_ = "0.42"</s> |
CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR) | SELECT T2.emp_fname, T4.prof_office, T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN professor AS T4 ON T2.emp_num = T4.emp_num | Find the first names and offices of all instructors who have taught some course and also find the course description. | <s>[INST]Find the first names and offices of all instructors who have taught some course and also find the course description. Context: CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)[/INST]SELECT T2.emp_fname, T4.prof_office, T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN professor AS T4 ON T2.emp_num = T4.emp_num</s> |
CREATE TABLE table_26250253_1 (result VARCHAR, theme VARCHAR) | SELECT COUNT(result) FROM table_26250253_1 WHERE theme = "Group Round" | How many results are there with the theme Group Round? | <s>[INST]How many results are there with the theme Group Round? Context: CREATE TABLE table_26250253_1 (result VARCHAR, theme VARCHAR)[/INST]SELECT COUNT(result) FROM table_26250253_1 WHERE theme = "Group Round"</s> |
CREATE TABLE table_name_59 (opera VARCHAR, internet_explorer VARCHAR) | SELECT opera FROM table_name_59 WHERE internet_explorer = "63.67%" | What percentage of users were using Opera during the period in which 63.67% were using Internet Explorer? | <s>[INST]What percentage of users were using Opera during the period in which 63.67% were using Internet Explorer? Context: CREATE TABLE table_name_59 (opera VARCHAR, internet_explorer VARCHAR)[/INST]SELECT opera FROM table_name_59 WHERE internet_explorer = "63.67%"</s> |
CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR) | SELECT COUNT(netflow_version) FROM table_1206114_2 WHERE vendor_and_type = "Enterasys Switches" | How many netflow version are there when the vendor and type is enterasys switches? | <s>[INST]How many netflow version are there when the vendor and type is enterasys switches? Context: CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR)[/INST]SELECT COUNT(netflow_version) FROM table_1206114_2 WHERE vendor_and_type = "Enterasys Switches"</s> |
CREATE TABLE table_name_5 (score VARCHAR, location VARCHAR) | SELECT score FROM table_name_5 WHERE location = "brendan byrne arena" | Location of brendan byrne arena had what score? | <s>[INST]Location of brendan byrne arena had what score? Context: CREATE TABLE table_name_5 (score VARCHAR, location VARCHAR)[/INST]SELECT score FROM table_name_5 WHERE location = "brendan byrne arena"</s> |
CREATE TABLE table_18676973_3 (most_recent_date VARCHAR, country VARCHAR) | SELECT most_recent_date FROM table_18676973_3 WHERE country = "United Kingdom" | When united kingdom is the country what is the most recent date? | <s>[INST]When united kingdom is the country what is the most recent date? Context: CREATE TABLE table_18676973_3 (most_recent_date VARCHAR, country VARCHAR)[/INST]SELECT most_recent_date FROM table_18676973_3 WHERE country = "United Kingdom"</s> |
CREATE TABLE table_name_58 (no_range VARCHAR, year_built__converted VARCHAR, _ VARCHAR) | SELECT no_range FROM table_name_58 WHERE year_built__converted * _ = "1965-66" | Tell me the number range for 1965-66 | <s>[INST]Tell me the number range for 1965-66 Context: CREATE TABLE table_name_58 (no_range VARCHAR, year_built__converted VARCHAR, _ VARCHAR)[/INST]SELECT no_range FROM table_name_58 WHERE year_built__converted * _ = "1965-66"</s> |
CREATE TABLE table_19412902_1 (clubs VARCHAR, group_stage VARCHAR, member_association VARCHAR) | SELECT clubs FROM table_19412902_1 WHERE group_stage = 4 AND member_association = "Iran" | which club in group stage 4 had member association iran | <s>[INST]which club in group stage 4 had member association iran Context: CREATE TABLE table_19412902_1 (clubs VARCHAR, group_stage VARCHAR, member_association VARCHAR)[/INST]SELECT clubs FROM table_19412902_1 WHERE group_stage = 4 AND member_association = "Iran"</s> |
CREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR) | SELECT time_elapsed FROM table_name_11 WHERE closest_approach = "14 february 2011" | What Time elapsed has 14 February 2011 as the Closest approach? | <s>[INST]What Time elapsed has 14 February 2011 as the Closest approach? Context: CREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR)[/INST]SELECT time_elapsed FROM table_name_11 WHERE closest_approach = "14 february 2011"</s> |
CREATE TABLE table_name_44 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR, company VARCHAR) | SELECT MIN(market_value__billion_) AS $_ FROM table_name_44 WHERE assets__billion_$_ > 276.81 AND company = "toyota" AND profits__billion_$_ > 17.21 | Name the lowest Market Value (billion $) which has Assets (billion $) larger than 276.81, and a Company of toyota, and Profits (billion $) larger than 17.21? | <s>[INST]Name the lowest Market Value (billion $) which has Assets (billion $) larger than 276.81, and a Company of toyota, and Profits (billion $) larger than 17.21? Context: CREATE TABLE table_name_44 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR, company VARCHAR)[/INST]SELECT MIN(market_value__billion_) AS $_ FROM table_name_44 WHERE assets__billion_$_ > 276.81 AND company = "toyota" AND profits__billion_$_ > 17.21</s> |
CREATE TABLE table_name_67 (floors INTEGER, built VARCHAR, roof___m__ VARCHAR) | SELECT AVG(floors) FROM table_name_67 WHERE built = 2004 AND roof___m__ = 106 | What's the average number of floors that were built in 2004, and have a roof (m) of 106? | <s>[INST]What's the average number of floors that were built in 2004, and have a roof (m) of 106? Context: CREATE TABLE table_name_67 (floors INTEGER, built VARCHAR, roof___m__ VARCHAR)[/INST]SELECT AVG(floors) FROM table_name_67 WHERE built = 2004 AND roof___m__ = 106</s> |
CREATE TABLE table_name_45 (outcome VARCHAR, surface VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_45 WHERE surface = "grass" AND date = "23 june 1997" | what is the outcome when the surface is grass on 23 june 1997? | <s>[INST]what is the outcome when the surface is grass on 23 june 1997? Context: CREATE TABLE table_name_45 (outcome VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_45 WHERE surface = "grass" AND date = "23 june 1997"</s> |
CREATE TABLE table_24348134_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR) | SELECT regular_season_winner FROM table_24348134_3 WHERE tournament_winner = "Georgia State" | What team won the regular season when georgia state won the tournament? | <s>[INST]What team won the regular season when georgia state won the tournament? Context: CREATE TABLE table_24348134_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)[/INST]SELECT regular_season_winner FROM table_24348134_3 WHERE tournament_winner = "Georgia State"</s> |
CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR) | SELECT MIN(gold) FROM table_name_21 WHERE silver < 1 AND total < 4 AND bronze > 1 | What is the fewest gold medals for a team with fewer than 1 silver, more than 1 bronze and a total less than 4? | <s>[INST]What is the fewest gold medals for a team with fewer than 1 silver, more than 1 bronze and a total less than 4? Context: CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_21 WHERE silver < 1 AND total < 4 AND bronze > 1</s> |
CREATE TABLE table_name_62 (jump_2 VARCHAR, jump_3 VARCHAR) | SELECT jump_2 FROM table_name_62 WHERE jump_3 = "7.77" | What is the Jump 2 of the person that has a Jump 3 of 7.77? | <s>[INST]What is the Jump 2 of the person that has a Jump 3 of 7.77? Context: CREATE TABLE table_name_62 (jump_2 VARCHAR, jump_3 VARCHAR)[/INST]SELECT jump_2 FROM table_name_62 WHERE jump_3 = "7.77"</s> |
CREATE TABLE table_name_9 (inverse_subjunctive VARCHAR, imperative VARCHAR, subjunctive VARCHAR) | SELECT inverse_subjunctive FROM table_name_9 WHERE imperative = "—" AND subjunctive = "se måchadn" | What inverse subjunctive has — as the imperative and a subjunctive of se måchadn? | <s>[INST]What inverse subjunctive has — as the imperative and a subjunctive of se måchadn? Context: CREATE TABLE table_name_9 (inverse_subjunctive VARCHAR, imperative VARCHAR, subjunctive VARCHAR)[/INST]SELECT inverse_subjunctive FROM table_name_9 WHERE imperative = "—" AND subjunctive = "se måchadn"</s> |
CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR) | SELECT network FROM table_28190363_1 WHERE judges = "Batuhan Zeynioğlu Piatti Murat Bozok Erol Kaynar" | What are the networks whose version of the show includes the judges batuhan zeynioğlu piatti murat bozok erol kaynar? | <s>[INST]What are the networks whose version of the show includes the judges batuhan zeynioğlu piatti murat bozok erol kaynar? Context: CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR)[/INST]SELECT network FROM table_28190363_1 WHERE judges = "Batuhan Zeynioğlu Piatti Murat Bozok Erol Kaynar"</s> |
CREATE TABLE table_name_77 (myspace_band VARCHAR, original_airdate VARCHAR) | SELECT myspace_band FROM table_name_77 WHERE original_airdate = "25 march 2008" | What is the name of the MySpace Band with an Original Airdate of 25 march 2008? | <s>[INST]What is the name of the MySpace Band with an Original Airdate of 25 march 2008? Context: CREATE TABLE table_name_77 (myspace_band VARCHAR, original_airdate VARCHAR)[/INST]SELECT myspace_band FROM table_name_77 WHERE original_airdate = "25 march 2008"</s> |
CREATE TABLE table_name_54 (name VARCHAR, heat VARCHAR, lane VARCHAR) | SELECT name FROM table_name_54 WHERE heat > 3 AND lane = 5 | List a name that has a heat of at least 3 and a Lane of exactly 5. | <s>[INST]List a name that has a heat of at least 3 and a Lane of exactly 5. Context: CREATE TABLE table_name_54 (name VARCHAR, heat VARCHAR, lane VARCHAR)[/INST]SELECT name FROM table_name_54 WHERE heat > 3 AND lane = 5</s> |
CREATE TABLE table_name_90 (tournament VARCHAR, outcome VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_90 WHERE outcome = "winner" AND score = "4-6 6-3 10-5" | Tell me the tournament for outcome of winner and score of 4-6 6-3 10-5 | <s>[INST]Tell me the tournament for outcome of winner and score of 4-6 6-3 10-5 Context: CREATE TABLE table_name_90 (tournament VARCHAR, outcome VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_90 WHERE outcome = "winner" AND score = "4-6 6-3 10-5"</s> |
CREATE TABLE table_name_92 (failures VARCHAR, partial_failures VARCHAR, successes VARCHAR, type VARCHAR) | SELECT COUNT(failures) FROM table_name_92 WHERE successes > 3 AND type = "ariane 5" AND partial_failures > 0 | What's the total failures among rockets that had more than 3 successes, type ariane 5 and more than 0 partial failures? | <s>[INST]What's the total failures among rockets that had more than 3 successes, type ariane 5 and more than 0 partial failures? Context: CREATE TABLE table_name_92 (failures VARCHAR, partial_failures VARCHAR, successes VARCHAR, type VARCHAR)[/INST]SELECT COUNT(failures) FROM table_name_92 WHERE successes > 3 AND type = "ariane 5" AND partial_failures > 0</s> |
CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR) | SELECT example FROM table_name_56 WHERE type = "associative" | What is the example with the associative type? | <s>[INST]What is the example with the associative type? Context: CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR)[/INST]SELECT example FROM table_name_56 WHERE type = "associative"</s> |
CREATE TABLE table_name_89 (grid VARCHAR, laps INTEGER) | SELECT COUNT(grid) FROM table_name_89 WHERE laps > 54 | How many grid numbers had a lap number bigger than 54? | <s>[INST]How many grid numbers had a lap number bigger than 54? Context: CREATE TABLE table_name_89 (grid VARCHAR, laps INTEGER)[/INST]SELECT COUNT(grid) FROM table_name_89 WHERE laps > 54</s> |
CREATE TABLE table_name_52 (game VARCHAR, attendance VARCHAR) | SELECT COUNT(game) FROM table_name_52 WHERE attendance = 19 OFFSET 190 | How many games have an Attendance of 19,190? | <s>[INST]How many games have an Attendance of 19,190? Context: CREATE TABLE table_name_52 (game VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_52 WHERE attendance = 19 OFFSET 190</s> |
CREATE TABLE table_name_35 (episodes INTEGER, actor VARCHAR) | SELECT MIN(episodes) FROM table_name_35 WHERE actor = "anabel barnston" | What is the lowest number of episodes for anabel barnston? | <s>[INST]What is the lowest number of episodes for anabel barnston? Context: CREATE TABLE table_name_35 (episodes INTEGER, actor VARCHAR)[/INST]SELECT MIN(episodes) FROM table_name_35 WHERE actor = "anabel barnston"</s> |
CREATE TABLE table_1341973_6 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341973_6 WHERE incumbent = "John Shelley" | What candidates ran in the election that included john shelley? | <s>[INST]What candidates ran in the election that included john shelley? Context: CREATE TABLE table_1341973_6 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341973_6 WHERE incumbent = "John Shelley"</s> |
CREATE TABLE table_2941848_2 (pregame_analysts VARCHAR, trophy_presentation VARCHAR) | SELECT pregame_analysts FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose" | What is every pregame analyst with Chris Rose as trophy presenter? | <s>[INST]What is every pregame analyst with Chris Rose as trophy presenter? Context: CREATE TABLE table_2941848_2 (pregame_analysts VARCHAR, trophy_presentation VARCHAR)[/INST]SELECT pregame_analysts FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose"</s> |
CREATE TABLE table_name_16 (att_cmp_int VARCHAR, gp_gs VARCHAR, avg_g VARCHAR) | SELECT att_cmp_int FROM table_name_16 WHERE gp_gs = "12" AND avg_g = 174.3 | What is the att-cmp-int that has 12 for the gp-gs and 174.3 as the avg/g? | <s>[INST]What is the att-cmp-int that has 12 for the gp-gs and 174.3 as the avg/g? Context: CREATE TABLE table_name_16 (att_cmp_int VARCHAR, gp_gs VARCHAR, avg_g VARCHAR)[/INST]SELECT att_cmp_int FROM table_name_16 WHERE gp_gs = "12" AND avg_g = 174.3</s> |
CREATE TABLE table_10138926_1 (city VARCHAR) | SELECT 1981 AS _census FROM table_10138926_1 WHERE city = "Livorno" | What's the 1981 census of Livorno? | <s>[INST]What's the 1981 census of Livorno? Context: CREATE TABLE table_10138926_1 (city VARCHAR)[/INST]SELECT 1981 AS _census FROM table_10138926_1 WHERE city = "Livorno"</s> |
CREATE TABLE table_21436373_6 (attendance VARCHAR, type_of_record VARCHAR) | SELECT COUNT(attendance) FROM table_21436373_6 WHERE type_of_record = "Pre-season game" | What is the number of attendance with the pre-season game as the type of record? | <s>[INST]What is the number of attendance with the pre-season game as the type of record? Context: CREATE TABLE table_21436373_6 (attendance VARCHAR, type_of_record VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_21436373_6 WHERE type_of_record = "Pre-season game"</s> |
CREATE TABLE table_name_81 (tonnage INTEGER, name_of_ship VARCHAR) | SELECT AVG(tonnage) FROM table_name_81 WHERE name_of_ship = "proletarij" | What is the average tonnage of the ship named proletarij? | <s>[INST]What is the average tonnage of the ship named proletarij? Context: CREATE TABLE table_name_81 (tonnage INTEGER, name_of_ship VARCHAR)[/INST]SELECT AVG(tonnage) FROM table_name_81 WHERE name_of_ship = "proletarij"</s> |
CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR) | SELECT census_ranking FROM table_170969_2 WHERE area_km_2 = "78.67" | What is the census ranking when the area is 78.67 ? | <s>[INST]What is the census ranking when the area is 78.67 ? Context: CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR)[/INST]SELECT census_ranking FROM table_170969_2 WHERE area_km_2 = "78.67"</s> |
CREATE TABLE table_name_16 (circuit VARCHAR, championship VARCHAR) | SELECT circuit FROM table_name_16 WHERE championship = "2001 nascar winston cup series" | The 2001 NASCAR Winston Cup Series championship has what has a circuit? | <s>[INST]The 2001 NASCAR Winston Cup Series championship has what has a circuit? Context: CREATE TABLE table_name_16 (circuit VARCHAR, championship VARCHAR)[/INST]SELECT circuit FROM table_name_16 WHERE championship = "2001 nascar winston cup series"</s> |
CREATE TABLE table_13416000_3 (first_driver_s_ VARCHAR, country VARCHAR) | SELECT COUNT(first_driver_s_) FROM table_13416000_3 WHERE country = "Canada" | How many entries are there for first driver for Canada? | <s>[INST]How many entries are there for first driver for Canada? Context: CREATE TABLE table_13416000_3 (first_driver_s_ VARCHAR, country VARCHAR)[/INST]SELECT COUNT(first_driver_s_) FROM table_13416000_3 WHERE country = "Canada"</s> |
CREATE TABLE table_name_19 (reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR) | SELECT reserved_instruments FROM table_name_19 WHERE conduct_of_litigation = "yes" AND probate_activities = "yes" | What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is Yes? | <s>[INST]What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is Yes? Context: CREATE TABLE table_name_19 (reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR)[/INST]SELECT reserved_instruments FROM table_name_19 WHERE conduct_of_litigation = "yes" AND probate_activities = "yes"</s> |
CREATE TABLE table_name_93 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_93 WHERE title = "last window: the secret of cape west 3" | Who is the director of Last Window: The Secret of Cape West 3? | <s>[INST]Who is the director of Last Window: The Secret of Cape West 3? Context: CREATE TABLE table_name_93 (director VARCHAR, title VARCHAR)[/INST]SELECT director FROM table_name_93 WHERE title = "last window: the secret of cape west 3"</s> |
CREATE TABLE table_name_71 (team VARCHAR, seasons VARCHAR) | SELECT team FROM table_name_71 WHERE seasons = 3 AND 1984 < 27 | What team had 3 seasons and fewer than 27 in 1984? | <s>[INST]What team had 3 seasons and fewer than 27 in 1984? Context: CREATE TABLE table_name_71 (team VARCHAR, seasons VARCHAR)[/INST]SELECT team FROM table_name_71 WHERE seasons = 3 AND 1984 < 27</s> |
CREATE TABLE table_21530474_1 (region_s_ VARCHAR, chassis_code VARCHAR) | SELECT region_s_ FROM table_21530474_1 WHERE chassis_code = "USF45" | Name the regions for usf45 | <s>[INST]Name the regions for usf45 Context: CREATE TABLE table_21530474_1 (region_s_ VARCHAR, chassis_code VARCHAR)[/INST]SELECT region_s_ FROM table_21530474_1 WHERE chassis_code = "USF45"</s> |
CREATE TABLE table_name_63 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR) | SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_63 WHERE "name" = "name" | What's the HDR Output that has a name of name? | <s>[INST]What's the HDR Output that has a name of name? Context: CREATE TABLE table_name_63 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR)[/INST]SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_63 WHERE "name" = "name"</s> |
CREATE TABLE table_1337525_1 (region_1 VARCHAR, region_4 VARCHAR, complete_series VARCHAR) | SELECT region_1 FROM table_1337525_1 WHERE region_4 = "TBA" AND complete_series = "The Complete Eighth Series" | What is the region 1 where region 4 is tba is the complete eighth series? | <s>[INST]What is the region 1 where region 4 is tba is the complete eighth series? Context: CREATE TABLE table_1337525_1 (region_1 VARCHAR, region_4 VARCHAR, complete_series VARCHAR)[/INST]SELECT region_1 FROM table_1337525_1 WHERE region_4 = "TBA" AND complete_series = "The Complete Eighth Series"</s> |
CREATE TABLE table_name_83 (urban_population__2010_ INTEGER, province VARCHAR) | SELECT MAX(urban_population__2010_) FROM table_name_83 WHERE province = "guangxi" | What is the highest urban population for Guangxi province? | <s>[INST]What is the highest urban population for Guangxi province? Context: CREATE TABLE table_name_83 (urban_population__2010_ INTEGER, province VARCHAR)[/INST]SELECT MAX(urban_population__2010_) FROM table_name_83 WHERE province = "guangxi"</s> |
CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR) | SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar" | What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar? | <s>[INST]What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar? Context: CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR)[/INST]SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar"</s> |
CREATE TABLE table_name_90 (yards INTEGER, player VARCHAR, rec VARCHAR, avg VARCHAR, long VARCHAR) | SELECT AVG(yards) FROM table_name_90 WHERE avg > 7 AND long < 60 AND rec > 19 AND player = "correll buckhalter" | Which Yards has an Avg larger than 7, and a Long smaller than 60, and a Rec larger than 19, and a Player of correll buckhalter? | <s>[INST]Which Yards has an Avg larger than 7, and a Long smaller than 60, and a Rec larger than 19, and a Player of correll buckhalter? Context: CREATE TABLE table_name_90 (yards INTEGER, player VARCHAR, rec VARCHAR, avg VARCHAR, long VARCHAR)[/INST]SELECT AVG(yards) FROM table_name_90 WHERE avg > 7 AND long < 60 AND rec > 19 AND player = "correll buckhalter"</s> |
CREATE TABLE table_name_46 (lyrics__l____music__m_ VARCHAR, artist VARCHAR) | SELECT lyrics__l____music__m_ FROM table_name_46 WHERE artist = "cube" | Who provided lyrics or music to the artist Cube? | <s>[INST]Who provided lyrics or music to the artist Cube? Context: CREATE TABLE table_name_46 (lyrics__l____music__m_ VARCHAR, artist VARCHAR)[/INST]SELECT lyrics__l____music__m_ FROM table_name_46 WHERE artist = "cube"</s> |
CREATE TABLE table_name_72 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) | SELECT dates_administered FROM table_name_72 WHERE lead_margin > 14 AND poll_source = "research 2000" | What were the dates administered when the lead margin was larger than 14 and the poll source was Research 2000? | <s>[INST]What were the dates administered when the lead margin was larger than 14 and the poll source was Research 2000? Context: CREATE TABLE table_name_72 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR)[/INST]SELECT dates_administered FROM table_name_72 WHERE lead_margin > 14 AND poll_source = "research 2000"</s> |
CREATE TABLE table_name_48 (years_for_jazz VARCHAR, player VARCHAR) | SELECT years_for_jazz FROM table_name_48 WHERE player = "milt palacio" | What years does milt palacio play? | <s>[INST]What years does milt palacio play? Context: CREATE TABLE table_name_48 (years_for_jazz VARCHAR, player VARCHAR)[/INST]SELECT years_for_jazz FROM table_name_48 WHERE player = "milt palacio"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.