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_47 (score VARCHAR, time VARCHAR)
Question: what is the score when the time is 2:22?
[/INST]
Here is the SQLite query to answer to the question: what 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_47 (score VARCHAR, time VARCHAR)
Question: what is the score when the time is 2:22?
Here is the SQLite query to answer to the question: what is the score when... | 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 (week VARCHAR, away_team VARCHAR, overall_record VARCHAR, home_team VARCHAR, divisional_record VARCHAR)
Question: Can you tell me the Week that has th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (week VARCHAR, away_team VARCHAR, overall_record VARCHAR, home_team VARCHAR, divisional_record VARCHAR)
Question: Can you tell me the Week that has the Home... | 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 (result VARCHAR, order__number VARCHAR, week__number VARCHAR)
Question: What is the Result when the order is # 4, and the week # is top 12?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (result VARCHAR, order__number VARCHAR, week__number VARCHAR)
Question: What is the Result when the order is # 4, and the week # is top 12?
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_74 (team VARCHAR, rank VARCHAR)
Question: Which team is ranked #10?
[/INST]
Here is the SQLite query to answer to the question: Which team is ranked #10?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (team VARCHAR, rank VARCHAR)
Question: Which team is ranked #10?
Here is the SQLite query to answer to the question: Which team is ranked #10?:
```
SELECT ... | 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 dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)
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_17 (visitor VARCHAR, decision VARCHAR, date VARCHAR)
Question: On January 29, who had the decision of Mason?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (visitor VARCHAR, decision VARCHAR, date VARCHAR)
Question: On January 29, who had the decision of Mason?
Here is the SQLite query to answer to the questio... | 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_17 (country VARCHAR, year VARCHAR)
Question: Which county has 2011 as the year?
[/INST]
Here is the SQLite query to answer to the question: Which county ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (country VARCHAR, year VARCHAR)
Question: Which county has 2011 as the year?
Here is the SQLite query to answer to the question: Which county has 2011 as 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_1921_1 (conflict VARCHAR, location VARCHAR)
Question: What is every conflict in Iraq?
[/INST]
Here is the SQLite query to answer to the question: What is ever... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1921_1 (conflict VARCHAR, location VARCHAR)
Question: What is every conflict in Iraq?
Here is the SQLite query to answer to the question: What is every conflict in... | 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_23285849_7 (high_points VARCHAR, score VARCHAR)
Question: Who had the most points in the game where the score was w 97–92 (ot)?
[/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_23285849_7 (high_points VARCHAR, score VARCHAR)
Question: Who had the most points in the game where the score was w 97–92 (ot)?
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_name_6 (record VARCHAR, score VARCHAR, visitor VARCHAR)
Question: When the Vancouver Canucks were visiting, what was the record when the score was 4-2?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (record VARCHAR, score VARCHAR, visitor VARCHAR)
Question: When the Vancouver Canucks were visiting, what was the record when the score was 4-2?
Here is 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_6 (score VARCHAR, points VARCHAR, game VARCHAR)
Question: Which Score has Points of 36, and a Game of 30?
[/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_6 (score VARCHAR, points VARCHAR, game VARCHAR)
Question: Which Score has Points of 36, and a Game of 30?
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_12944805_15 (opponent VARCHAR, game_site VARCHAR)
Question: What is the opponent of the veterans stadium
[/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_12944805_15 (opponent VARCHAR, game_site VARCHAR)
Question: What is the opponent of the veterans stadium
Here is the SQLite query to answer to the question: What i... | 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_54 (country VARCHAR, place VARCHAR, player VARCHAR)
Question: Which country has is Len Mattiace in T10 place?
[/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_54 (country VARCHAR, place VARCHAR, player VARCHAR)
Question: Which country has is Len Mattiace in T10 place?
Here is the SQLite query to answer to the questi... | 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_25429986_1 (distance VARCHAR, position VARCHAR)
Question: what is distance for the 7th position?
[/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_25429986_1 (distance VARCHAR, position VARCHAR)
Question: what is distance for the 7th position?
Here is the SQLite query to answer to the question: what is distan... | 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_97 (score INTEGER, player VARCHAR)
Question: What was Jack Nicklaus's score after round 1?
[/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_97 (score INTEGER, player VARCHAR)
Question: What was Jack Nicklaus's score after round 1?
Here is the SQLite query to answer to the question: What was Jack 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 parties (payment_method_code VARCHAR)
Question: Find the payment method code used by more than 3 parties.
[/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 parties (payment_method_code VARCHAR)
Question: Find the payment method code used by more than 3 parties.
Here is the SQLite query to answer to the question: Find the pa... | 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 (qual VARCHAR, rank VARCHAR)
Question: What was the qual when the rank was 2?
[/INST]
Here is the SQLite query to answer to the question: What was the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (qual VARCHAR, rank VARCHAR)
Question: What was the qual when the rank was 2?
Here is the SQLite query to answer to the question: What was the qual when 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_23 (years VARCHAR, area VARCHAR)
Question: What years does the school have that's in Makikihi?
[/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_23 (years VARCHAR, area VARCHAR)
Question: What years does the school have that's in Makikihi?
Here is the SQLite query to answer to the question: What years ... | 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_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
Question: What won best amiga demo when alto knallo (free electric band) won best pc demo?
[/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_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
Question: What won best amiga demo when alto knallo (free electric band) won best pc demo?
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_80 (venue VARCHAR, date VARCHAR)
Question: What is the venue for the match on 30/03/1985?
[/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_80 (venue VARCHAR, date VARCHAR)
Question: What is the venue for the match on 30/03/1985?
Here is the SQLite query to answer to the question: What is the venu... | 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_23 (record VARCHAR, time VARCHAR)
Question: Which Record has a Time of n/a?
[/INST]
Here is the SQLite query to answer to the question: Which Record has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (record VARCHAR, time VARCHAR)
Question: Which Record has a Time of n/a?
Here is the SQLite query to answer to the question: Which Record has a Time 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_269920_16 (l3_cache__mb_ VARCHAR, speed__ghz_ VARCHAR)
Question: What is the L3 cache for the processor having a speed of 2.93 GHz?
[/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_269920_16 (l3_cache__mb_ VARCHAR, speed__ghz_ VARCHAR)
Question: What is the L3 cache for the processor having a speed of 2.93 GHz?
Here is the SQLite query to ans... | 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_2175685_1 (report VARCHAR, average_speed__mph_ VARCHAR)
Question: What was the report when the average speed (mph) was 87.599?
[/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_2175685_1 (report VARCHAR, average_speed__mph_ VARCHAR)
Question: What was the report when the average speed (mph) was 87.599?
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_58 (game INTEGER, record VARCHAR)
Question: What is the lowest game number when the record was 26-24-9?
[/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_58 (game INTEGER, record VARCHAR)
Question: What is the lowest game number when the record was 26-24-9?
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_31 (total INTEGER, solo INTEGER)
Question: What is the high total for players with over 15 solo tackles?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (total INTEGER, solo INTEGER)
Question: What is the high total for players with over 15 solo tackles?
Here is the SQLite query to answer to the question: 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 basketball_match (school_id VARCHAR)
Question: How many schools are in the basketball match?
[/INST]
Here is the SQLite query to answer to the question: How many sc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE basketball_match (school_id VARCHAR)
Question: How many schools are in the basketball match?
Here is the SQLite query to answer to the question: How many schools are in ... | 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 (date VARCHAR, label VARCHAR)
Question: What date is associated with the label Village Records?
[/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_88 (date VARCHAR, label VARCHAR)
Question: What date is associated with the label Village Records?
Here is the SQLite query to answer to the question: What da... | 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_25 (score VARCHAR, competition VARCHAR)
Question: What was the score of the 1998 FIFA World Cup qualification competition?
[/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_25 (score VARCHAR, competition VARCHAR)
Question: What was the score of the 1998 FIFA World Cup qualification competition?
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_name_70 (grid INTEGER, driver VARCHAR)
Question: What is the average grid for giorgio pantano?
[/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_70 (grid INTEGER, driver VARCHAR)
Question: What is the average grid for giorgio pantano?
Here is the SQLite query to answer to the question: What is the aver... | 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 (date VARCHAR, opponent VARCHAR, result VARCHAR, round VARCHAR)
Question: Which Date has a Result of win, and a Round smaller than 2, and an Opponent ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, result VARCHAR, round VARCHAR)
Question: Which Date has a Result of win, and a Round smaller than 2, and an Opponent of myr... | 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_22360_3 (silver INTEGER, discipline VARCHAR)
Question: Name the silver for baseball
[/INST]
Here is the SQLite query to answer to the question: Name the silve... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22360_3 (silver INTEGER, discipline VARCHAR)
Question: Name the silver for baseball
Here is the SQLite query to answer to the question: Name the silver for basebal... | 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 (position VARCHAR, losses VARCHAR, wins VARCHAR, goals_against VARCHAR)
Question: How many positions have 14 wins, goals against of 61 and fewer than 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (position VARCHAR, losses VARCHAR, wins VARCHAR, goals_against VARCHAR)
Question: How many positions have 14 wins, goals against of 61 and fewer than 19 loss... | 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_79 (score VARCHAR, date VARCHAR)
Question: What was the Score on 25 May 2007?
[/INST]
Here is the SQLite query to answer to the question: What was the Sc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)
Question: What was the Score on 25 May 2007?
Here is the SQLite query to answer to the question: What was the Score on 25 May... | 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_33 (reason_for_termination VARCHAR, chief_judge VARCHAR)
Question: What is the reason the Chief Judge of 1971–1977 was terminated?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (reason_for_termination VARCHAR, chief_judge VARCHAR)
Question: What is the reason the Chief Judge of 1971–1977 was terminated?
Here is the SQLite query 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_name_82 (place VARCHAR, player VARCHAR)
Question: Where is the player Davis Love III?
[/INST]
Here is the SQLite query to answer to the question: Where 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_82 (place VARCHAR, player VARCHAR)
Question: Where is the player Davis Love III?
Here is the SQLite query to answer to the question: Where is the player Davis... | 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_19072602_5 (match_no VARCHAR, team_europe VARCHAR)
Question: When osku palermaa is on the europe team how many match numbers are there?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19072602_5 (match_no VARCHAR, team_europe VARCHAR)
Question: When osku palermaa is on the europe team how many match numbers are there?
Here is the SQLite query 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_name_85 (actor VARCHAR, duration VARCHAR, character VARCHAR)
Question: Which actor played Harold Bishop for 17 years?
[/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_85 (actor VARCHAR, duration VARCHAR, character VARCHAR)
Question: Which actor played Harold Bishop for 17 years?
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_51 (winning_amount VARCHAR, contestant_name VARCHAR)
Question: What winning amount has himesh reshammiya as the contestant name?
[/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_51 (winning_amount VARCHAR, contestant_name VARCHAR)
Question: What winning amount has himesh reshammiya as the contestant name?
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_197446_1 (office VARCHAR, term_ended VARCHAR)
Question: What group was in office when the term ended in January 3, 1993?
[/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_197446_1 (office VARCHAR, term_ended VARCHAR)
Question: What group was in office when the term ended in January 3, 1993?
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_43 (estimated_function__percentage VARCHAR, measurement VARCHAR)
Question: What is the estimated function % when the measurement is 8/8?
[/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_43 (estimated_function__percentage VARCHAR, measurement VARCHAR)
Question: What is the estimated function % when the measurement is 8/8?
Here is the SQLite 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_name_61 (results VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
Question: What was the election result before 2004 where Eric Cantor was the incumbent?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (results VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
Question: What was the election result before 2004 where Eric Cantor was the incumbent?
Here 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_28939145_2 (Literate VARCHAR, _percentage_of_district_population VARCHAR)
Question: how many literate males are there that has a district population of 6.65?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28939145_2 (Literate VARCHAR, _percentage_of_district_population VARCHAR)
Question: how many literate males are there that has a district population of 6.65?
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_11614581_3 (seat VARCHAR, name_in_polish VARCHAR)
Question: What seat does Gubernia Warszawska hold?
[/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_11614581_3 (seat VARCHAR, name_in_polish VARCHAR)
Question: What seat does Gubernia Warszawska hold?
Here is the SQLite query to answer to the question: What seat ... | 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_17525955_2 (share VARCHAR, rating VARCHAR)
Question: How many share values are listed for the episode with a rating/share value of 2.6/8?
[/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_17525955_2 (share VARCHAR, rating VARCHAR)
Question: How many share values are listed for the episode with a rating/share value of 2.6/8?
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_8 (rounds VARCHAR, driver VARCHAR)
Question: None of the rounds has Roger Williamson as a driver.
[/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_8 (rounds VARCHAR, driver VARCHAR)
Question: None of the rounds has Roger Williamson as a driver.
Here is the SQLite query to answer to the question: None 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_37 (rank INTEGER, state VARCHAR, mountain_peak VARCHAR)
Question: Where does Mount Chamberlin, located in Alaska, rank on the chart?
[/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_37 (rank INTEGER, state VARCHAR, mountain_peak VARCHAR)
Question: Where does Mount Chamberlin, located in Alaska, rank on the chart?
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_77 (points INTEGER, played INTEGER)
Question: What is the average points with less than 30 played?
[/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_77 (points INTEGER, played INTEGER)
Question: What is the average points with less than 30 played?
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_11365528_2 (head_coach VARCHAR, website VARCHAR)
Question: How many head coaches are there for the website, http://www.burleighbulldogs.org/?
[/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_11365528_2 (head_coach VARCHAR, website VARCHAR)
Question: How many head coaches are there for the website, http://www.burleighbulldogs.org/?
Here is the SQLite 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_name_56 (venue VARCHAR, away_team VARCHAR)
Question: Hawthorn played as an Away team in which venue?
[/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_56 (venue VARCHAR, away_team VARCHAR)
Question: Hawthorn played as an Away team in which venue?
Here is the SQLite query to answer to the question: Hawthorn p... | 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_49 (byes INTEGER, wins VARCHAR)
Question: What is the smallest byes when the wins are 3?
[/INST]
Here is the SQLite query to answer to the question: What... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (byes INTEGER, wins VARCHAR)
Question: What is the smallest byes when the wins are 3?
Here is the SQLite query to answer to the question: What is the small... | 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_18 (event VARCHAR, medal VARCHAR, name VARCHAR)
Question: Name Event of Medal of gold and a Name of duncan white?
[/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_18 (event VARCHAR, medal VARCHAR, name VARCHAR)
Question: Name Event of Medal of gold and a Name of duncan white?
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_name_13 (start VARCHAR, laps VARCHAR, qual VARCHAR)
Question: Name the start with Laps of 199 with qual of 224.838
[/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_13 (start VARCHAR, laps VARCHAR, qual VARCHAR)
Question: Name the start with Laps of 199 with qual of 224.838
Here is the SQLite query to answer to the questi... | 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 (genre VARCHAR, game VARCHAR)
Question: What is the genre for Portal 2?
[/INST]
Here is the SQLite query to answer to the question: What is the genre ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (genre VARCHAR, game VARCHAR)
Question: What is the genre for Portal 2?
Here is the SQLite query to answer to the question: What is the genre for Portal 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_15 (cell_type VARCHAR, conduction_speed__m_s_ VARCHAR)
Question: Which cell type has a conduction speed of 35?
[/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_15 (cell_type VARCHAR, conduction_speed__m_s_ VARCHAR)
Question: Which cell type has a conduction speed of 35?
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_1404984_1 (station_ownership VARCHAR, virtual_channel VARCHAR)
Question: Who owns the station on channel 33.3?
[/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_1404984_1 (station_ownership VARCHAR, virtual_channel VARCHAR)
Question: Who owns the station on channel 33.3?
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_72 (total_production VARCHAR, model VARCHAR)
Question: Name the total production for model nd5
[/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_72 (total_production VARCHAR, model VARCHAR)
Question: Name the total production for model nd5
Here is the SQLite query to answer to the question: Name the 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_name_68 (location VARCHAR, copies_per_particle VARCHAR, protein VARCHAR)
Question: Which location has a copies per particle of 0 and a protein of nsp3?
[/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 (location VARCHAR, copies_per_particle VARCHAR, protein VARCHAR)
Question: Which location has a copies per particle of 0 and a protein of nsp3?
Here is 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_38 (away_team VARCHAR, venue VARCHAR)
Question: Which away team is from junction oval?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR)
Question: Which away team is from junction oval?
Here is the SQLite query to answer to the question: Which away team 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_36 (pole_position VARCHAR, winning_driver VARCHAR, grand_prix VARCHAR)
Question: What was the pole position at the san marino grand prix with michael sch... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (pole_position VARCHAR, winning_driver VARCHAR, grand_prix VARCHAR)
Question: What was the pole position at the san marino grand prix with michael schumache... | 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 (losing_bonus VARCHAR)
Question: With a lost of lost what was the losing bonus?
[/INST]
Here is the SQLite query to answer to the question: With a los... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (losing_bonus VARCHAR)
Question: With a lost of lost what was the losing bonus?
Here is the SQLite query to answer to the question: With a lost of lost wha... | 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, countrycode VARCHAR); CREATE TABLE countrylanguage (countrycode VARCHAR, isofficial VARCHAR, language VARCHAR); CREATE TABLE country (code VARCHAR, c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE city (name VARCHAR, countrycode VARCHAR); CREATE TABLE countrylanguage (countrycode VARCHAR, isofficial VARCHAR, language VARCHAR); CREATE TABLE country (code VARCHAR, contine... | 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_26745426_2 (Ends VARCHAR, stolen_ends VARCHAR)
Question: Name the number of ends lost for 6 stolen ends
[/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_26745426_2 (Ends VARCHAR, stolen_ends VARCHAR)
Question: Name the number of ends lost for 6 stolen ends
Here is the SQLite query to answer to the question: Name 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_4 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR)
Question: What is the least silver when the total is more than 2, bronze is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR)
Question: What is the least silver when the total is more than 2, bronze is 3, go... | 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 perpetrator (Id VARCHAR)
Question: How many perpetrators are there?
[/INST]
Here is the SQLite query to answer to the question: How many perpetrators are there?:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE perpetrator (Id VARCHAR)
Question: How many perpetrators are there?
Here is the SQLite query to answer to the question: How many perpetrators are there?:
```
SELECT COUN... | 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 (role VARCHAR, genre VARCHAR, year VARCHAR)
Question: What drama role does she play in 1973?
[/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_57 (role VARCHAR, genre VARCHAR, year VARCHAR)
Question: What drama role does she play in 1973?
Here is the SQLite query to answer to the question: What drama... | 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_51 (gc_leader VARCHAR, course VARCHAR)
Question: Who is the GC leader at ávila - segovia?
[/INST]
Here is the SQLite query to answer to the question: Who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (gc_leader VARCHAR, course VARCHAR)
Question: Who is the GC leader at ávila - segovia?
Here is the SQLite query to answer to the question: Who is the GC le... | 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_37 (first_elected INTEGER, party VARCHAR, district VARCHAR)
Question: In what year was the republican incumbent from Kentucky 2 district first elected?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (first_elected INTEGER, party VARCHAR, district VARCHAR)
Question: In what year was the republican incumbent from Kentucky 2 district first elected?
Here i... | 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 (final VARCHAR, run_3 VARCHAR)
Question: What is Final, when Run 3 is 1:57.41?
[/INST]
Here is the SQLite query to answer to the question: What is Fin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (final VARCHAR, run_3 VARCHAR)
Question: What is Final, when Run 3 is 1:57.41?
Here is the SQLite query to answer to the question: What is Final, when Run ... | 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 (position VARCHAR, year VARCHAR)
Question: What is the position that is shown for 2011?
[/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_41 (position VARCHAR, year VARCHAR)
Question: What is the position that is shown for 2011?
Here is the SQLite query to answer to the question: What is the pos... | 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_2220432_1 (report VARCHAR, team VARCHAR)
Question: What was the report in the race where the winning team was Roush Fenway Racing?
[/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_2220432_1 (report VARCHAR, team VARCHAR)
Question: What was the report in the race where the winning team was Roush Fenway Racing?
Here is the SQLite query to ans... | 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_18 (games INTEGER, team VARCHAR, drawn VARCHAR)
Question: How many games does team Czechoslovakia have that had a drawn greater than 0?
[/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_18 (games INTEGER, team VARCHAR, drawn VARCHAR)
Question: How many games does team Czechoslovakia have that had a drawn greater than 0?
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 table_name_52 (studio_analysts VARCHAR, ice_level_reporters VARCHAR)
Question: Which studio analyst has Scott Oake for the ice level reporter?
[/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_name_52 (studio_analysts VARCHAR, ice_level_reporters VARCHAR)
Question: Which studio analyst has Scott Oake for the ice level reporter?
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 bank (bname VARCHAR, no_of_customers VARCHAR)
Question: Find the branch name of the bank that has the most number of customers.
[/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 bank (bname VARCHAR, no_of_customers VARCHAR)
Question: Find the branch name of the bank that has the most number of customers.
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_83 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the Tie no of Hereford United's Away game?
[/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_83 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the Tie no of Hereford United's Away game?
Here is the SQLite query to answer to the question: What i... | 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_66 (date VARCHAR, h___a VARCHAR, opponents VARCHAR)
Question: When did Manchester United play against Bristol City with an H/A of A?
[/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_66 (date VARCHAR, h___a VARCHAR, opponents VARCHAR)
Question: When did Manchester United play against Bristol City with an H/A of A?
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 candidate (support_rate VARCHAR)
Question: what are the top 3 highest support rates?
[/INST]
Here is the SQLite query to answer to the question: what are the top 3 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE candidate (support_rate VARCHAR)
Question: what are the top 3 highest support rates?
Here is the SQLite query to answer to the question: what are the top 3 highest suppo... | 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_142159_1 (builder VARCHAR, location VARCHAR)
Question: Who is the builder for the location Irton Road shed
[/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_142159_1 (builder VARCHAR, location VARCHAR)
Question: Who is the builder for the location Irton Road shed
Here is the SQLite query to answer to the question: Who ... | 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_2102898_1 (archive VARCHAR, broadcast_date VARCHAR)
Question: What is the archive of the show that aired on 18april1970?
[/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_2102898_1 (archive VARCHAR, broadcast_date VARCHAR)
Question: What is the archive of the show that aired on 18april1970?
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_3 (mall_name VARCHAR, stores VARCHAR)
Question: Which Mall has 140 stores?
[/INST]
Here is the SQLite query to answer to the question: Which Mall has 140... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (mall_name VARCHAR, stores VARCHAR)
Question: Which Mall has 140 stores?
Here is the SQLite query to answer to the question: Which Mall has 140 stores?:
```... | 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_23 (attendance VARCHAR, record VARCHAR)
Question: How many attended the game with a Record of 21–22–2?
[/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_23 (attendance VARCHAR, record VARCHAR)
Question: How many attended the game with a Record of 21–22–2?
Here is the SQLite query to answer to the question: How... | 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_44 (speed VARCHAR, rider VARCHAR)
Question: What is the average speed of rider Peter Williams?
[/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_44 (speed VARCHAR, rider VARCHAR)
Question: What is the average speed of rider Peter Williams?
Here is the SQLite query to answer to the question: What is 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_14 (points INTEGER, chassis VARCHAR, year VARCHAR)
Question: Name the average points for chassis of stevens and year less than 1950
[/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_name_14 (points INTEGER, chassis VARCHAR, year VARCHAR)
Question: Name the average points for chassis of stevens and year less than 1950
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_27 (home VARCHAR, game__number VARCHAR)
Question: Which Home has a Game # of 59?
[/INST]
Here is the SQLite query to answer to the question: Which Home h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (home VARCHAR, game__number VARCHAR)
Question: Which Home has a Game # of 59?
Here is the SQLite query to answer to the question: Which Home has a Game # 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_1802522_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: What state had November 30, 1962 as the date of the successors for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1802522_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: What state had November 30, 1962 as the date of the successors formal in... | 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_12434380_1 (mascot VARCHAR, institution VARCHAR)
Question: What is the mascot for the instition of Kansas city Kansas community college?
[/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_12434380_1 (mascot VARCHAR, institution VARCHAR)
Question: What is the mascot for the instition of Kansas city Kansas community college?
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_89 (performance VARCHAR, athlete VARCHAR)
Question: What's the performance of Dire Tune?
[/INST]
Here is the SQLite query to answer to the question: What... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (performance VARCHAR, athlete VARCHAR)
Question: What's the performance of Dire Tune?
Here is the SQLite query to answer to the question: What's the perfor... | 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 (weight VARCHAR, distance VARCHAR, race VARCHAR)
Question: What weight has a distance of 8F, and RRC Hill Stakes (wfa) as the race?
[/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_7 (weight VARCHAR, distance VARCHAR, race VARCHAR)
Question: What weight has a distance of 8F, and RRC Hill Stakes (wfa) as the race?
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_25 (city VARCHAR, winner VARCHAR)
Question: What is the City, when the Winner is Ruben Visser?
[/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_25 (city VARCHAR, winner VARCHAR)
Question: What is the City, when the Winner is Ruben Visser?
Here is the SQLite query to answer to the question: What is 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_32 (record VARCHAR, date VARCHAR)
Question: What record has November 15 as the date?
[/INST]
Here is the SQLite query to answer to the question: What rec... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR)
Question: What record has November 15 as the date?
Here is the SQLite query to answer to the question: What record has Novem... | 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_70 (start VARCHAR, year INTEGER)
Question: Name the start for year less than 1977
[/INST]
Here is the SQLite query to answer to the question: Name the st... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (start VARCHAR, year INTEGER)
Question: Name the start for year less than 1977
Here is the SQLite query to answer to the question: Name the start for year ... | 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_24172157_3 (date_of_appointment VARCHAR, team VARCHAR, incoming_manager VARCHAR)
Question: What was the date of appointment for incoming manager Roy Hodgson a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24172157_3 (date_of_appointment VARCHAR, team VARCHAR, incoming_manager VARCHAR)
Question: What was the date of appointment for incoming manager Roy Hodgson and 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_22 (name VARCHAR, career_caps VARCHAR, tour_apps VARCHAR, tests VARCHAR)
Question: What name has tour Apps larger than 7, tests larger than 4, and a Care... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (name VARCHAR, career_caps VARCHAR, tour_apps VARCHAR, tests VARCHAR)
Question: What name has tour Apps larger than 7, tests larger than 4, and a Career cap... | 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_1638437_2 (pinyin VARCHAR, simplified VARCHAR)
Question: Name the number of pinyin where simplified is 河西区
[/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_1638437_2 (pinyin VARCHAR, simplified VARCHAR)
Question: Name the number of pinyin where simplified is 河西区
Here is the SQLite query to answer to the question: Name... | 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_11964047_9 (leading_scorer VARCHAR, date VARCHAR)
Question: what's the leading scorer on march 2
[/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_11964047_9 (leading_scorer VARCHAR, date VARCHAR)
Question: what's the leading scorer on march 2
Here is the SQLite query to answer to the question: what's the l... | 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_13625792_1 (other__percentage VARCHAR, bush__number VARCHAR)
Question: In the country where Bush won 4333 votes, what percentage did other receive?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13625792_1 (other__percentage VARCHAR, bush__number VARCHAR)
Question: In the country where Bush won 4333 votes, what percentage did other receive?
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 journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR)
... | 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_15187735_1 (episode INTEGER, segment_d VARCHAR)
Question: In what episode was segment D ned Can Corn?
[/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_15187735_1 (episode INTEGER, segment_d VARCHAR)
Question: In what episode was segment D ned Can Corn?
Here is the SQLite query to answer to the question: In 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_15 (seasons_in_csl VARCHAR, top_division_titles__overall_ VARCHAR, home_stadium VARCHAR)
Question: What were the years for Seasons in CSL when they playe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (seasons_in_csl VARCHAR, top_division_titles__overall_ VARCHAR, home_stadium VARCHAR)
Question: What were the years for Seasons in CSL when they played in 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_13 (record VARCHAR, points VARCHAR, home VARCHAR)
Question: What record has points less than 16, and detroit as the home?
[/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_13 (record VARCHAR, points VARCHAR, home VARCHAR)
Question: What record has points less than 16, and detroit as the home?
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_51 (to_par VARCHAR, score VARCHAR, country VARCHAR)
Question: What country of argentina has the To par of 68?
[/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_51 (to_par VARCHAR, score VARCHAR, country VARCHAR)
Question: What country of argentina has the To par of 68?
Here is the SQLite query to answer to the questi... | 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.