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_74 (opponent VARCHAR, result VARCHAR)
Question: What opponent has a result of 3–6, 6–2, 4–6?
[/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_74 (opponent VARCHAR, result VARCHAR)
Question: What opponent has a result of 3–6, 6–2, 4–6?
Here is the SQLite query to answer to the question: What opponent... | 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 (year VARCHAR, champion VARCHAR, runner_up VARCHAR)
Question: When Ilie Năstase beat runner-up Peter Fleming what year was it?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (year VARCHAR, champion VARCHAR, runner_up VARCHAR)
Question: When Ilie Năstase beat runner-up Peter Fleming what year was it?
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_92 (date INTEGER, label VARCHAR, format VARCHAR)
Question: What is the earliest date with Great Expectations label with LP format?
[/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_92 (date INTEGER, label VARCHAR, format VARCHAR)
Question: What is the earliest date with Great Expectations label with LP format?
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_36 (date VARCHAR, tie_no VARCHAR)
Question: On what Date is Tie no 19?
[/INST]
Here is the SQLite query to answer to the question: On what Date is Tie no... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (date VARCHAR, tie_no VARCHAR)
Question: On what Date is Tie no 19?
Here is the SQLite query to answer to the question: On what Date is Tie no 19?:
```
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_25 (competition VARCHAR, date VARCHAR)
Question: What competition has may 5, 2001 as the date?
[/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 (competition VARCHAR, date VARCHAR)
Question: What competition has may 5, 2001 as the date?
Here is the SQLite query to answer to the question: What compet... | 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_53 (first_leg VARCHAR, round VARCHAR)
Question: Who has the first leg that has a round in the semi-final?
[/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_53 (first_leg VARCHAR, round VARCHAR)
Question: Who has the first leg that has a round in the semi-final?
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_26591434_1 (ratings__kanto_ VARCHAR, episode VARCHAR)
Question: What was the ratings for episode 11?
[/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_26591434_1 (ratings__kanto_ VARCHAR, episode VARCHAR)
Question: What was the ratings for episode 11?
Here is the SQLite query to answer to the question: What was 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_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
Question: how many times did tunde abdulrahman leave the team?
[/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_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
Question: how many times did tunde abdulrahman leave the team?
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_name_91 (score VARCHAR, loss VARCHAR)
Question: Which Score has a Loss of buehrle (7-2)?
[/INST]
Here is the SQLite query to answer to the question: Which Sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR)
Question: Which Score has a Loss of buehrle (7-2)?
Here is the SQLite query to answer to the question: Which Score has a 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_23429629_4 (act VARCHAR, place_came VARCHAR)
Question: During the 1st Place (Won the Series), who was the act?
[/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_23429629_4 (act VARCHAR, place_came VARCHAR)
Question: During the 1st Place (Won the Series), who was the act?
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_26 (season VARCHAR, player VARCHAR)
Question: Which seaosn had a player of rohan ricketts?
[/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_26 (season VARCHAR, player VARCHAR)
Question: Which seaosn had a player of rohan ricketts?
Here is the SQLite query to answer to the question: Which seaosn ha... | 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_98 (name VARCHAR, qual_1 VARCHAR)
Question: Who had a qual 1 of 1:01.461?
[/INST]
Here is the SQLite query to answer to the question: Who had a qual 1 of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (name VARCHAR, qual_1 VARCHAR)
Question: Who had a qual 1 of 1:01.461?
Here is the SQLite query to answer to the question: Who had a qual 1 of 1:01.461?:
`... | 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 (sport VARCHAR, event VARCHAR)
Question: Which sport has 94kg men's weightlifting as one of its events?
[/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_22 (sport VARCHAR, event VARCHAR)
Question: Which sport has 94kg men's weightlifting as one of its events?
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 train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)
Question: List the object number of railways that ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)
Question: List the object number of railways that do not... | 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_69 (location VARCHAR, mascot VARCHAR)
Question: Can you tell me the Location that has the Mascot of lakers?
[/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_69 (location VARCHAR, mascot VARCHAR)
Question: Can you tell me the Location that has the Mascot of lakers?
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_43 (name VARCHAR, position VARCHAR, round VARCHAR)
Question: Which player had a position of OT during round 27?
[/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_43 (name VARCHAR, position VARCHAR, round VARCHAR)
Question: Which player had a position of OT during round 27?
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_49 (r1st VARCHAR, ryds VARCHAR)
Question: Who is the R1st that has 36 RYds?
[/INST]
Here is the SQLite query to answer to the question: Who is the R1st t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (r1st VARCHAR, ryds VARCHAR)
Question: Who is the R1st that has 36 RYds?
Here is the SQLite query to answer to the question: Who is the R1st that has 36 RY... | 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 (report VARCHAR, name VARCHAR)
Question: Name the Report of tourist trophy?
[/INST]
Here is the SQLite query to answer to the question: Name the Repor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (report VARCHAR, name VARCHAR)
Question: Name the Report of tourist trophy?
Here is the SQLite query to answer to the question: Name the Report of tourist ... | 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 (prog_cons VARCHAR, dates VARCHAR, polling_firm VARCHAR, liberal VARCHAR)
Question: According to the February 2009 poll by the Corporate Research Asso... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (prog_cons VARCHAR, dates VARCHAR, polling_firm VARCHAR, liberal VARCHAR)
Question: According to the February 2009 poll by the Corporate Research Associates... | 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_1342149_13 (incumbent VARCHAR, first_elected VARCHAR)
Question: What is the incumbent for 1932?
[/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_1342149_13 (incumbent VARCHAR, first_elected VARCHAR)
Question: What is the incumbent for 1932?
Here is the SQLite query to answer to the question: What is the inc... | 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 (position INTEGER, name VARCHAR, drawn VARCHAR)
Question: what is the lowest position when the name is esv türkheim, and Drawn more than 0?
[/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_12 (position INTEGER, name VARCHAR, drawn VARCHAR)
Question: what is the lowest position when the name is esv türkheim, and Drawn more than 0?
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_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)
Question: Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?
[/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_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)
Question: Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?
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_name_34 (laps INTEGER, team VARCHAR, grid VARCHAR)
Question: What was the highest lap count for Walker Racing with a grid larger than 15?
[/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_34 (laps INTEGER, team VARCHAR, grid VARCHAR)
Question: What was the highest lap count for Walker Racing with a grid larger than 15?
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_27744844_7 (high_assists VARCHAR, game VARCHAR)
Question: Who had the most assists and how many did they have in game 35?
[/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_27744844_7 (high_assists VARCHAR, game VARCHAR)
Question: Who had the most assists and how many did they have in game 35?
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_69 (avg_g VARCHAR, name VARCHAR, loss VARCHAR)
Question: What's cameron dantley's total avg/g for loss less than 35?
[/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_name_69 (avg_g VARCHAR, name VARCHAR, loss VARCHAR)
Question: What's cameron dantley's total avg/g for loss less than 35?
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_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR)
Question: What are all the winning records when the result is Scotland won on points table and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR)
Question: What are all the winning records when the result is Scotland won on points table and the Ru... | 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_71 (location VARCHAR, floors VARCHAR, building VARCHAR)
Question: Which Location has Floors smaller than 27, and a Building of 150 elgin?
[/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_71 (location VARCHAR, floors VARCHAR, building VARCHAR)
Question: Which Location has Floors smaller than 27, and a Building of 150 elgin?
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_14977252_2 (professional_jury VARCHAR, points VARCHAR)
Question: Name the jury of 10 points
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14977252_2 (professional_jury VARCHAR, points VARCHAR)
Question: Name the jury of 10 points
Here is the SQLite query to answer to the question: Name the jury of 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_2453243_5 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who write episode number 48 in the series?
[/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 table_2453243_5 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who write episode number 48 in the series?
Here is the SQLite query to answer to the question: Who 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_31 (first_publisher VARCHAR, year INTEGER)
Question: What is the First Publisher prior to 1999?
[/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_31 (first_publisher VARCHAR, year INTEGER)
Question: What is the First Publisher prior to 1999?
Here is the SQLite query to answer to the question: What 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_46 (wins INTEGER, goal_difference VARCHAR, played VARCHAR)
Question: What is the most wins for a position with more than 30 played and a goal difference ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (wins INTEGER, goal_difference VARCHAR, played VARCHAR)
Question: What is the most wins for a position with more than 30 played and a goal difference of 11?... | 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_25604014_5 (directed_by VARCHAR, production_code VARCHAR)
Question: Who direcred the episode with production code 7d03?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25604014_5 (directed_by VARCHAR, production_code VARCHAR)
Question: Who direcred the episode with production code 7d03?
Here is the SQLite query to answer to the 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_27 (name VARCHAR, decile VARCHAR, roll VARCHAR)
Question: Which school has a decile of 8 and a roll of 705?
[/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_27 (name VARCHAR, decile VARCHAR, roll VARCHAR)
Question: Which school has a decile of 8 and a roll of 705?
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_24 (state VARCHAR, member VARCHAR)
Question: Which state is frederick bamford a member of?
[/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_24 (state VARCHAR, member VARCHAR)
Question: Which state is frederick bamford a member of?
Here is the SQLite query to answer to the question: Which state 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_54 (predecessor VARCHAR, date VARCHAR, district VARCHAR, congress VARCHAR)
Question: What predecessor has a district less than 11, 68th as the Congress, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (predecessor VARCHAR, date VARCHAR, district VARCHAR, congress VARCHAR)
Question: What predecessor has a district less than 11, 68th as the Congress, and ma... | 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_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR)
Question: what is the county where the market income per capita is $25,006?
[/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_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR)
Question: what is the county where the market income per capita is $25,006?
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_79 (date VARCHAR, record VARCHAR)
Question: On what date was the record 21-25?
[/INST]
Here is the SQLite query to answer to the question: On what date w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR)
Question: On what date was the record 21-25?
Here is the SQLite query to answer to the question: On what date was the record... | 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 (stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)
Question: Fi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)
Question: Find 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_77 (capacity INTEGER, margin VARCHAR)
Question: What's the lowest capacity when the margin is 03:30?
[/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 table_name_77 (capacity INTEGER, margin VARCHAR)
Question: What's the lowest capacity when the margin is 03:30?
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_74 (result VARCHAR, opponent VARCHAR)
Question: What was the result when Dundee was the opponent?
[/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_74 (result VARCHAR, opponent VARCHAR)
Question: What was the result when Dundee was the opponent?
Here is the SQLite query to answer to the question: What was... | 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_28367242_1 (area__km²_ VARCHAR, corporate_name VARCHAR)
Question: What is the area of the corporation named the powell river, the corporation of the city of?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28367242_1 (area__km²_ VARCHAR, corporate_name VARCHAR)
Question: What is the area of the corporation named the powell river, the corporation of the city of?
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_name_85 (high_points VARCHAR, location_attendance VARCHAR)
Question: At Time Warner Cable Arena 12,096, what was the high points?
[/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_name_85 (high_points VARCHAR, location_attendance VARCHAR)
Question: At Time Warner Cable Arena 12,096, what was the high points?
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_29778616_1 (intro_date VARCHAR, price VARCHAR)
Question: How many intro dates have the price of 686€?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29778616_1 (intro_date VARCHAR, price VARCHAR)
Question: How many intro dates have the price of 686€?
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_1140088_6 (constructor VARCHAR, race_name VARCHAR)
Question: Who constructed the I Italian Republic Grand Prix?
[/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_1140088_6 (constructor VARCHAR, race_name VARCHAR)
Question: Who constructed the I Italian Republic Grand Prix?
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_31 (position VARCHAR, pick INTEGER)
Question: Which position has a pick greater than 28?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (position VARCHAR, pick INTEGER)
Question: Which position has a pick greater than 28?
Here is the SQLite query to answer to the question: Which position ha... | 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, Population INTEGER)
Question: What are the cities whose population is between 160000 and 900000?
[/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 city (name VARCHAR, Population INTEGER)
Question: What are the cities whose population is between 160000 and 900000?
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_74 (tries_for VARCHAR, tries_against VARCHAR)
Question: What is the number of tries for that has 30 tries against?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (tries_for VARCHAR, tries_against VARCHAR)
Question: What is the number of tries for that has 30 tries against?
Here is the SQLite query to answer to the 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_54 (trainer VARCHAR, time VARCHAR, jockey VARCHAR)
Question: What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?
[/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_54 (trainer VARCHAR, time VARCHAR, jockey VARCHAR)
Question: What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?
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_45 (athlete VARCHAR, wind VARCHAR)
Question: Who was the athlete with a wind of 1.8?
[/INST]
Here is the SQLite query to answer to the question: Who was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (athlete VARCHAR, wind VARCHAR)
Question: Who was the athlete with a wind of 1.8?
Here is the SQLite query to answer to the question: Who was the athlete 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_88 (games VARCHAR, name VARCHAR)
Question: Which game did was Bud Eley a player in?
[/INST]
Here is the SQLite query to answer to the question: Which gam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (games VARCHAR, name VARCHAR)
Question: Which game did was Bud Eley a player in?
Here is the SQLite query to answer to the question: Which game did was Bud... | 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 (school VARCHAR, hometown VARCHAR)
Question: Which school is in Riverside, CA?
[/INST]
Here is the SQLite query to answer to the question: Which schoo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (school VARCHAR, hometown VARCHAR)
Question: Which school is in Riverside, CA?
Here is the SQLite query to answer to the question: Which school is in River... | 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_11044765_1 (location VARCHAR, mascot VARCHAR)
Question: What city and state are the miners located in?
[/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_11044765_1 (location VARCHAR, mascot VARCHAR)
Question: What city and state are the miners located in?
Here is the SQLite query to answer to the question: What cit... | 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_22597626_17 (partner VARCHAR, opponents_in_the_final VARCHAR)
Question: What was the partner count when the opponents in the final was forget leconte?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22597626_17 (partner VARCHAR, opponents_in_the_final VARCHAR)
Question: What was the partner count when the opponents in the final was forget leconte?
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_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)
Question: List the number of cores for ddr3-1333 with frequencies between 2.66... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)
Question: List the number of cores for ddr3-1333 with frequencies between 2.66-2.8gh... | 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 (inns VARCHAR, matches VARCHAR)
Question: Matches of 127 has how many total number of inns?
[/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_56 (inns VARCHAR, matches VARCHAR)
Question: Matches of 127 has how many total number of inns?
Here is the SQLite query to answer to the question: Matches 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_74 (home VARCHAR, leading_scorer VARCHAR)
Question: Who was the home team of the game with manu ginóbili (34) as the leading scorer?
[/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_74 (home VARCHAR, leading_scorer VARCHAR)
Question: Who was the home team of the game with manu ginóbili (34) as the leading scorer?
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_40 (location VARCHAR, method VARCHAR)
Question: Which Location has a Method of decision?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (location VARCHAR, method VARCHAR)
Question: Which Location has a Method of decision?
Here is the SQLite query to answer to the question: Which Location ha... | 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 has_pet (stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)
Question: Find the number of pets for each student who has any pet and student id.
[/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 has_pet (stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)
Question: Find the number of pets for each student who has any pet and student id.
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_11677100_16 (position VARCHAR, hometown VARCHAR)
Question: What positions were drafted from Las Vegas, NV?
[/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_11677100_16 (position VARCHAR, hometown VARCHAR)
Question: What positions were drafted from Las Vegas, NV?
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_20799587_1 (mccain_percentage VARCHAR, county VARCHAR)
Question: What percentage of the votes did McCain get in Hinds?
[/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_20799587_1 (mccain_percentage VARCHAR, county VARCHAR)
Question: What percentage of the votes did McCain get in Hinds?
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_8 (commissioned VARCHAR, laid_down VARCHAR)
Question: what is the commissioned date with laid down of 17 dec 1951?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (commissioned VARCHAR, laid_down VARCHAR)
Question: what is the commissioned date with laid down of 17 dec 1951?
Here is the SQLite query to answer to the 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_52 (finish VARCHAR, country VARCHAR)
Question: What is the finish of Australia?
[/INST]
Here is the SQLite query to answer to the question: What is the f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (finish VARCHAR, country VARCHAR)
Question: What is the finish of Australia?
Here is the SQLite query to answer to the question: What is the finish of Aust... | 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_24919137_2 (date VARCHAR, ladder_position VARCHAR, opposition VARCHAR)
Question: On what date was the game played when the Western Bulldogs were in 8th ladder... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24919137_2 (date VARCHAR, ladder_position VARCHAR, opposition VARCHAR)
Question: On what date was the game played when the Western Bulldogs were in 8th ladder posit... | 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_23958944_5 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
Question: What episode is directed by Bryan Spicer and written by Terence Paul Winter?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23958944_5 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
Question: What episode is directed by Bryan Spicer and written by Terence Paul Winter?
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_name_62 (enrollment INTEGER, founded VARCHAR, location VARCHAR, affiliation VARCHAR)
Question: What's the total enrollment of public schools located in Buffal... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (enrollment INTEGER, founded VARCHAR, location VARCHAR, affiliation VARCHAR)
Question: What's the total enrollment of public schools located in Buffalo, New... | 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 (laps VARCHAR, time VARCHAR)
Question: How many laps had a time of +2.987?
[/INST]
Here is the SQLite query to answer to the question: How many laps h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)
Question: How many laps had a time of +2.987?
Here is the SQLite query to answer to the question: How many laps had a time 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_1218784_1 (season VARCHAR, rank VARCHAR)
Question: How many seasons had a rank of 16?
[/INST]
Here is the SQLite query to answer to the question: How many sea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1218784_1 (season VARCHAR, rank VARCHAR)
Question: How many seasons had a rank of 16?
Here is the SQLite query to answer to the question: How many seasons had a 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_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR)
Question: What round pick was pick number 101 who plays defensive back?
[/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_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR)
Question: What round pick was pick number 101 who plays defensive back?
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_2 (circuit VARCHAR)
Question: Name the 125cc winner with circuit of estoril
[/INST]
Here is the SQLite query to answer to the question: Name the 125cc wi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (circuit VARCHAR)
Question: Name the 125cc winner with circuit of estoril
Here is the SQLite query to answer to the question: Name the 125cc winner with cir... | 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 (date VARCHAR, game VARCHAR)
Question: What date has 1 for the game?
[/INST]
Here is the SQLite query to answer to the question: What date has 1 for t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (date VARCHAR, game VARCHAR)
Question: What date has 1 for the game?
Here is the SQLite query to answer to the question: What date has 1 for the game?:
```... | 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 (attendance VARCHAR, visitor VARCHAR)
Question: Name the total number in attendance for when the bulls visited
[/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_50 (attendance VARCHAR, visitor VARCHAR)
Question: Name the total number in attendance for when the bulls visited
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 CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR)
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_27708484_3 (matches_played VARCHAR, average_goals_scored_per_match VARCHAR)
Question: how many matches were played that average goals scored 1.25?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27708484_3 (matches_played VARCHAR, average_goals_scored_per_match VARCHAR)
Question: how many matches were played that average goals scored 1.25?
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_name_15 (position VARCHAR, round VARCHAR)
Question: What position has 14 rounds?
[/INST]
Here is the SQLite query to answer to the question: What position has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (position VARCHAR, round VARCHAR)
Question: What position has 14 rounds?
Here is the SQLite query to answer to the question: What position has 14 rounds?:
... | 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_2 (original_air_date VARCHAR, no_in_series VARCHAR)
Question: When 21 is the number in series what is the air date?
[/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_2409041_2 (original_air_date VARCHAR, no_in_series VARCHAR)
Question: When 21 is the number in series what is the air date?
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_28 (leading_scorer VARCHAR, date VARCHAR)
Question: Who was the leading scorer on the game played on February 25?
[/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_28 (leading_scorer VARCHAR, date VARCHAR)
Question: Who was the leading scorer on the game played on February 25?
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_17288825_9 (date VARCHAR, team VARCHAR)
Question: On what date did the Rockets play Memphis?
[/INST]
Here is the SQLite query to answer to the question: On wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17288825_9 (date VARCHAR, team VARCHAR)
Question: On what date did the Rockets play Memphis?
Here is the SQLite query to answer to the question: On what date did 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_27721131_2 (game INTEGER, high_rebounds VARCHAR)
Question: What's the maximum game in the javale mcgee (5) high rebounds?
[/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_27721131_2 (game INTEGER, high_rebounds VARCHAR)
Question: What's the maximum game in the javale mcgee (5) high rebounds?
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_89 (games_played INTEGER, goals_scored VARCHAR)
Question: How many games had 2 goals scored?
[/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_89 (games_played INTEGER, goals_scored VARCHAR)
Question: How many games had 2 goals scored?
Here is the SQLite query to answer to the question: How many game... | 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 (home VARCHAR, date VARCHAR)
Question: Who played the home team during the game on January 6?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
Question: Who played the home team during the game on January 6?
Here is the SQLite query to answer to the question: Who playe... | 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 (rank VARCHAR, height_feet___m VARCHAR)
Question: What is the rank associated with a Height feet / m of 427 / 130?
[/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_name_76 (rank VARCHAR, height_feet___m VARCHAR)
Question: What is the rank associated with a Height feet / m of 427 / 130?
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_92 (place VARCHAR, date VARCHAR)
Question: What is the Place that has a Date of 22 august 2004?
[/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_92 (place VARCHAR, date VARCHAR)
Question: What is the Place that has a Date of 22 august 2004?
Here is the SQLite query to answer to the question: What 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_50 (original_name VARCHAR, location VARCHAR)
Question: What was the original name of the restaurant located in Orillia, ON?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (original_name VARCHAR, location VARCHAR)
Question: What was the original name of the restaurant located in Orillia, ON?
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_2668264_22 (first_elected VARCHAR, incumbent VARCHAR)
Question: What was the first elected year that featured incumbent andrew r. govan?
[/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_2668264_22 (first_elected VARCHAR, incumbent VARCHAR)
Question: What was the first elected year that featured incumbent andrew r. govan?
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_1506950_9 (masters VARCHAR, pga_ch VARCHAR)
Question: What is the result at the Masters for the player who finished R16 at the PGA Ch.?
[/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_1506950_9 (masters VARCHAR, pga_ch VARCHAR)
Question: What is the result at the Masters for the player who finished R16 at the PGA Ch.?
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_12 (points VARCHAR, laps VARCHAR)
Question: What is the number of points associated with 165 laps?
[/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_12 (points VARCHAR, laps VARCHAR)
Question: What is the number of points associated with 165 laps?
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_30 (crowd INTEGER, venue VARCHAR)
Question: How big was the crowd size, at the Junction Oval venue?
[/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_30 (crowd INTEGER, venue VARCHAR)
Question: How big was the crowd size, at the Junction Oval venue?
Here is the SQLite query to answer to the question: How bi... | 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 (actor VARCHAR, year VARCHAR)
Question: What actor won in 1978?
[/INST]
Here is the SQLite query to answer to the question: What actor won in 1978?:
`... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR)
Question: What actor won in 1978?
Here is the SQLite query to answer to the question: What actor won in 1978?:
```
SELECT act... | 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 (crowd INTEGER, away_team VARCHAR)
Question: What is the highest crowd population when the away team is Geelong?
[/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_33 (crowd INTEGER, away_team VARCHAR)
Question: What is the highest crowd population when the away team is Geelong?
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_10240125_1 (total_goals INTEGER)
Question: What is the highest value of Total Goals?
[/INST]
Here is the SQLite query to answer to the question: What is the h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10240125_1 (total_goals INTEGER)
Question: What is the highest value of Total Goals?
Here is the SQLite query to answer to the question: What is the highest value ... | 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 has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE... | 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 (timeslot VARCHAR, air_date VARCHAR)
Question: What is the timeslot for the episode that aired April 28, 2009?
[/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_26 (timeslot VARCHAR, air_date VARCHAR)
Question: What is the timeslot for the episode that aired April 28, 2009?
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_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
Question: How many mixed doubles were there in the year that Olga Koseli won the women's singles?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
Question: How many mixed doubles were there in the year that Olga Koseli won the women's singles?
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 club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (position VARCHAR, clubid VARCHAR)
Question: How many different roles are there in the club "Bo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (position VARCHAR, clubid VARCHAR)
Question: How many different roles are there in the club "Bootup B... | 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 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR)
Question: How many touchdowns did the player with less than 4495 yards, long of l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR)
Question: How many touchdowns did the player with less than 4495 yards, long of less 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 station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)
Question: Show the station name with greatest number of trains.
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)
Question: Show the station name with greatest number of trains.
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_43 (score VARCHAR, player VARCHAR)
Question: What is Ernie Els' Score?
[/INST]
Here is the SQLite query to answer to the question: What is Ernie Els' Sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (score VARCHAR, player VARCHAR)
Question: What is Ernie Els' Score?
Here is the SQLite query to answer to the question: What is Ernie Els' Score?:
```
SELE... | 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 branch (name VARCHAR, membership_amount VARCHAR)
Question: What are names for top three branches with most number of membership?
[/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 branch (name VARCHAR, membership_amount VARCHAR)
Question: What are names for top three branches with most number of membership?
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_12 (year INTEGER, movie VARCHAR)
Question: What was the average year that Thuppakki movies came out?
[/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 table_name_12 (year INTEGER, movie VARCHAR)
Question: What was the average year that Thuppakki movies came out?
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_85 (country VARCHAR, airport VARCHAR)
Question: The Brisbane airport is located in which country?
[/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_85 (country VARCHAR, airport VARCHAR)
Question: The Brisbane airport is located in which country?
Here is the SQLite query to answer to the question: The Bris... | 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.