text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the animals name when the genus/species is rattus norvegicus?
### Context:
CREATE TABLE table_15417439_1 (common_name VARCHAR, genus_species VARCHAR) [/INST]
### Response:
SELECT common_name FROM table_15417439_1 WHERE genus_species = "Rattus norvegicus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For the genus/species arabidopsis thaliana, what are the lengths?
### Context:
CREATE TABLE table_15417439_1 (length VARCHAR, genus_species VARCHAR) [/INST]
### Response:
SELECT length FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many original air dates were there for episode 17?
### Context:
CREATE TABLE table_15430813_1 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT COUNT(original_air_date) FROM table_15430813_1 WHERE no_in_season = 17 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which company was based in London, United Kingdom?
### Context:
CREATE TABLE table_15438337_1 (institution VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT institution FROM table_15438337_1 WHERE country = "London, United Kingdom" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the original air date of Stargate SG-1 written by Peter Deluise?
### Context:
CREATE TABLE table_15431959_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_15431959_1 WHERE written_by = "Peter DeLuise" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many seasons did Peter Deluise direct Stargate SG-1?
### Context:
CREATE TABLE table_15431959_1 (no_in_season INTEGER, directed_by VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_15431959_1 WHERE directed_by = "Peter DeLuise" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the fifth district for william womer
### Context:
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR) [/INST]
### Response:
SELECT fifth_district FROM table_15442974_1 WHERE third_district = "William Womer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the third district for christine young
### Context:
CREATE TABLE table_15442974_1 (third_district VARCHAR, fifth_district VARCHAR) [/INST]
### Response:
SELECT third_district FROM table_15442974_1 WHERE fifth_district = "Christine Young" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the fourth district for joan runnels
### Context:
CREATE TABLE table_15442974_1 (fourth_district VARCHAR, second_district VARCHAR) [/INST]
### Response:
SELECT fourth_district FROM table_15442974_1 WHERE second_district = "Joan Runnels" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the fourth district for beverly bodem
### Context:
CREATE TABLE table_15442974_1 (fourth_district VARCHAR, first_district VARCHAR) [/INST]
### Response:
SELECT fourth_district FROM table_15442974_1 WHERE first_district = "Beverly Bodem" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number for fifth district for richard houskamp
### Context:
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR) [/INST]
### Response:
SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = "Richard Houskamp" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the fifth district for steve rudoni
### Context:
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, fourth_district VARCHAR) [/INST]
### Response:
SELECT fifth_district FROM table_15442974_1 WHERE fourth_district = "Steve Rudoni" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the location when the stolen ends is 12 and shot pct is 77%?
### Context:
CREATE TABLE table_1543845_63 (locale VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR) [/INST]
### Response:
SELECT locale FROM table_1543845_63 WHERE stolen_ends = 12 AND shot_pct = "77%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many stolen ends were there when the locale was Sweden?
### Context:
CREATE TABLE table_1543845_63 (stolen_ends VARCHAR, locale VARCHAR, Sweden VARCHAR) [/INST]
### Response:
SELECT stolen_ends FROM table_1543845_63 WHERE locale = Sweden </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the school/club team whose season was in 2012 and were acquired via trade?
### Context:
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, season VARCHAR, acquisition_via VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_15463188_17 WHERE season = "2012" AND acquisition_via = "Trade" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which school/club team has a player named Mark Sanford?
### Context:
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_15463188_17 WHERE name = "Mark Sanford" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many school/club teams have a player named Manuel Luis Quezon?
### Context:
CREATE TABLE table_15463188_17 (number VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(number) FROM table_15463188_17 WHERE school_club_team = "Manuel Luis Quezon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many players are listed for the school/club team Washington?
### Context:
CREATE TABLE table_15463188_17 (name VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(name) FROM table_15463188_17 WHERE school_club_team = "Washington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many players with a position are listed for the 2009 season?
### Context:
CREATE TABLE table_15463188_17 (position VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_15463188_17 WHERE season = "2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the school/club for guard
### Context:
CREATE TABLE table_15463188_1 (school_club_team VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_15463188_1 WHERE position = "Guard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the position for judy-ann ramirez
### Context:
CREATE TABLE table_15463188_1 (position VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT position FROM table_15463188_1 WHERE name = "judy-ann ramirez" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the losing bonus for the team with a point difference of -99?
### Context:
CREATE TABLE table_15467476_3 (losing_bonus VARCHAR, points_difference VARCHAR) [/INST]
### Response:
SELECT losing_bonus FROM table_15467476_3 WHERE points_difference = "-99" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games played for teams with 277 points?
### Context:
CREATE TABLE table_15467476_3 (played VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT played FROM table_15467476_3 WHERE points_for = "277" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games won for teams with 49 tries against?
### Context:
CREATE TABLE table_15467476_3 (won VARCHAR, tries_against VARCHAR) [/INST]
### Response:
SELECT won FROM table_15467476_3 WHERE tries_against = "49" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many teams have 62 tries against?
### Context:
CREATE TABLE table_15467476_3 (points_difference VARCHAR, tries_against VARCHAR) [/INST]
### Response:
SELECT COUNT(points_difference) FROM table_15467476_3 WHERE tries_against = "62" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many tries for, for club cambrian welfare rfc?
### Context:
CREATE TABLE table_15467476_3 (tries_for VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT tries_for FROM table_15467476_3 WHERE club = "Cambrian Welfare RFC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many teams have 21 tries for?
### Context:
CREATE TABLE table_15467476_3 (points_difference VARCHAR, tries_for VARCHAR) [/INST]
### Response:
SELECT COUNT(points_difference) FROM table_15467476_3 WHERE tries_for = "21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many chassis used number 34?
### Context:
CREATE TABLE table_15491596_1 (chassis VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT COUNT(chassis) FROM table_15491596_1 WHERE no = 34 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the constructor of car 22?
### Context:
CREATE TABLE table_15491596_1 (constructor VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_15491596_1 WHERE no = 22 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many cars used number 48?
### Context:
CREATE TABLE table_15491596_1 (engine VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT COUNT(engine) FROM table_15491596_1 WHERE no = 48 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who drove car 44?
### Context:
CREATE TABLE table_15491596_1 (driver VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT driver FROM table_15491596_1 WHERE no = 44 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of years where runner-up and championship is us open
### Context:
CREATE TABLE table_1547951_3 (year VARCHAR, outcome VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_1547951_3 WHERE outcome = "Runner-up" AND championship = "US Open" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the surfaace where outcome is runner-up and championship is us open
### Context:
CREATE TABLE table_1547951_3 (surface VARCHAR, outcome VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT surface FROM table_1547951_3 WHERE outcome = "Runner-up" AND championship = "US Open" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the partner for mark woodforde martina navratilova
### Context:
CREATE TABLE table_1547951_3 (partner VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT partner FROM table_1547951_3 WHERE opponents = "Mark Woodforde Martina Navratilova" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the score for rick leach zina garrison
### Context:
CREATE TABLE table_1547951_3 (score VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT score FROM table_1547951_3 WHERE opponents = "Rick Leach Zina Garrison" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the swimsuit for arizona
### Context:
CREATE TABLE table_15532342_2 (swimsuit VARCHAR, state VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_15532342_2 WHERE state = "Arizona" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the driver for race 2 7
### Context:
CREATE TABLE table_15530244_5 (driver VARCHAR, race_2 VARCHAR) [/INST]
### Response:
SELECT driver FROM table_15530244_5 WHERE race_2 = "7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of qualifiying for race 3 being 3
### Context:
CREATE TABLE table_15530244_5 (qualifying VARCHAR, race_3 VARCHAR) [/INST]
### Response:
SELECT COUNT(qualifying) FROM table_15530244_5 WHERE race_3 = "3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the driver for race 2 2
### Context:
CREATE TABLE table_15530244_5 (driver VARCHAR, race_2 VARCHAR) [/INST]
### Response:
SELECT driver FROM table_15530244_5 WHERE race_2 = "2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the race 1 when race 3 is 8
### Context:
CREATE TABLE table_15530244_5 (race_1 VARCHAR, race_3 VARCHAR) [/INST]
### Response:
SELECT race_1 FROM table_15530244_5 WHERE race_3 = "8" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the race 2 for james winslow
### Context:
CREATE TABLE table_15530244_5 (race_2 VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT race_2 FROM table_15530244_5 WHERE driver = "James Winslow" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of positions for race 1 being 2
### Context:
CREATE TABLE table_15530244_5 (pos VARCHAR, race_1 VARCHAR) [/INST]
### Response:
SELECT COUNT(pos) FROM table_15530244_5 WHERE race_1 = "2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Did the race get reported where the winning team was Newman Wachs racing and the pole belonged to Carl Skerlong
### Context:
CREATE TABLE table_15511178_3 (report VARCHAR, pole_position VARCHAR, winning_team VARCHAR) [/INST]
### Response:
SELECT report FROM table_15511178_3 WHERE pole_position = "Carl Skerlong" AND winning_team = "Newman Wachs Racing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Did the round 8 race get reported
### Context:
CREATE TABLE table_15511178_3 (report VARCHAR, rd VARCHAR) [/INST]
### Response:
SELECT report FROM table_15511178_3 WHERE rd = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which race was the winning team mathiasen motorsports and the pole belonged to jonathan bomarito
### Context:
CREATE TABLE table_15511178_3 (race VARCHAR, winning_team VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT race FROM table_15511178_3 WHERE winning_team = "Mathiasen Motorsports" AND pole_position = "Jonathan Bomarito" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many winners were in round 8
### Context:
CREATE TABLE table_15511178_3 (winning_driver VARCHAR, rd VARCHAR) [/INST]
### Response:
SELECT COUNT(winning_driver) FROM table_15511178_3 WHERE rd = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What channel tv (dt) plays the KPIX station?
### Context:
CREATE TABLE table_1553485_1 (channel_tv___dt__ VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT channel_tv___dt__ FROM table_1553485_1 WHERE station = "KPIX" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which city of license/market has 3 (26) as their channel tv (dt)?
### Context:
CREATE TABLE table_1553485_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR) [/INST]
### Response:
SELECT city_of_license__market FROM table_1553485_1 WHERE channel_tv___dt__ = "3 (26)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which channel tv (dt) plays in San Francisco - Oakland - San Jose?
### Context:
CREATE TABLE table_1553485_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR) [/INST]
### Response:
SELECT channel_tv___dt__ FROM table_1553485_1 WHERE city_of_license__market = "San Francisco - Oakland - San Jose" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many years has station KPIX been owned?
### Context:
CREATE TABLE table_1553485_1 (years_owned VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT COUNT(years_owned) FROM table_1553485_1 WHERE station = "KPIX" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who currently affiliates in San Francisco - Oakland - San Jose?
### Context:
CREATE TABLE table_1553485_1 (current_affiliation VARCHAR, city_of_license__market VARCHAR) [/INST]
### Response:
SELECT current_affiliation FROM table_1553485_1 WHERE city_of_license__market = "San Francisco - Oakland - San Jose" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In which condition(s) is bleeding time prolonged and prothrombin time unaffected?
### Context:
CREATE TABLE table_1555308_1 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR) [/INST]
### Response:
SELECT condition FROM table_1555308_1 WHERE bleeding_time = "Prolonged" AND prothrombin_time = "Unaffected" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many entries for prothrombin time are there where platelet count is "decreased or unaffected"?
### Context:
CREATE TABLE table_1555308_1 (prothrombin_time VARCHAR, platelet_count VARCHAR) [/INST]
### Response:
SELECT COUNT(prothrombin_time) FROM table_1555308_1 WHERE platelet_count = "Decreased or unaffected" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How is the bleeding time wherein platelet count is decreased and prothrombin time is unaffected?
### Context:
CREATE TABLE table_1555308_1 (bleeding_time VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR) [/INST]
### Response:
SELECT bleeding_time FROM table_1555308_1 WHERE platelet_count = "Decreased" AND prothrombin_time = "Unaffected" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are all the possible bleeding time results where prothrombin time and platelet count are both unaffected?
### Context:
CREATE TABLE table_1555308_1 (bleeding_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR) [/INST]
### Response:
SELECT bleeding_time FROM table_1555308_1 WHERE prothrombin_time = "Unaffected" AND platelet_count = "Unaffected" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the percentage of land area in the ecozone that the percentage protected is 7.96?
### Context:
CREATE TABLE table_15555661_2 (percentage_of_land_area VARCHAR, percentage_protected VARCHAR) [/INST]
### Response:
SELECT percentage_of_land_area FROM table_15555661_2 WHERE percentage_protected = "7.96" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the percentage of total area in the ecozone that the percentage of land area is 2.2?
### Context:
CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, percentage_of_land_area VARCHAR) [/INST]
### Response:
SELECT percentage_of_total_area FROM table_15555661_2 WHERE percentage_of_land_area = "2.2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the percentage of total area in the ecozone that the percentage protected is 8.06?
### Context:
CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, percentage_protected VARCHAR) [/INST]
### Response:
SELECT percentage_of_total_area FROM table_15555661_2 WHERE percentage_protected = "8.06" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the percentage of land area in the ecozone that the percentage protected is 15.28?
### Context:
CREATE TABLE table_15555661_2 (percentage_of_land_area VARCHAR, percentage_protected VARCHAR) [/INST]
### Response:
SELECT percentage_of_land_area FROM table_15555661_2 WHERE percentage_protected = "15.28" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How large is the Boreal Shield in km2?
### Context:
CREATE TABLE table_15555661_2 (area__km²_ VARCHAR, ecozone VARCHAR) [/INST]
### Response:
SELECT COUNT(area__km²_) FROM table_15555661_2 WHERE ecozone = "Boreal Shield" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the percentage of total area in the ecozone that the area is 1782252 km2?
### Context:
CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, area__km²_ VARCHAR) [/INST]
### Response:
SELECT percentage_of_total_area FROM table_15555661_2 WHERE area__km²_ = 1782252 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the condition of the platelet counts in hemophilia?
### Context:
CREATE TABLE table_1557752_1 (platelet_count VARCHAR, condition VARCHAR) [/INST]
### Response:
SELECT platelet_count FROM table_1557752_1 WHERE condition = "Hemophilia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the prothrombin time in Von willebrand disease?
### Context:
CREATE TABLE table_1557752_1 (prothrombin_time VARCHAR, condition VARCHAR) [/INST]
### Response:
SELECT prothrombin_time FROM table_1557752_1 WHERE condition = "Von Willebrand disease" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
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]
### Response:
SELECT prothrombin_time FROM table_1557752_1 WHERE partial_thromboplastin_time = "Prolonged" AND bleeding_time = "Prolonged" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the bleeding time in Bernard-soulier syndrome?
### Context:
CREATE TABLE table_1557752_1 (bleeding_time VARCHAR, condition VARCHAR) [/INST]
### Response:
SELECT bleeding_time FROM table_1557752_1 WHERE condition = "Bernard-Soulier syndrome" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which ring names are currently ranked f0 jūryō 3 west?
### Context:
CREATE TABLE table_1557974_1 (ring_name VARCHAR, current_rank VARCHAR) [/INST]
### Response:
SELECT ring_name FROM table_1557974_1 WHERE current_rank = "f0 Jūryō 3 West" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many wrestlers were born in nara, and have a completed 'career and other notes' section?
### Context:
CREATE TABLE table_1557974_1 (career_and_other_notes VARCHAR, birthplace VARCHAR) [/INST]
### Response:
SELECT COUNT(career_and_other_notes) FROM table_1557974_1 WHERE birthplace = "Nara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the debut year for wrestlers born in Nara?
### Context:
CREATE TABLE table_1557974_1 (debut VARCHAR, birthplace VARCHAR) [/INST]
### Response:
SELECT debut FROM table_1557974_1 WHERE birthplace = "Nara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where were the wrestlers born who debuted in 2002-7?
### Context:
CREATE TABLE table_1557974_1 (birthplace VARCHAR, debut VARCHAR) [/INST]
### Response:
SELECT birthplace FROM table_1557974_1 WHERE debut = "2002-7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the career and other notes for wrestlers whose stable is oguruma?
### Context:
CREATE TABLE table_1557974_1 (career_and_other_notes VARCHAR, stable VARCHAR) [/INST]
### Response:
SELECT career_and_other_notes FROM table_1557974_1 WHERE stable = "Oguruma" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the kinship for *t-ina
### Context:
CREATE TABLE table_15568886_14 (kinship VARCHAR, proto_malayo_polynesian VARCHAR) [/INST]
### Response:
SELECT kinship FROM table_15568886_14 WHERE proto_malayo_polynesian = "*t-ina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of proto austronesian for *natu
### Context:
CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, proto_oceanic VARCHAR) [/INST]
### Response:
SELECT COUNT(proto_austronesian) FROM table_15568886_14 WHERE proto_oceanic = "*natu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the ptor-austronesian for father
### Context:
CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, kinship VARCHAR) [/INST]
### Response:
SELECT proto_austronesian FROM table_15568886_14 WHERE kinship = "father" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the proto oceanic for *fafine
### Context:
CREATE TABLE table_15568886_14 (proto_oceanic VARCHAR, proto_polynesian VARCHAR) [/INST]
### Response:
SELECT proto_oceanic FROM table_15568886_14 WHERE proto_polynesian = "*fafine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the proto-austrronesian for *pine, *papine
### Context:
CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, proto_oceanic VARCHAR) [/INST]
### Response:
SELECT proto_austronesian FROM table_15568886_14 WHERE proto_oceanic = "*pine, *papine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name who wrote number 47
### Context:
CREATE TABLE table_15584067_4 (written_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_15584067_4 WHERE no_in_series = 47 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest mass(kg)?
### Context:
CREATE TABLE table_1558077_2 (mass__kg_ INTEGER) [/INST]
### Response:
SELECT MAX(mass__kg_) FROM table_1558077_2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which college did draft pick #143 attend?
### Context:
CREATE TABLE table_15582870_1 (college VARCHAR, choice VARCHAR) [/INST]
### Response:
SELECT college FROM table_15582870_1 WHERE choice = 143 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How heavy were the players who attended Arkansas?
### Context:
CREATE TABLE table_15582870_1 (weight VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT weight FROM table_15582870_1 WHERE college = "Arkansas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which college did the player weighing 207 pounds attend?
### Context:
CREATE TABLE table_15582870_1 (college VARCHAR, weight VARCHAR) [/INST]
### Response:
SELECT college FROM table_15582870_1 WHERE weight = 207 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name who wrote the episode when the viewers was 1.81
### Context:
CREATE TABLE table_15584067_7 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_15584067_7 WHERE us_viewers__million_ = "1.81" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name who directed the 114 episode in the series
### Context:
CREATE TABLE table_15584067_7 (directed_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_15584067_7 WHERE no_in_series = "114" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of air dates for 102 episode
### Context:
CREATE TABLE table_15584067_7 (original_air_date VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT COUNT(original_air_date) FROM table_15584067_7 WHERE no_in_series = "102" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name who wrote the 11 number in the season
### Context:
CREATE TABLE table_15584067_7 (written_by VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_15584067_7 WHERE no_in_season = "11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the award name for black ocean current
### Context:
CREATE TABLE table_15584199_3 (award_name VARCHAR, team_name VARCHAR) [/INST]
### Response:
SELECT award_name FROM table_15584199_3 WHERE team_name = "BLACK OCEAN CURRENT" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position(s) do players from florida state play?
### Context:
CREATE TABLE table_15592941_1 (position VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT position FROM table_15592941_1 WHERE college = "Florida State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much does geno hayes weigh?
### Context:
CREATE TABLE table_15592941_1 (weight VARCHAR, player_name VARCHAR) [/INST]
### Response:
SELECT weight FROM table_15592941_1 WHERE player_name = "Geno Hayes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What college did jeremy zuttah attend?
### Context:
CREATE TABLE table_15592941_1 (college VARCHAR, player_name VARCHAR) [/INST]
### Response:
SELECT college FROM table_15592941_1 WHERE player_name = "Jeremy Zuttah" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the stolen ends equal 5 whats the amount of pa?
### Context:
CREATE TABLE table_15597975_2 (pa INTEGER, stolen_ends VARCHAR) [/INST]
### Response:
SELECT MAX(pa) FROM table_15597975_2 WHERE stolen_ends = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position is the player whose first year is 2014
### Context:
CREATE TABLE table_1560673_1 (position_in_2013 VARCHAR, first_season VARCHAR) [/INST]
### Response:
SELECT position_in_2013 FROM table_1560673_1 WHERE first_season = 2014 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the players position in 2013 who had 29 seasons in the second tier
### Context:
CREATE TABLE table_1560673_1 (position_in_2013 VARCHAR, number_of_seasons_in_second_tier VARCHAR) [/INST]
### Response:
SELECT position_in_2013 FROM table_1560673_1 WHERE number_of_seasons_in_second_tier = "29" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the first season for Syrianska FC
### Context:
CREATE TABLE table_1560673_1 (first_season VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT first_season FROM table_1560673_1 WHERE club = "Syrianska FC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the earliest season recorded for any team
### Context:
CREATE TABLE table_1560673_1 (first_season INTEGER) [/INST]
### Response:
SELECT MIN(first_season) FROM table_1560673_1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of points for october 11
### Context:
CREATE TABLE table_15607589_2 (points_for INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MAX(points_for) FROM table_15607589_2 WHERE date = "October 11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the date for week 9
### Context:
CREATE TABLE table_15607589_2 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_15607589_2 WHERE week = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the points against for november 7
### Context:
CREATE TABLE table_15607589_2 (points_against VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT points_against FROM table_15607589_2 WHERE date = "November 7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the points against for november 14
### Context:
CREATE TABLE table_15607589_2 (points_against VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT points_against FROM table_15607589_2 WHERE date = "November 14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the first downs for points against being 0
### Context:
CREATE TABLE table_15607589_2 (first_downs VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT first_downs FROM table_15607589_2 WHERE points_against = 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the record for new york giants
### Context:
CREATE TABLE table_15607589_2 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_15607589_2 WHERE opponent = "New York Giants" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least purse for 2011
### Context:
CREATE TABLE table_15618241_1 (purse___us INTEGER, year VARCHAR) [/INST]
### Response:
SELECT MIN(purse___us) AS $__ FROM table_15618241_1 WHERE year = 2011 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.