context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_4 (time VARCHAR, ground VARCHAR) | SELECT time FROM table_name_4 WHERE ground = "ghantoot racing and polo club" | What is the time of the Ghantoot Racing and Polo Club? | <s>[INST]What is the time of the Ghantoot Racing and Polo Club? Context: CREATE TABLE table_name_4 (time VARCHAR, ground VARCHAR)[/INST]SELECT time FROM table_name_4 WHERE ground = "ghantoot racing and polo club"</s> |
CREATE TABLE table_name_17 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR) | SELECT MIN(evening_gown) FROM table_name_17 WHERE average < 8.23 AND interview = 8.11 AND swimsuit > 7.84 | What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has? | <s>[INST]What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has? Context: CREATE TABLE table_name_17 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)[/INST]SELECT MIN(evening_gown) FROM table_name_17 ... |
CREATE TABLE table_14962316_9 (recopa_sudamericana_1998 VARCHAR, team VARCHAR) | SELECT recopa_sudamericana_1998 FROM table_14962316_9 WHERE team = "Flamengo" | Did Flamengo play in the Recopa Sudamericana in 1998 | <s>[INST]Did Flamengo play in the Recopa Sudamericana in 1998 Context: CREATE TABLE table_14962316_9 (recopa_sudamericana_1998 VARCHAR, team VARCHAR)[/INST]SELECT recopa_sudamericana_1998 FROM table_14962316_9 WHERE team = "Flamengo"</s> |
CREATE TABLE table_name_33 (result VARCHAR, location VARCHAR) | SELECT result FROM table_name_33 WHERE location = "sopot (pol)" | What was the result of Sopot (pol)? | <s>[INST]What was the result of Sopot (pol)? Context: CREATE TABLE table_name_33 (result VARCHAR, location VARCHAR)[/INST]SELECT result FROM table_name_33 WHERE location = "sopot (pol)"</s> |
CREATE TABLE table_2683116_1 (E VARCHAR, vap VARCHAR, turnout VARCHAR) | SELECT E / vap FROM table_2683116_1 WHERE turnout = "85.7%" | What is the e/vap value for a turnout of exactly 85.7%? | <s>[INST]What is the e/vap value for a turnout of exactly 85.7%? Context: CREATE TABLE table_2683116_1 (E VARCHAR, vap VARCHAR, turnout VARCHAR)[/INST]SELECT E / vap FROM table_2683116_1 WHERE turnout = "85.7%"</s> |
CREATE TABLE table_name_3 (name VARCHAR, stage VARCHAR) | SELECT name FROM table_name_3 WHERE stage = "ss11" | What is the Name of the SS11 Stage? | <s>[INST]What is the Name of the SS11 Stage? Context: CREATE TABLE table_name_3 (name VARCHAR, stage VARCHAR)[/INST]SELECT name FROM table_name_3 WHERE stage = "ss11"</s> |
CREATE TABLE table_name_28 (date VARCHAR, result VARCHAR, venue VARCHAR) | SELECT date FROM table_name_28 WHERE result = "draw" AND venue = "lord's" | What Date had a Result of draw, and a Venue of lord's? | <s>[INST]What Date had a Result of draw, and a Venue of lord's? Context: CREATE TABLE table_name_28 (date VARCHAR, result VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE result = "draw" AND venue = "lord's"</s> |
CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_83 WHERE date = "june 29" | what was the score on june 29? | <s>[INST]what was the score on june 29? Context: CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_83 WHERE date = "june 29"</s> |
CREATE TABLE track (name VARCHAR, seating VARCHAR, year_opened INTEGER) | SELECT name, seating FROM track WHERE year_opened > 2000 ORDER BY seating | Show names and seatings, ordered by seating for all tracks opened after 2000. | <s>[INST]Show names and seatings, ordered by seating for all tracks opened after 2000. Context: CREATE TABLE track (name VARCHAR, seating VARCHAR, year_opened INTEGER)[/INST]SELECT name, seating FROM track WHERE year_opened > 2000 ORDER BY seating</s> |
CREATE TABLE table_name_59 (points VARCHAR, lost VARCHAR, points_against VARCHAR) | SELECT points FROM table_name_59 WHERE lost = "13" AND points_against = "461" | How many points did the club with 13 losses and 461 points against have? | <s>[INST]How many points did the club with 13 losses and 461 points against have? Context: CREATE TABLE table_name_59 (points VARCHAR, lost VARCHAR, points_against VARCHAR)[/INST]SELECT points FROM table_name_59 WHERE lost = "13" AND points_against = "461"</s> |
CREATE TABLE table_name_98 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_98 WHERE team_2 = "ulisses" | What is the team 1 when Ulisses is team 2? | <s>[INST]What is the team 1 when Ulisses is team 2? Context: CREATE TABLE table_name_98 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_98 WHERE team_2 = "ulisses"</s> |
CREATE TABLE table_name_41 (total_apps INTEGER, total_goals VARCHAR, fa_cup_goals VARCHAR) | SELECT AVG(total_apps) FROM table_name_41 WHERE total_goals = 0 AND fa_cup_goals > 0 | It has fa cup goals larger than 0 and total goals of 0, what is the average total apps? | <s>[INST]It has fa cup goals larger than 0 and total goals of 0, what is the average total apps? Context: CREATE TABLE table_name_41 (total_apps INTEGER, total_goals VARCHAR, fa_cup_goals VARCHAR)[/INST]SELECT AVG(total_apps) FROM table_name_41 WHERE total_goals = 0 AND fa_cup_goals > 0</s> |
CREATE TABLE table_256286_19 (meas_num VARCHAR, _percentage_yes VARCHAR) | SELECT meas_num FROM table_256286_19 WHERE _percentage_yes = "58.29%" | What numbered measure had a 58.29% yes%? | <s>[INST]What numbered measure had a 58.29% yes%? Context: CREATE TABLE table_256286_19 (meas_num VARCHAR, _percentage_yes VARCHAR)[/INST]SELECT meas_num FROM table_256286_19 WHERE _percentage_yes = "58.29%"</s> |
CREATE TABLE table_name_5 (pick__number INTEGER, position VARCHAR, round VARCHAR) | SELECT MAX(pick__number) FROM table_name_5 WHERE position = "defensive tackle" AND round < 7 | Before round 7, what is the greatest Pick # for a player that plays defensive tackle? | <s>[INST]Before round 7, what is the greatest Pick # for a player that plays defensive tackle? Context: CREATE TABLE table_name_5 (pick__number INTEGER, position VARCHAR, round VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_5 WHERE position = "defensive tackle" AND round < 7</s> |
CREATE TABLE table_name_73 (home_team VARCHAR, state VARCHAR) | SELECT home_team FROM table_name_73 WHERE state = "berlin" | Who is the home team for the stadium located in Berlin? | <s>[INST]Who is the home team for the stadium located in Berlin? Context: CREATE TABLE table_name_73 (home_team VARCHAR, state VARCHAR)[/INST]SELECT home_team FROM table_name_73 WHERE state = "berlin"</s> |
CREATE TABLE table_name_14 (births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR) | SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = "na" AND natural_growth < 2.5 | What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5? | <s>[INST]What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5? Context: CREATE TABLE table_name_14 (births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR)[/INST]SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = "na" AND... |
CREATE TABLE table_20142629_2 (fowler INTEGER) | SELECT MAX(fowler) FROM table_20142629_2 | What is tops for Folwer? | <s>[INST]What is tops for Folwer? Context: CREATE TABLE table_20142629_2 (fowler INTEGER)[/INST]SELECT MAX(fowler) FROM table_20142629_2</s> |
CREATE TABLE table_name_59 (captain VARCHAR, kit_manufacturer VARCHAR, manager VARCHAR) | SELECT captain FROM table_name_59 WHERE kit_manufacturer = "pony" AND manager = "harry redknapp" | Who is the captain for the manufacturer Pony, and the manager Harry Redknapp? | <s>[INST]Who is the captain for the manufacturer Pony, and the manager Harry Redknapp? Context: CREATE TABLE table_name_59 (captain VARCHAR, kit_manufacturer VARCHAR, manager VARCHAR)[/INST]SELECT captain FROM table_name_59 WHERE kit_manufacturer = "pony" AND manager = "harry redknapp"</s> |
CREATE TABLE table_name_12 (opponent VARCHAR, week INTEGER) | SELECT opponent FROM table_name_12 WHERE week > 13 | Who is the opponent for the game that occurred after week 13? | <s>[INST]Who is the opponent for the game that occurred after week 13? Context: CREATE TABLE table_name_12 (opponent VARCHAR, week INTEGER)[/INST]SELECT opponent FROM table_name_12 WHERE week > 13</s> |
CREATE TABLE table_name_76 (name__english_ VARCHAR, location VARCHAR) | SELECT name__english_ FROM table_name_76 WHERE location = "chester" | What is the English Name of the Location in Chester? | <s>[INST]What is the English Name of the Location in Chester? Context: CREATE TABLE table_name_76 (name__english_ VARCHAR, location VARCHAR)[/INST]SELECT name__english_ FROM table_name_76 WHERE location = "chester"</s> |
CREATE TABLE table_15187735_16 (segment_a VARCHAR, netflix VARCHAR) | SELECT segment_a FROM table_15187735_16 WHERE netflix = "S08E21" | Whats the name of segment in s08e21 | <s>[INST]Whats the name of segment in s08e21 Context: CREATE TABLE table_15187735_16 (segment_a VARCHAR, netflix VARCHAR)[/INST]SELECT segment_a FROM table_15187735_16 WHERE netflix = "S08E21"</s> |
CREATE TABLE table_name_22 (season INTEGER, podiums VARCHAR, engine VARCHAR, driver VARCHAR) | SELECT MAX(season) FROM table_name_22 WHERE engine = "ferrari" AND driver = "fernando alonso" AND podiums > 13 | What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine? | <s>[INST]What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine? Context: CREATE TABLE table_name_22 (season INTEGER, podiums VARCHAR, engine VARCHAR, driver VARCHAR)[/INST]SELECT MAX(season) FROM table_name_22 WHERE engine = "ferrari" AND driver = "fernando alonso" ... |
CREATE TABLE table_name_45 (position VARCHAR, round VARCHAR, pick__number VARCHAR) | SELECT position FROM table_name_45 WHERE round > 3 AND pick__number = 238 | Which position has a pick # of 238 and a round above 3? | <s>[INST]Which position has a pick # of 238 and a round above 3? Context: CREATE TABLE table_name_45 (position VARCHAR, round VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_name_45 WHERE round > 3 AND pick__number = 238</s> |
CREATE TABLE table_24937583_1 (races__starts_ VARCHAR, points__dropped_points_ VARCHAR) | SELECT races__starts_ FROM table_24937583_1 WHERE points__dropped_points_ = "18" | What were the starts when the points dropped 18? | <s>[INST]What were the starts when the points dropped 18? Context: CREATE TABLE table_24937583_1 (races__starts_ VARCHAR, points__dropped_points_ VARCHAR)[/INST]SELECT races__starts_ FROM table_24937583_1 WHERE points__dropped_points_ = "18"</s> |
CREATE TABLE city (city VARCHAR, regional_population VARCHAR) | SELECT city FROM city ORDER BY regional_population DESC LIMIT 3 | Which three cities have the largest regional population? | <s>[INST]Which three cities have the largest regional population? Context: CREATE TABLE city (city VARCHAR, regional_population VARCHAR)[/INST]SELECT city FROM city ORDER BY regional_population DESC LIMIT 3</s> |
CREATE TABLE table_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR) | SELECT event_date FROM table_28003469_1 WHERE event_day = "Sunday" AND starting_time = "9:30 am" | What is every event date on Sunday with a starting time of 9:30 am? | <s>[INST]What is every event date on Sunday with a starting time of 9:30 am? Context: CREATE TABLE table_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR)[/INST]SELECT event_date FROM table_28003469_1 WHERE event_day = "Sunday" AND starting_time = "9:30 am"</s> |
CREATE TABLE table_26387382_1 (year_operational INTEGER, location__county_ VARCHAR, capacity__mw_ VARCHAR) | SELECT MIN(year_operational) FROM table_26387382_1 WHERE location__county_ = "Fayette" AND capacity__mw_ = "46" | What year was Fayette operational at 46? | <s>[INST]What year was Fayette operational at 46? Context: CREATE TABLE table_26387382_1 (year_operational INTEGER, location__county_ VARCHAR, capacity__mw_ VARCHAR)[/INST]SELECT MIN(year_operational) FROM table_26387382_1 WHERE location__county_ = "Fayette" AND capacity__mw_ = "46"</s> |
CREATE TABLE table_name_13 (race VARCHAR, time VARCHAR) | SELECT race FROM table_name_13 WHERE time = "01:46:59.69" | Which race ended with a time of 01:46:59.69? | <s>[INST]Which race ended with a time of 01:46:59.69? Context: CREATE TABLE table_name_13 (race VARCHAR, time VARCHAR)[/INST]SELECT race FROM table_name_13 WHERE time = "01:46:59.69"</s> |
CREATE TABLE table_name_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR) | SELECT MIN(year) FROM table_name_67 WHERE type = "lp" AND catalog__number = "ual 24033" | What is the earliest year catalog # ual 24033 had an LP? | <s>[INST]What is the earliest year catalog # ual 24033 had an LP? Context: CREATE TABLE table_name_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR)[/INST]SELECT MIN(year) FROM table_name_67 WHERE type = "lp" AND catalog__number = "ual 24033"</s> |
CREATE TABLE table_name_63 (left_office VARCHAR, political_party VARCHAR, took_office VARCHAR) | SELECT left_office FROM table_name_63 WHERE political_party = "ba'ath party ( syria region )" AND took_office = "7 march 1958" | What is Left Office, when Political Party is Ba'ath Party ( Syria Region ), and when Took Office is 7 March 1958? | <s>[INST]What is Left Office, when Political Party is Ba'ath Party ( Syria Region ), and when Took Office is 7 March 1958? Context: CREATE TABLE table_name_63 (left_office VARCHAR, political_party VARCHAR, took_office VARCHAR)[/INST]SELECT left_office FROM table_name_63 WHERE political_party = "ba'ath party ( syria reg... |
CREATE TABLE table_name_20 (family_relations VARCHAR, throne_name VARCHAR) | SELECT family_relations FROM table_name_20 WHERE throne_name = "303" | What are the family relations of the king with the throne name 303? | <s>[INST]What are the family relations of the king with the throne name 303? Context: CREATE TABLE table_name_20 (family_relations VARCHAR, throne_name VARCHAR)[/INST]SELECT family_relations FROM table_name_20 WHERE throne_name = "303"</s> |
CREATE TABLE table_name_40 (third VARCHAR, runner_up VARCHAR, edition VARCHAR) | SELECT third FROM table_name_40 WHERE runner_up = "paris saint-germain" AND edition < 5 | I want to know the third with runner of paris saint-germain and edition less than 5 | <s>[INST]I want to know the third with runner of paris saint-germain and edition less than 5 Context: CREATE TABLE table_name_40 (third VARCHAR, runner_up VARCHAR, edition VARCHAR)[/INST]SELECT third FROM table_name_40 WHERE runner_up = "paris saint-germain" AND edition < 5</s> |
CREATE TABLE table_19495707_1 (license VARCHAR, application VARCHAR) | SELECT license FROM table_19495707_1 WHERE application = "E-on Vue" | Name the license for e-on vue | <s>[INST]Name the license for e-on vue Context: CREATE TABLE table_19495707_1 (license VARCHAR, application VARCHAR)[/INST]SELECT license FROM table_19495707_1 WHERE application = "E-on Vue"</s> |
CREATE TABLE table_250309_1 (production__latest_figures_ VARCHAR, parent_company VARCHAR) | SELECT production__latest_figures_ FROM table_250309_1 WHERE parent_company = "Ariel" | what is the production where the parent company is ariel? | <s>[INST]what is the production where the parent company is ariel? Context: CREATE TABLE table_250309_1 (production__latest_figures_ VARCHAR, parent_company VARCHAR)[/INST]SELECT production__latest_figures_ FROM table_250309_1 WHERE parent_company = "Ariel"</s> |
CREATE TABLE Dogs (name VARCHAR, age VARCHAR, weight VARCHAR, abandoned_yn VARCHAR) | SELECT name, age, weight FROM Dogs WHERE abandoned_yn = 1 | List the dog name, age and weight of the dogs who have been abandoned? 1 stands for yes, and 0 stands for no. | <s>[INST]List the dog name, age and weight of the dogs who have been abandoned? 1 stands for yes, and 0 stands for no. Context: CREATE TABLE Dogs (name VARCHAR, age VARCHAR, weight VARCHAR, abandoned_yn VARCHAR)[/INST]SELECT name, age, weight FROM Dogs WHERE abandoned_yn = 1</s> |
CREATE TABLE table_name_36 (pre_1009_province VARCHAR, post_1009_province VARCHAR) | SELECT pre_1009_province FROM table_name_36 WHERE post_1009_province = "donggye" | Which Pre-1009 province has a Post-1009 province of donggye? | <s>[INST]Which Pre-1009 province has a Post-1009 province of donggye? Context: CREATE TABLE table_name_36 (pre_1009_province VARCHAR, post_1009_province VARCHAR)[/INST]SELECT pre_1009_province FROM table_name_36 WHERE post_1009_province = "donggye"</s> |
CREATE TABLE table_name_84 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_84 WHERE score = 73 - 65 - 73 - 71 = 282 | WHAT IS THE PLACE WITH A SCORE OF 73-65-73-71=282? | <s>[INST]WHAT IS THE PLACE WITH A SCORE OF 73-65-73-71=282? Context: CREATE TABLE table_name_84 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_84 WHERE score = 73 - 65 - 73 - 71 = 282</s> |
CREATE TABLE table_name_14 (game INTEGER, opponent VARCHAR) | SELECT MAX(game) FROM table_name_14 WHERE opponent = "@ pittsburgh penguins" | Which Game has an Opponent of @ pittsburgh penguins? | <s>[INST]Which Game has an Opponent of @ pittsburgh penguins? Context: CREATE TABLE table_name_14 (game INTEGER, opponent VARCHAR)[/INST]SELECT MAX(game) FROM table_name_14 WHERE opponent = "@ pittsburgh penguins"</s> |
CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) | SELECT position FROM table_29626583_1 WHERE affiliation = "University of North Carolina Carolina Dynamo" | What is the position for the university of north carolina carolina dynamo affiliation | <s>[INST]What is the position for the university of north carolina carolina dynamo affiliation Context: CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR)[/INST]SELECT position FROM table_29626583_1 WHERE affiliation = "University of North Carolina Carolina Dynamo"</s> |
CREATE TABLE table_name_3 (Id VARCHAR) | SELECT 2002 FROM table_name_3 WHERE 1994 = "a" AND 1989 = "nme" AND 1999 = "2r" | What shows for 202 when the 1994 is A, the 1989 is NME, and the 199 is 2R? | <s>[INST]What shows for 202 when the 1994 is A, the 1989 is NME, and the 199 is 2R? Context: CREATE TABLE table_name_3 (Id VARCHAR)[/INST]SELECT 2002 FROM table_name_3 WHERE 1994 = "a" AND 1989 = "nme" AND 1999 = "2r"</s> |
CREATE TABLE table_name_90 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_90 WHERE home_team = "carlton" | When the Home team was Carlton, what was the Away team score? | <s>[INST]When the Home team was Carlton, what was the Away team score? Context: CREATE TABLE table_name_90 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_90 WHERE home_team = "carlton"</s> |
CREATE TABLE table_2618113_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_2618113_1 WHERE production_code = "K0122" | Who directed k0122? | <s>[INST]Who directed k0122? Context: CREATE TABLE table_2618113_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_2618113_1 WHERE production_code = "K0122"</s> |
CREATE TABLE table_name_6 (Id VARCHAR) | SELECT AVG(2007) FROM table_name_6 WHERE 2009 < 20 AND 2006 = 2.8 | What is the average 2007 value for a 2006 of 2.8 and 2009 under 20? | <s>[INST]What is the average 2007 value for a 2006 of 2.8 and 2009 under 20? Context: CREATE TABLE table_name_6 (Id VARCHAR)[/INST]SELECT AVG(2007) FROM table_name_6 WHERE 2009 < 20 AND 2006 = 2.8</s> |
CREATE TABLE table_name_15 (silver VARCHAR, year VARCHAR) | SELECT silver FROM table_name_15 WHERE year = 1982 | Who won silver in 1982? | <s>[INST]Who won silver in 1982? Context: CREATE TABLE table_name_15 (silver VARCHAR, year VARCHAR)[/INST]SELECT silver FROM table_name_15 WHERE year = 1982</s> |
CREATE TABLE table_name_45 (rank INTEGER, name VARCHAR, games VARCHAR) | SELECT SUM(rank) FROM table_name_45 WHERE name = "will solomon" AND games > 21 | What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21? | <s>[INST]What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21? Context: CREATE TABLE table_name_45 (rank INTEGER, name VARCHAR, games VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_45 WHERE name = "will solomon" AND games > 21</s> |
CREATE TABLE table_16072430_1 (timeslot VARCHAR, air_date VARCHAR) | SELECT timeslot FROM table_16072430_1 WHERE air_date = "February 22, 2008" | What are the timeslot(s) for broadcast on February 22, 2008? | <s>[INST]What are the timeslot(s) for broadcast on February 22, 2008? Context: CREATE TABLE table_16072430_1 (timeslot VARCHAR, air_date VARCHAR)[/INST]SELECT timeslot FROM table_16072430_1 WHERE air_date = "February 22, 2008"</s> |
CREATE TABLE table_name_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) | SELECT partial_thromboplastin_time FROM table_name_1 WHERE prothrombin_time = "prolonged" AND bleeding_time = "unaffected" AND condition = "vitamin k deficiency or warfarin" | Which Partial thromboplastin time has a Prothrombin time of prolonged, and a Bleeding time of unaffected, and a Condition of vitamin k deficiency or warfarin? Question 6 | <s>[INST]Which Partial thromboplastin time has a Prothrombin time of prolonged, and a Bleeding time of unaffected, and a Condition of vitamin k deficiency or warfarin? Question 6 Context: CREATE TABLE table_name_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)[... |
CREATE TABLE table_name_47 (macedonian_population_in_vojvodina VARCHAR) | SELECT COUNT(1961) FROM table_name_47 WHERE macedonian_population_in_vojvodina = "plandište" AND 1981 > 1027 | What is the total 1961 number of the plandište Macedonian population with a 1981 value greater than 1027? | <s>[INST]What is the total 1961 number of the plandište Macedonian population with a 1981 value greater than 1027? Context: CREATE TABLE table_name_47 (macedonian_population_in_vojvodina VARCHAR)[/INST]SELECT COUNT(1961) FROM table_name_47 WHERE macedonian_population_in_vojvodina = "plandište" AND 1981 > 1027</s> |
CREATE TABLE table_name_96 (winning_driver VARCHAR, winning_constructor VARCHAR) | SELECT winning_driver FROM table_name_96 WHERE winning_constructor = "o.m." | Which driver won when o.m. was the winning constructor ? | <s>[INST]Which driver won when o.m. was the winning constructor ? Context: CREATE TABLE table_name_96 (winning_driver VARCHAR, winning_constructor VARCHAR)[/INST]SELECT winning_driver FROM table_name_96 WHERE winning_constructor = "o.m."</s> |
CREATE TABLE table_name_90 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR) | SELECT max_torque_at_rpm FROM table_name_90 WHERE engine_code_s_ = "bmm" | What is the maximum torque at rpm for the engine with code BMM? | <s>[INST]What is the maximum torque at rpm for the engine with code BMM? Context: CREATE TABLE table_name_90 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)[/INST]SELECT max_torque_at_rpm FROM table_name_90 WHERE engine_code_s_ = "bmm"</s> |
CREATE TABLE teachers (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) | SELECT T2.firstname, T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "EVELINA" AND T1.lastname = "BROMLEY" | Find the first and last name of all the teachers that teach EVELINA BROMLEY. | <s>[INST]Find the first and last name of all the teachers that teach EVELINA BROMLEY. Context: CREATE TABLE teachers (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)[/INST]SELECT T2.firstname, T2.lastname FROM list AS T1 JOIN teachers A... |
CREATE TABLE table_name_96 (laps VARCHAR, driver VARCHAR) | SELECT laps FROM table_name_96 WHERE driver = "olivier panis" | How many laps does olivier panis have? | <s>[INST]How many laps does olivier panis have? Context: CREATE TABLE table_name_96 (laps VARCHAR, driver VARCHAR)[/INST]SELECT laps FROM table_name_96 WHERE driver = "olivier panis"</s> |
CREATE TABLE table_name_93 (score INTEGER, player VARCHAR) | SELECT MAX(score) FROM table_name_93 WHERE player = "bernhard langer" | What was Bernhard Langer's highest score? | <s>[INST]What was Bernhard Langer's highest score? Context: CREATE TABLE table_name_93 (score INTEGER, player VARCHAR)[/INST]SELECT MAX(score) FROM table_name_93 WHERE player = "bernhard langer"</s> |
CREATE TABLE table_18600760_3 (land___sqmi__ VARCHAR, latitude VARCHAR) | SELECT land___sqmi__ FROM table_18600760_3 WHERE latitude = "48.763937" | What was the land area in sqmi that has a latitude of 48.763937? | <s>[INST]What was the land area in sqmi that has a latitude of 48.763937? Context: CREATE TABLE table_18600760_3 (land___sqmi__ VARCHAR, latitude VARCHAR)[/INST]SELECT land___sqmi__ FROM table_18600760_3 WHERE latitude = "48.763937"</s> |
CREATE TABLE table_12744399_1 (genre VARCHAR, english_title_translation VARCHAR) | SELECT genre FROM table_12744399_1 WHERE english_title_translation = "Fever Ranma ½: Hot Springs Athletic Chapter" | What's the genre of Fever Ranma ½: Hot Springs Athletic Chapter? | <s>[INST]What's the genre of Fever Ranma ½: Hot Springs Athletic Chapter? Context: CREATE TABLE table_12744399_1 (genre VARCHAR, english_title_translation VARCHAR)[/INST]SELECT genre FROM table_12744399_1 WHERE english_title_translation = "Fever Ranma ½: Hot Springs Athletic Chapter"</s> |
CREATE TABLE table_name_47 (portfolio_attachment VARCHAR, age_at_appointment VARCHAR, chinese_name VARCHAR) | SELECT portfolio_attachment FROM table_name_47 WHERE age_at_appointment = 48 AND chinese_name = "梁鳳儀" | What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀? | <s>[INST]What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀? Context: CREATE TABLE table_name_47 (portfolio_attachment VARCHAR, age_at_appointment VARCHAR, chinese_name VARCHAR)[/INST]SELECT portfolio_attachment FROM table_name_47 WHERE age_at_appointment = 48 AND chin... |
CREATE TABLE table_name_17 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR) | SELECT position FROM table_name_17 WHERE overall < 410 AND round < 5 AND school_club_team = "oklahoma state" | What position and school/club team of Oklahoma state has an overall less than 410 and a round smaller than 5? | <s>[INST]What position and school/club team of Oklahoma state has an overall less than 410 and a round smaller than 5? Context: CREATE TABLE table_name_17 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)[/INST]SELECT position FROM table_name_17 WHERE overall < 410 AND round < 5 AND school_cl... |
CREATE TABLE table_name_31 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_31 WHERE away_team = "st kilda" | On what date is St Kilda the away team? | <s>[INST]On what date is St Kilda the away team? Context: CREATE TABLE table_name_31 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE away_team = "st kilda"</s> |
CREATE TABLE table_name_4 (total VARCHAR) | SELECT 2009 FROM table_name_4 WHERE 2000 = "–" AND total = 3 AND 2004 = "9th" | What shows for 209 when the 2000 is –, and a Total of 3, and a 2004 of 9th? | <s>[INST]What shows for 209 when the 2000 is –, and a Total of 3, and a 2004 of 9th? Context: CREATE TABLE table_name_4 (total VARCHAR)[/INST]SELECT 2009 FROM table_name_4 WHERE 2000 = "–" AND total = 3 AND 2004 = "9th"</s> |
CREATE TABLE table_name_11 (losses VARCHAR, draws INTEGER) | SELECT COUNT(losses) FROM table_name_11 WHERE draws > 0 | What is the sum of losses when draws are larger than 0? | <s>[INST]What is the sum of losses when draws are larger than 0? Context: CREATE TABLE table_name_11 (losses VARCHAR, draws INTEGER)[/INST]SELECT COUNT(losses) FROM table_name_11 WHERE draws > 0</s> |
CREATE TABLE advisor (s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR) | SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id = T2.id WHERE T2.dept_name = 'History' | What is the id of the instructor who advises of all students from History department? | <s>[INST]What is the id of the instructor who advises of all students from History department? Context: CREATE TABLE advisor (s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR)[/INST]SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id = T2.id WHERE T2.dept_name = 'History'</s> |
CREATE TABLE table_name_26 (foreign_population INTEGER, population__2004_ INTEGER) | SELECT AVG(foreign_population) FROM table_name_26 WHERE population__2004_ > 234733 | Which Foreign population has a Population (2004) larger than 234733? | <s>[INST]Which Foreign population has a Population (2004) larger than 234733? Context: CREATE TABLE table_name_26 (foreign_population INTEGER, population__2004_ INTEGER)[/INST]SELECT AVG(foreign_population) FROM table_name_26 WHERE population__2004_ > 234733</s> |
CREATE TABLE table_name_14 (time___et__ VARCHAR, week VARCHAR) | SELECT time___et__ FROM table_name_14 WHERE week = 5 | What time was the game during week 5? | <s>[INST]What time was the game during week 5? Context: CREATE TABLE table_name_14 (time___et__ VARCHAR, week VARCHAR)[/INST]SELECT time___et__ FROM table_name_14 WHERE week = 5</s> |
CREATE TABLE table_name_84 (total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR) | SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16 | What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16? | <s>[INST]What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16? Context: CREATE TABLE table_name_84 (total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR)[/INST]SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16</s... |
CREATE TABLE table_name_33 (goals VARCHAR, result VARCHAR) | SELECT goals FROM table_name_33 WHERE result = "12 – 0" | How many goals have a Result of 12 – 0? | <s>[INST]How many goals have a Result of 12 – 0? Context: CREATE TABLE table_name_33 (goals VARCHAR, result VARCHAR)[/INST]SELECT goals FROM table_name_33 WHERE result = "12 – 0"</s> |
CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR) | SELECT railway FROM table_15608800_2 WHERE class = "J19" | Name the railway when class is j19 | <s>[INST]Name the railway when class is j19 Context: CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR)[/INST]SELECT railway FROM table_15608800_2 WHERE class = "J19"</s> |
CREATE TABLE table_name_84 (bodyweight INTEGER, snatch INTEGER) | SELECT MIN(bodyweight) FROM table_name_84 WHERE snatch < 55 | What lowest Bodyweight has a Snatch smaller than 55? | <s>[INST]What lowest Bodyweight has a Snatch smaller than 55? Context: CREATE TABLE table_name_84 (bodyweight INTEGER, snatch INTEGER)[/INST]SELECT MIN(bodyweight) FROM table_name_84 WHERE snatch < 55</s> |
CREATE TABLE table_name_93 (year INTEGER, edition VARCHAR, winner VARCHAR) | SELECT SUM(year) FROM table_name_93 WHERE edition > 4 AND winner = "new york red bulls" | I want the sum of year for edition more than 4 and winners of new york red bulls | <s>[INST]I want the sum of year for edition more than 4 and winners of new york red bulls Context: CREATE TABLE table_name_93 (year INTEGER, edition VARCHAR, winner VARCHAR)[/INST]SELECT SUM(year) FROM table_name_93 WHERE edition > 4 AND winner = "new york red bulls"</s> |
CREATE TABLE shop (Open_Date VARCHAR, Open_Year VARCHAR, Shop_Name VARCHAR) | SELECT Open_Date, Open_Year FROM shop WHERE Shop_Name = "Apple" | List the open date of open year of the shop named "Apple". | <s>[INST]List the open date of open year of the shop named "Apple". Context: CREATE TABLE shop (Open_Date VARCHAR, Open_Year VARCHAR, Shop_Name VARCHAR)[/INST]SELECT Open_Date, Open_Year FROM shop WHERE Shop_Name = "Apple"</s> |
CREATE TABLE table_name_37 (team VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT team FROM table_name_37 WHERE drawn = 1 AND lost = 2 | Which team has 1 as the drawn, with 2 as the lost? | <s>[INST]Which team has 1 as the drawn, with 2 as the lost? Context: CREATE TABLE table_name_37 (team VARCHAR, drawn VARCHAR, lost VARCHAR)[/INST]SELECT team FROM table_name_37 WHERE drawn = 1 AND lost = 2</s> |
CREATE TABLE table_20468206_1 (obama_number INTEGER, mccain_number VARCHAR) | SELECT MAX(obama_number) FROM table_20468206_1 WHERE mccain_number = 29266 | Name the most abama number for mccain being 29266 | <s>[INST]Name the most abama number for mccain being 29266 Context: CREATE TABLE table_20468206_1 (obama_number INTEGER, mccain_number VARCHAR)[/INST]SELECT MAX(obama_number) FROM table_20468206_1 WHERE mccain_number = 29266</s> |
CREATE TABLE table_name_39 (game VARCHAR, platform_s_ VARCHAR, year VARCHAR) | SELECT game FROM table_name_39 WHERE platform_s_ = "playstation 3" AND year < 2009 | What is the Game that came out before the year 2009 for the Playstation 3? | <s>[INST]What is the Game that came out before the year 2009 for the Playstation 3? Context: CREATE TABLE table_name_39 (game VARCHAR, platform_s_ VARCHAR, year VARCHAR)[/INST]SELECT game FROM table_name_39 WHERE platform_s_ = "playstation 3" AND year < 2009</s> |
CREATE TABLE table_1342218_43 (candidates VARCHAR, result VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342218_43 WHERE result = "Re-elected" AND district = "Texas 7" | What candidate has a result of being re-elected in the Texas 7 District? | <s>[INST]What candidate has a result of being re-elected in the Texas 7 District? Context: CREATE TABLE table_1342218_43 (candidates VARCHAR, result VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342218_43 WHERE result = "Re-elected" AND district = "Texas 7"</s> |
CREATE TABLE table_name_26 (winner VARCHAR, runner_up VARCHAR) | SELECT winner FROM table_name_26 WHERE runner_up = "both teams awarded championship after a draw." | What team was the winner when the runner-up shows both teams awarded championship after a draw.? | <s>[INST]What team was the winner when the runner-up shows both teams awarded championship after a draw.? Context: CREATE TABLE table_name_26 (winner VARCHAR, runner_up VARCHAR)[/INST]SELECT winner FROM table_name_26 WHERE runner_up = "both teams awarded championship after a draw."</s> |
CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_99 WHERE home = "platense" | What is the date for the game where Platense was the home side? | <s>[INST]What is the date for the game where Platense was the home side? Context: CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_99 WHERE home = "platense"</s> |
CREATE TABLE table_1213511_2 (position VARCHAR, college_junior_club_team VARCHAR) | SELECT position FROM table_1213511_2 WHERE college_junior_club_team = "Peterborough Petes (OHA)" | What position does the player from Peterborough Petes (OHA) play on? | <s>[INST]What position does the player from Peterborough Petes (OHA) play on? Context: CREATE TABLE table_1213511_2 (position VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT position FROM table_1213511_2 WHERE college_junior_club_team = "Peterborough Petes (OHA)"</s> |
CREATE TABLE table_27487712_1 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_27487712_1 WHERE district = "Georgia's 8th" | Who was the incumbent from georgia's 8th district? | <s>[INST]Who was the incumbent from georgia's 8th district? Context: CREATE TABLE table_27487712_1 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_27487712_1 WHERE district = "Georgia's 8th"</s> |
CREATE TABLE Lessons (customer_id VARCHAR, lesson_status_code VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR) | SELECT COUNT(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Rylan" AND T2.last_name = "Goodwin" AND T1.lesson_status_code = "Completed" | How many lessons taken by customer with first name as Rylan and last name as Goodwin were completed? | <s>[INST]How many lessons taken by customer with first name as Rylan and last name as Goodwin were completed? Context: CREATE TABLE Lessons (customer_id VARCHAR, lesson_status_code VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT COUNT(*) FROM Lessons AS T1 JOIN... |
CREATE TABLE table_21133193_1 (gdp_per_capita__us INTEGER, languages VARCHAR) | SELECT MAX(gdp_per_capita__us) AS $_ FROM table_21133193_1 WHERE languages = "Latvian" | Name the most gdp per capita latvian | <s>[INST]Name the most gdp per capita latvian Context: CREATE TABLE table_21133193_1 (gdp_per_capita__us INTEGER, languages VARCHAR)[/INST]SELECT MAX(gdp_per_capita__us) AS $_ FROM table_21133193_1 WHERE languages = "Latvian"</s> |
CREATE TABLE table_21330550_2 (winner VARCHAR, challenge_leader VARCHAR) | SELECT winner FROM table_21330550_2 WHERE challenge_leader = "BigTen (2-1)" | Who is the winner when bigten (2-1) is the challenge leader? | <s>[INST]Who is the winner when bigten (2-1) is the challenge leader? Context: CREATE TABLE table_21330550_2 (winner VARCHAR, challenge_leader VARCHAR)[/INST]SELECT winner FROM table_21330550_2 WHERE challenge_leader = "BigTen (2-1)"</s> |
CREATE TABLE table_name_14 (fs VARCHAR, sp INTEGER, name VARCHAR, rank VARCHAR) | SELECT AVG(sp) + fs FROM table_name_14 WHERE name = "denise biellmann" AND rank > 5 | What is the average SP+FS for Denise Biellmann, and a Rank larger than 5? | <s>[INST]What is the average SP+FS for Denise Biellmann, and a Rank larger than 5? Context: CREATE TABLE table_name_14 (fs VARCHAR, sp INTEGER, name VARCHAR, rank VARCHAR)[/INST]SELECT AVG(sp) + fs FROM table_name_14 WHERE name = "denise biellmann" AND rank > 5</s> |
CREATE TABLE table_19342760_1 (cause_of_destruction VARCHAR, name VARCHAR) | SELECT cause_of_destruction FROM table_19342760_1 WHERE name = "Temple of Artemis at Ephesus" | How was the Temple of Artemis at Ephesus destroyed? | <s>[INST]How was the Temple of Artemis at Ephesus destroyed? Context: CREATE TABLE table_19342760_1 (cause_of_destruction VARCHAR, name VARCHAR)[/INST]SELECT cause_of_destruction FROM table_19342760_1 WHERE name = "Temple of Artemis at Ephesus"</s> |
CREATE TABLE table_name_69 (company VARCHAR, price_in_usd VARCHAR) | SELECT company FROM table_name_69 WHERE price_in_usd = "free / negotiable" | Name the Company which has a Price in USD of free / negotiable? | <s>[INST]Name the Company which has a Price in USD of free / negotiable? Context: CREATE TABLE table_name_69 (company VARCHAR, price_in_usd VARCHAR)[/INST]SELECT company FROM table_name_69 WHERE price_in_usd = "free / negotiable"</s> |
CREATE TABLE table_24100843_1 (tdp VARCHAR, socket VARCHAR, processor VARCHAR) | SELECT tdp FROM table_24100843_1 WHERE socket = "BGA956" AND processor = "Penryn-3M" | When the socket is bga956 and processor is penryn-3m, what is the tdp? | <s>[INST]When the socket is bga956 and processor is penryn-3m, what is the tdp? Context: CREATE TABLE table_24100843_1 (tdp VARCHAR, socket VARCHAR, processor VARCHAR)[/INST]SELECT tdp FROM table_24100843_1 WHERE socket = "BGA956" AND processor = "Penryn-3M"</s> |
CREATE TABLE races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR) | SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Australian Grand Prix" INTERSECT SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = ... | Find the id and forenames of drivers who participated both the races with name Australian Grand Prix and the races with name Chinese Grand Prix? | <s>[INST]Find the id and forenames of drivers who participated both the races with name Australian Grand Prix and the races with name Chinese Grand Prix? Context: CREATE TABLE races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid ... |
CREATE TABLE table_14342210_2 (position VARCHAR, player VARCHAR) | SELECT position FROM table_14342210_2 WHERE player = "Shorts" | Name the position for shorts | <s>[INST]Name the position for shorts Context: CREATE TABLE table_14342210_2 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_14342210_2 WHERE player = "Shorts"</s> |
CREATE TABLE table_name_79 (Box VARCHAR, score VARCHAR) | SELECT Box AS score FROM table_name_79 WHERE score = "103-101" | What is the box score type for the game that has a score of 103-101? | <s>[INST]What is the box score type for the game that has a score of 103-101? Context: CREATE TABLE table_name_79 (Box VARCHAR, score VARCHAR)[/INST]SELECT Box AS score FROM table_name_79 WHERE score = "103-101"</s> |
CREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR) | SELECT party FROM table_name_36 WHERE candidate = "grech louis grech" | Which party's candidate is Grech Louis Grech? | <s>[INST]Which party's candidate is Grech Louis Grech? Context: CREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR)[/INST]SELECT party FROM table_name_36 WHERE candidate = "grech louis grech"</s> |
CREATE TABLE table_name_66 (outcome VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR) | SELECT outcome FROM table_name_66 WHERE partner = "mark dickson" AND opponents_in_the_final = "hans gildemeister belus prajoux" | Which outcome has a partner named Mark Dickson, with the opponents of Hans Gildemeister Belus Prajoux? | <s>[INST]Which outcome has a partner named Mark Dickson, with the opponents of Hans Gildemeister Belus Prajoux? Context: CREATE TABLE table_name_66 (outcome VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_name_66 WHERE partner = "mark dickson" AND opponents_in_the_final = "hans... |
CREATE TABLE table_26801821_1 (production_code VARCHAR, no_in_series VARCHAR) | SELECT production_code FROM table_26801821_1 WHERE no_in_series = 5 | What is the production code for the number 5 series ? | <s>[INST]What is the production code for the number 5 series ? Context: CREATE TABLE table_26801821_1 (production_code VARCHAR, no_in_series VARCHAR)[/INST]SELECT production_code FROM table_26801821_1 WHERE no_in_series = 5</s> |
CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, games VARCHAR) | SELECT SUM(points) FROM table_name_67 WHERE lost = 0 AND games > 8 | What is the sum of points values that are associated with 0 losses and more than 8 games? | <s>[INST]What is the sum of points values that are associated with 0 losses and more than 8 games? Context: CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, games VARCHAR)[/INST]SELECT SUM(points) FROM table_name_67 WHERE lost = 0 AND games > 8</s> |
CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, driver VARCHAR) | SELECT AVG(grid) FROM table_name_29 WHERE laps > 74 AND driver = "damon hill" | What is the average grid for damon hill with over 74 laps? | <s>[INST]What is the average grid for damon hill with over 74 laps? Context: CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, driver VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_29 WHERE laps > 74 AND driver = "damon hill"</s> |
CREATE TABLE table_name_91 (processors_supported VARCHAR, memory VARCHAR, model VARCHAR) | SELECT processors_supported FROM table_name_91 WHERE memory = "ddr2" AND model = "nforce 550" | What are the processors supported by a ddr2 memory and the nforce 550 model? | <s>[INST]What are the processors supported by a ddr2 memory and the nforce 550 model? Context: CREATE TABLE table_name_91 (processors_supported VARCHAR, memory VARCHAR, model VARCHAR)[/INST]SELECT processors_supported FROM table_name_91 WHERE memory = "ddr2" AND model = "nforce 550"</s> |
CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_73 WHERE away_team = "university" | What is the Date for the Away team University? | <s>[INST]What is the Date for the Away team University? Context: CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_73 WHERE away_team = "university"</s> |
CREATE TABLE table_name_71 (time VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_71 WHERE round < 3 AND opponent = "amanda lavoy" | What was the time for the bout against Amanda Lavoy, which went under 3 rounds? | <s>[INST]What was the time for the bout against Amanda Lavoy, which went under 3 rounds? Context: CREATE TABLE table_name_71 (time VARCHAR, round VARCHAR, opponent VARCHAR)[/INST]SELECT time FROM table_name_71 WHERE round < 3 AND opponent = "amanda lavoy"</s> |
CREATE TABLE table_22815870_1 (original_air_date VARCHAR, prod_code VARCHAR) | SELECT original_air_date FROM table_22815870_1 WHERE prod_code = 105 | What is the original air date of the episode with a production code of 105? | <s>[INST]What is the original air date of the episode with a production code of 105? Context: CREATE TABLE table_22815870_1 (original_air_date VARCHAR, prod_code VARCHAR)[/INST]SELECT original_air_date FROM table_22815870_1 WHERE prod_code = 105</s> |
CREATE TABLE table_1974782_1 (type VARCHAR, location VARCHAR) | SELECT type FROM table_1974782_1 WHERE location = "New London, Connecticut" | What's the type of the school in New London, Connecticut? | <s>[INST]What's the type of the school in New London, Connecticut? Context: CREATE TABLE table_1974782_1 (type VARCHAR, location VARCHAR)[/INST]SELECT type FROM table_1974782_1 WHERE location = "New London, Connecticut"</s> |
CREATE TABLE table_name_46 (rank VARCHAR, city VARCHAR) | SELECT COUNT(rank) FROM table_name_46 WHERE city = "sewri" | What is the rank for the city of sewri? | <s>[INST]What is the rank for the city of sewri? Context: CREATE TABLE table_name_46 (rank VARCHAR, city VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_46 WHERE city = "sewri"</s> |
CREATE TABLE table_12591022_2 (program VARCHAR, focus VARCHAR) | SELECT program FROM table_12591022_2 WHERE focus = "Risk Management and Regulation" | What is the program where the focus is risk management and regulation? | <s>[INST]What is the program where the focus is risk management and regulation? Context: CREATE TABLE table_12591022_2 (program VARCHAR, focus VARCHAR)[/INST]SELECT program FROM table_12591022_2 WHERE focus = "Risk Management and Regulation"</s> |
CREATE TABLE table_10975034_4 (cfl_team VARCHAR, college VARCHAR) | SELECT COUNT(cfl_team) FROM table_10975034_4 WHERE college = "York" | How many CFL teams are from York college? | <s>[INST]How many CFL teams are from York college? Context: CREATE TABLE table_10975034_4 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT COUNT(cfl_team) FROM table_10975034_4 WHERE college = "York"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.