text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (laps VARCHAR, rider VARCHAR)
Question: What is the total number of Laps, when Ride is Aleix Espargaro?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (laps VARCHAR, rider VARCHAR)
Question: What is the total number of Laps, when Ride is Aleix Espargaro?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE pets (pettype VARCHAR, weight VARCHAR, pet_age VARCHAR)
Question: Find the type and weight of the youngest pet.
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE pets (pettype VARCHAR, weight VARCHAR, pet_age VARCHAR)
Question: Find the type and weight of the youngest pet.
Here is the SQLite query to answer to the question: Find ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (laps VARCHAR, grid VARCHAR)
Question: How many total laps for a grid of 3?
[/INST]
Here is the SQLite query to answer to the question: How many total... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (laps VARCHAR, grid VARCHAR)
Question: How many total laps for a grid of 3?
Here is the SQLite query to answer to the question: How many total laps for a g... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27902171_7 (game INTEGER, score VARCHAR)
Question: Which game had a score of w 95-85?
[/INST]
Here is the SQLite query to answer to the question: Which game h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27902171_7 (game INTEGER, score VARCHAR)
Question: Which game had a score of w 95-85?
Here is the SQLite query to answer to the question: Which game had a score of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27771406_1 (catches INTEGER, player VARCHAR)
Question: How many catches did Clifford McWatt have?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27771406_1 (catches INTEGER, player VARCHAR)
Question: How many catches did Clifford McWatt have?
Here is the SQLite query to answer to the question: How many cat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE address (district VARCHAR)
Question: Which districts have at least two addresses?
[/INST]
Here is the SQLite query to answer to the question: Which districts have a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE address (district VARCHAR)
Question: Which districts have at least two addresses?
Here is the SQLite query to answer to the question: Which districts have at least two a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2409041_4 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: Name the number of airdates for 14
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2409041_4 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: Name the number of airdates for 14
Here is the SQLite query to answer to the question: Name t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (date VARCHAR, opponents_in_the_final VARCHAR)
Question: What is Date, when Opponents In The Final, is Maria-Fernanda Alves Stéphanie Dubois?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (date VARCHAR, opponents_in_the_final VARCHAR)
Question: What is Date, when Opponents In The Final, is Maria-Fernanda Alves Stéphanie Dubois?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (artist VARCHAR, year INTEGER)
Question: Which artist created coins before 2010?
[/INST]
Here is the SQLite query to answer to the question: Which art... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (artist VARCHAR, year INTEGER)
Question: Which artist created coins before 2010?
Here is the SQLite query to answer to the question: Which artist created c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (winner VARCHAR, location VARCHAR, runner_up VARCHAR)
Question: Who is the winner in des moines, iowa where p.h. finkbank was the runner-up?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (winner VARCHAR, location VARCHAR, runner_up VARCHAR)
Question: Who is the winner in des moines, iowa where p.h. finkbank was the runner-up?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (round VARCHAR, record VARCHAR)
Question: What is the Round of the event with a Record of 5-4?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (round VARCHAR, record VARCHAR)
Question: What is the Round of the event with a Record of 5-4?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (company VARCHAR, name VARCHAR, tracking_method VARCHAR, latest_stable_release VARCHAR)
Question: Name the Company which has a Tracking Method of cook... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (company VARCHAR, name VARCHAR, tracking_method VARCHAR, latest_stable_release VARCHAR)
Question: Name the Company which has a Tracking Method of cookies vi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)
Question: What is the score on April 5?
[/INST]
Here is the SQLite query to answer to the question: What is the score on... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)
Question: What is the score on April 5?
Here is the SQLite query to answer to the question: What is the score on April 5?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (ihsaa_football_class VARCHAR, county VARCHAR, school VARCHAR)
Question: Which IHSAA Football Class has a County of 77 sullivan, and a School of union... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (ihsaa_football_class VARCHAR, county VARCHAR, school VARCHAR)
Question: Which IHSAA Football Class has a County of 77 sullivan, and a School of union dugge... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR)
Question: Who is the required actor when Robert Austin was the actor in the original pr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR)
Question: Who is the required actor when Robert Austin was the actor in the original producti... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (Id VARCHAR)
Question: What shows for 1988 when 1994 shows 10–6?
[/INST]
Here is the SQLite query to answer to the question: What shows for 1988 when ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (Id VARCHAR)
Question: What shows for 1988 when 1994 shows 10–6?
Here is the SQLite query to answer to the question: What shows for 1988 when 1994 shows 10... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (co_driver VARCHAR, number VARCHAR, laps VARCHAR, year VARCHAR)
Question: Who was the co-driver for the team with more than 160 laps and the number 6 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (co_driver VARCHAR, number VARCHAR, laps VARCHAR, year VARCHAR)
Question: Who was the co-driver for the team with more than 160 laps and the number 6 after ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (european_election__uk_ VARCHAR, share_of_votes VARCHAR)
Question: Which European election (UK) has a Share of votes of 19%?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (european_election__uk_ VARCHAR, share_of_votes VARCHAR)
Question: Which European election (UK) has a Share of votes of 19%?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (webcast VARCHAR, website VARCHAR)
Question: Which Webcast has the digital1073.com website?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (webcast VARCHAR, website VARCHAR)
Question: Which Webcast has the digital1073.com website?
Here is the SQLite query to answer to the question: Which Webca... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, driver VARCHAR)
Question: Which engine has the entrant scuderia ferrari and is driven by Raymond Sommer?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, driver VARCHAR)
Question: Which engine has the entrant scuderia ferrari and is driven by Raymond Sommer?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15647838_3 (location VARCHAR, stadium VARCHAR)
Question: How many locations have the Sun Life Stadium?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15647838_3 (location VARCHAR, stadium VARCHAR)
Question: How many locations have the Sun Life Stadium?
Here is the SQLite query to answer to the question: How many... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (team VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
Question: I want to know the team that was sacked and date of vacancy was 4 decem... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (team VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
Question: I want to know the team that was sacked and date of vacancy was 4 december
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Addresses (address_id VARCHAR, state_province_county VARCHAR); CREATE TABLE Student_Addresses (monthly_rental VARCHAR, address_id VARCHAR)
Question: What are the mo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Addresses (address_id VARCHAR, state_province_county VARCHAR); CREATE TABLE Student_Addresses (monthly_rental VARCHAR, address_id VARCHAR)
Question: What are the monthly ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (office VARCHAR, democratic_ticket VARCHAR)
Question: Which Office has a Democratic ticket of herbert h. lehman?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (office VARCHAR, democratic_ticket VARCHAR)
Question: Which Office has a Democratic ticket of herbert h. lehman?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (guests VARCHAR, ship_name VARCHAR, crew VARCHAR)
Question: What is the total for guests with a ship name of rv indochina, and a crew smaller than 28?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (guests VARCHAR, ship_name VARCHAR, crew VARCHAR)
Question: What is the total for guests with a ship name of rv indochina, and a crew smaller than 28?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20780285_1 (country_region VARCHAR, title VARCHAR)
Question: What country uses the title Marele Câștigător The Big Winner?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20780285_1 (country_region VARCHAR, title VARCHAR)
Question: What country uses the title Marele Câștigător The Big Winner?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (wins VARCHAR, byes INTEGER)
Question: What is the total number of wins that has byes less than 0?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (wins VARCHAR, byes INTEGER)
Question: What is the total number of wins that has byes less than 0?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (record VARCHAR, high_points VARCHAR, team VARCHAR)
Question: What is Record, when High Points is "Thaddeus Young (19)", and when Team is "@ Orlando"?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (record VARCHAR, high_points VARCHAR, team VARCHAR)
Question: What is Record, when High Points is "Thaddeus Young (19)", and when Team is "@ Orlando"?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE claim_headers (amount_claimed INTEGER, claim_header_id VARCHAR); CREATE TABLE claims_documents (claim_id VARCHAR, created_date VARCHAR); CREATE TABLE claims_documents (c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE claim_headers (amount_claimed INTEGER, claim_header_id VARCHAR); CREATE TABLE claims_documents (claim_id VARCHAR, created_date VARCHAR); CREATE TABLE claims_documents (created... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (year INTEGER, genre VARCHAR)
Question: What is total number of years that has genre of first-person shooter?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (year INTEGER, genre VARCHAR)
Question: What is total number of years that has genre of first-person shooter?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (incumbent VARCHAR, district VARCHAR, results VARCHAR, party VARCHAR)
Question: What is Incumbent, when Results is "Re-Elected", when Party is "Democr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (incumbent VARCHAR, district VARCHAR, results VARCHAR, party VARCHAR)
Question: What is Incumbent, when Results is "Re-Elected", when Party is "Democratic",... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24257833_4 (webkit_version VARCHAR, minor_version VARCHAR)
Question: What is the webkit version when the minor version was 3.1.2.?
[/INST]
Here is the SQLite ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24257833_4 (webkit_version VARCHAR, minor_version VARCHAR)
Question: What is the webkit version when the minor version was 3.1.2.?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (points VARCHAR, date VARCHAR)
Question: How many Points have a Date of march 19, 2009?
[/INST]
Here is the SQLite query to answer to the question: How... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (points VARCHAR, date VARCHAR)
Question: How many Points have a Date of march 19, 2009?
Here is the SQLite query to answer to the question: How many Points ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (played VARCHAR, wins VARCHAR, _percentage_win VARCHAR, losses VARCHAR)
Question: How many Played has a % Win of 50.00%, and Losses of 1, and Wins sma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (played VARCHAR, wins VARCHAR, _percentage_win VARCHAR, losses VARCHAR)
Question: How many Played has a % Win of 50.00%, and Losses of 1, and Wins smaller t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (team VARCHAR, location_attendance VARCHAR, series VARCHAR)
Question: Which Team has a Location Attendance of staples center 18,997, and a Series of 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (team VARCHAR, location_attendance VARCHAR, series VARCHAR)
Question: Which Team has a Location Attendance of staples center 18,997, and a Series of 1–0?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (missing VARCHAR, unit VARCHAR, killed VARCHAR, wounded VARCHAR)
Question: How many of the Royal Waggon Train Unit were Missing while having a Killed ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (missing VARCHAR, unit VARCHAR, killed VARCHAR, wounded VARCHAR)
Question: How many of the Royal Waggon Train Unit were Missing while having a Killed of 0 o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_3 (week_37 VARCHAR, week_33 VARCHAR)
Question: List all week 37 results when week 33 is 14.3%.
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_3 (week_37 VARCHAR, week_33 VARCHAR)
Question: List all week 37 results when week 33 is 14.3%.
Here is the SQLite query to answer to the question: List al... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (team VARCHAR, notes VARCHAR)
Question: WHAT TEAM WAS AN NCAA CHAMPION?
[/INST]
Here is the SQLite query to answer to the question: WHAT TEAM WAS AN N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (team VARCHAR, notes VARCHAR)
Question: WHAT TEAM WAS AN NCAA CHAMPION?
Here is the SQLite query to answer to the question: WHAT TEAM WAS AN NCAA CHAMPION?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (against INTEGER, date VARCHAR)
Question: What's the against on 17/01/1976?
[/INST]
Here is the SQLite query to answer to the question: What's the aga... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (against INTEGER, date VARCHAR)
Question: What's the against on 17/01/1976?
Here is the SQLite query to answer to the question: What's the against on 17/01... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (pl_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR)
Question: What is the sum number of Pl GP when the pick number is 178 and the road number is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (pl_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR)
Question: What is the sum number of Pl GP when the pick number is 178 and the road number is bigge... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2140071_10 (season VARCHAR, premier_date VARCHAR)
Question: Name the season for august 16, 2010
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2140071_10 (season VARCHAR, premier_date VARCHAR)
Question: Name the season for august 16, 2010
Here is the SQLite query to answer to the question: Name the season... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (personal_name VARCHAR); CREATE TABLE Students (personal_name VARCHAR, student_id VARCHAR)
Ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (personal_name VARCHAR); CREATE TABLE Students (personal_name VARCHAR, student_id VARCHAR)
Question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (competition VARCHAR, date VARCHAR)
Question: Who played on December 25, 1925?
[/INST]
Here is the SQLite query to answer to the question: Who played ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (competition VARCHAR, date VARCHAR)
Question: Who played on December 25, 1925?
Here is the SQLite query to answer to the question: Who played on December 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (pinnacle_height_planned VARCHAR, country VARCHAR, name VARCHAR)
Question: How high is the Goldin Finance 117 building currently being build in China?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (pinnacle_height_planned VARCHAR, country VARCHAR, name VARCHAR)
Question: How high is the Goldin Finance 117 building currently being build in China?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342292_2 (incumbent VARCHAR, candidates VARCHAR)
Question: what's the incumbent with candidates being sam hobbs (d) 88.2% c. w. mckay (r) 11.8%
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342292_2 (incumbent VARCHAR, candidates VARCHAR)
Question: what's the incumbent with candidates being sam hobbs (d) 88.2% c. w. mckay (r) 11.8%
Here is the SQLite... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (year INTEGER, album VARCHAR)
Question: What is the total number of Year that has an Album of Remixes?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (year INTEGER, album VARCHAR)
Question: What is the total number of Year that has an Album of Remixes?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (attendance INTEGER, visitor VARCHAR, decision VARCHAR)
Question: What was the average attendance when the decision was price and montreal were the vi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (attendance INTEGER, visitor VARCHAR, decision VARCHAR)
Question: What was the average attendance when the decision was price and montreal were the visitors... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR)
Question: What was the result of the game that was played on 3,4,5 Jul 1902?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR)
Question: What was the result of the game that was played on 3,4,5 Jul 1902?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (player VARCHAR, nationality VARCHAR)
Question: Which player's nationality is from Sweden?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (player VARCHAR, nationality VARCHAR)
Question: Which player's nationality is from Sweden?
Here is the SQLite query to answer to the question: Which player... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18823880_10 (socket VARCHAR, part_number_s_ VARCHAR)
Question: When by80607002907ahbx80607i7720qm is the part number what is the socket?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18823880_10 (socket VARCHAR, part_number_s_ VARCHAR)
Question: When by80607002907ahbx80607i7720qm is the part number what is the socket?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (label VARCHAR, date VARCHAR, catalog VARCHAR)
Question: Which label had a catalog of 54513 in 1988?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (label VARCHAR, date VARCHAR, catalog VARCHAR)
Question: Which label had a catalog of 54513 in 1988?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (pick VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)
Question: Which pick has a Round smaller than 8, and an Overall smaller than 16, and a Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (pick VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)
Question: Which pick has a Round smaller than 8, and an Overall smaller than 16, and a Name of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, player VARCHAR)
Question: Who is the center position of Years for Jazz, Greg Ostertag?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, player VARCHAR)
Question: Who is the center position of Years for Jazz, Greg Ostertag?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (date VARCHAR, winner VARCHAR)
Question: What date did Lanny Wadkins (6) win?
[/INST]
Here is the SQLite query to answer to the question: What date di... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (date VARCHAR, winner VARCHAR)
Question: What date did Lanny Wadkins (6) win?
Here is the SQLite query to answer to the question: What date did Lanny Wadki... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (payout___us$__ VARCHAR, bowl_game VARCHAR)
Question: What was the payout in US dollars at the Insight Bowl?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (payout___us$__ VARCHAR, bowl_game VARCHAR)
Question: What was the payout in US dollars at the Insight Bowl?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19897294_8 (location_s_ VARCHAR, no_overall VARCHAR)
Question: Name the number of locations for uk32
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19897294_8 (location_s_ VARCHAR, no_overall VARCHAR)
Question: Name the number of locations for uk32
Here is the SQLite query to answer to the question: Name the n... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25216791_3 (november_3 VARCHAR, january_15_16 VARCHAR)
Question: What was the data on November 3, if the data on January 15-16 is January 15, 2010?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25216791_3 (november_3 VARCHAR, january_15_16 VARCHAR)
Question: What was the data on November 3, if the data on January 15-16 is January 15, 2010?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (callsign VARCHAR, power__kw_ VARCHAR, location VARCHAR)
Question: What is the callsign of Cagayan de Oro with 5kW?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (callsign VARCHAR, power__kw_ VARCHAR, location VARCHAR)
Question: What is the callsign of Cagayan de Oro with 5kW?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR)
Question: Where was the location where justin robbins fought against billy kidd?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR)
Question: Where was the location where justin robbins fought against billy kidd?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26591309_3 (official_barb_ratings VARCHAR, episode VARCHAR)
Question: What is the BARB ratings of episode 6?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26591309_3 (official_barb_ratings VARCHAR, episode VARCHAR)
Question: What is the BARB ratings of episode 6?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (region VARCHAR, home_venue VARCHAR)
Question: What region has giuseppe sivori as a home venue?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (region VARCHAR, home_venue VARCHAR)
Question: What region has giuseppe sivori as a home venue?
Here is the SQLite query to answer to the question: What re... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668243_18 (result VARCHAR, first_elected VARCHAR)
Question: Name the result for first elected being 1798 1825
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668243_18 (result VARCHAR, first_elected VARCHAR)
Question: Name the result for first elected being 1798 1825
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (Id VARCHAR)
Question: What in 2007 has a 2008 of sf, and a 2010 of f?
[/INST]
Here is the SQLite query to answer to the question: What in 2007 has a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (Id VARCHAR)
Question: What in 2007 has a 2008 of sf, and a 2010 of f?
Here is the SQLite query to answer to the question: What in 2007 has a 2008 of sf, a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15681686_4 (rank__night_ VARCHAR, rating VARCHAR)
Question: what is the rank for the rating 4.4?
[/INST]
Here is the SQLite query to answer to the question: w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15681686_4 (rank__night_ VARCHAR, rating VARCHAR)
Question: what is the rank for the rating 4.4?
Here is the SQLite query to answer to the question: what is the ra... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (date VARCHAR, against VARCHAR, venue VARCHAR)
Question: What is date when against is smaller than 6 and location was durban?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (date VARCHAR, against VARCHAR, venue VARCHAR)
Question: What is date when against is smaller than 6 and location was durban?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27441210_17 (number_one_single_s_ VARCHAR, artist VARCHAR)
Question: What number-one single is performed by artist Pep's?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27441210_17 (number_one_single_s_ VARCHAR, artist VARCHAR)
Question: What number-one single is performed by artist Pep's?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (college VARCHAR, pick__number VARCHAR, player VARCHAR)
Question: Which College has Player Mark Brown and a Pick # greater than 195?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (college VARCHAR, pick__number VARCHAR, player VARCHAR)
Question: Which College has Player Mark Brown and a Pick # greater than 195?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE city (name VARCHAR, county_ID VARCHAR, Police_officers VARCHAR); CREATE TABLE county_public_safety (name VARCHAR, county_ID VARCHAR, Police_officers VARCHAR)
Questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE city (name VARCHAR, county_ID VARCHAR, Police_officers VARCHAR); CREATE TABLE county_public_safety (name VARCHAR, county_ID VARCHAR, Police_officers VARCHAR)
Question: Sh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rating (mID VARCHAR, stars INTEGER); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
Question: What are the titles of all movies that have rating star is between 3 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rating (mID VARCHAR, stars INTEGER); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
Question: What are the titles of all movies that have rating star is between 3 and 5?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, opponent VARCHAR)
Question: What is Date, when Opponent is "Chicago Stags"?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, opponent VARCHAR)
Question: What is Date, when Opponent is "Chicago Stags"?
Here is the SQLite query to answer to the question: What is Date... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14747043_1 (class_aA VARCHAR, school_year VARCHAR)
Question: How many class AA in the year 2002-03
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14747043_1 (class_aA VARCHAR, school_year VARCHAR)
Question: How many class AA in the year 2002-03
Here is the SQLite query to answer to the question: How many cla... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (score VARCHAR, player VARCHAR)
Question: What is Score, when Player is "Vijay Singh"?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (score VARCHAR, player VARCHAR)
Question: What is Score, when Player is "Vijay Singh"?
Here is the SQLite query to answer to the question: What is Score, w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12792876_4 (tries_against VARCHAR)
Question: Name the tries against for drawn
[/INST]
Here is the SQLite query to answer to the question: Name the tries again... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12792876_4 (tries_against VARCHAR)
Question: Name the tries against for drawn
Here is the SQLite query to answer to the question: Name the tries against for drawn:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_247955_2 (to_par VARCHAR, runner_s__up VARCHAR)
Question: What is the total number of to par when runner-up was Jonathan Kaye?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_247955_2 (to_par VARCHAR, runner_s__up VARCHAR)
Question: What is the total number of to par when runner-up was Jonathan Kaye?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (party VARCHAR, results VARCHAR, first_elected VARCHAR)
Question: What is the party for the representative who was first elected before 2002 and the re... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (party VARCHAR, results VARCHAR, first_elected VARCHAR)
Question: What is the party for the representative who was first elected before 2002 and the results ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1473672_3 (college_junior_club_team VARCHAR, player VARCHAR)
Question: Which colle/junior/club team did Michel Boudreau play for?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1473672_3 (college_junior_club_team VARCHAR, player VARCHAR)
Question: Which colle/junior/club team did Michel Boudreau play for?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (category VARCHAR, nominee VARCHAR)
Question: In what category is Carmen Salinas nominated?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (category VARCHAR, nominee VARCHAR)
Question: In what category is Carmen Salinas nominated?
Here is the SQLite query to answer to the question: In what cat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (loser VARCHAR, weight_division VARCHAR, time VARCHAR)
Question: Who was the loser of the heavyweight division fight that lasted a time of 2:24?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (loser VARCHAR, weight_division VARCHAR, time VARCHAR)
Question: Who was the loser of the heavyweight division fight that lasted a time of 2:24?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (previous_conference VARCHAR, school VARCHAR)
Question: The school of Portage was in what conference previous?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (previous_conference VARCHAR, school VARCHAR)
Question: The school of Portage was in what conference previous?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_41 (candidates VARCHAR, first_elected VARCHAR)
Question: When 1984 is the first elected who are the candidates?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_41 (candidates VARCHAR, first_elected VARCHAR)
Question: When 1984 is the first elected who are the candidates?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (qual_2 VARCHAR, best VARCHAR)
Question: What is the qual 2 with a 1:10.949 best?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (qual_2 VARCHAR, best VARCHAR)
Question: What is the qual 2 with a 1:10.949 best?
Here is the SQLite query to answer to the question: What is the qual 2 wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (to_par VARCHAR, player VARCHAR)
Question: What was Ben Hogan's par?
[/INST]
Here is the SQLite query to answer to the question: What was Ben Hogan's ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (to_par VARCHAR, player VARCHAR)
Question: What was Ben Hogan's par?
Here is the SQLite query to answer to the question: What was Ben Hogan's par?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (ground VARCHAR, opponent VARCHAR)
Question: On which ground did the team play Aston Villa?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (ground VARCHAR, opponent VARCHAR)
Question: On which ground did the team play Aston Villa?
Here is the SQLite query to answer to the question: On which gr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (host VARCHAR, state VARCHAR, venue VARCHAR)
Question: What was the host of the round in the Montagne Center in Texas?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (host VARCHAR, state VARCHAR, venue VARCHAR)
Question: What was the host of the round in the Montagne Center in Texas?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (team VARCHAR, high_points VARCHAR)
Question: What is Team, when High Points is "Rashard Lewis , Mickaël Piétrus (17)"?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (team VARCHAR, high_points VARCHAR)
Question: What is Team, when High Points is "Rashard Lewis , Mickaël Piétrus (17)"?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_6 (manhattan VARCHAR, staten_island VARCHAR)
Question: What was the total number in Manhattan when Staten Island was 12,658?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_6 (manhattan VARCHAR, staten_island VARCHAR)
Question: What was the total number in Manhattan when Staten Island was 12,658?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR)
Question: Which Prothrombin time has a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR)
Question: Which Prothrombin time has a Platel... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE artist (Famous_Release_date VARCHAR, Age VARCHAR)
Question: What is the famous release date of the artist with the oldest age?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE artist (Famous_Release_date VARCHAR, Age VARCHAR)
Question: What is the famous release date of the artist with the oldest age?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR)
Question: How many production stage managers worked with secretary Rachel Hartmann?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR)
Question: How many production stage managers worked with secretary Rachel Hartmann?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (original_name VARCHAR, designer VARCHAR, location VARCHAR)
Question: What is the original name of the place by designer Glen Peloso with a Location of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (original_name VARCHAR, designer VARCHAR, location VARCHAR)
Question: What is the original name of the place by designer Glen Peloso with a Location of n/a?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (netscape VARCHAR, firefox VARCHAR)
Question: What percentage of users were using Netscape during the period in which 21.67% were using Firefox?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (netscape VARCHAR, firefox VARCHAR)
Question: What percentage of users were using Netscape during the period in which 21.67% were using Firefox?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR)
Question: What is Player, when Score is "76-73-73=222"?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR)
Question: What is Player, when Score is "76-73-73=222"?
Here is the SQLite query to answer to the question: What is Player,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (second_member VARCHAR, year VARCHAR, first_member VARCHAR)
Question: Who is the second member more recently than 1790 when John Williams is the first... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (second_member VARCHAR, year VARCHAR, first_member VARCHAR)
Question: Who is the second member more recently than 1790 when John Williams is the first membe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (tournament_or_series VARCHAR, points_for___tests__ VARCHAR, played_in VARCHAR, games_played___tests__ VARCHAR)
Question: What tournament or series wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (tournament_or_series VARCHAR, points_for___tests__ VARCHAR, played_in VARCHAR, games_played___tests__ VARCHAR)
Question: What tournament or series was play... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (attendance INTEGER, game VARCHAR, score VARCHAR)
Question: Which Attendance has a Game score less than 3, and a Score of 2 – 5?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (attendance INTEGER, game VARCHAR, score VARCHAR)
Question: Which Attendance has a Game score less than 3, and a Score of 2 – 5?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR)
Question: What college did the player come from whose position is DL?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR)
Question: What college did the player come from whose position is DL?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (foreign_population INTEGER, population__2004_ INTEGER)
Question: Which Foreign population has a Population (2004) larger than 234733?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (foreign_population INTEGER, population__2004_ INTEGER)
Question: Which Foreign population has a Population (2004) larger than 234733?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (position VARCHAR, pick VARCHAR)
Question: What is the position of pick 32?
[/INST]
Here is the SQLite query to answer to the question: What is the po... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (position VARCHAR, pick VARCHAR)
Question: What is the position of pick 32?
Here is the SQLite query to answer to the question: What is the position of pic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (nominated_won VARCHAR, award_category VARCHAR)
Question: What was nominated for the Jury Award?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (nominated_won VARCHAR, award_category VARCHAR)
Question: What was nominated for the Jury Award?
Here is the SQLite query to answer to the question: What w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR)
Question: What Position has a Player named kenneth udjus?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR)
Question: What Position has a Player named kenneth udjus?
Here is the SQLite query to answer to the question: What Posit... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.