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_2182654_6 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: What date was episode 10 in the season originally aired?
[/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_2182654_6 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: What date was episode 10 in the season originally aired?
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_60 (season VARCHAR, opponent VARCHAR, location VARCHAR, decision VARCHAR)
Question: What season was played at Safeco Field, against the Boston Red Sox, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (season VARCHAR, opponent VARCHAR, location VARCHAR, decision VARCHAR)
Question: What season was played at Safeco Field, against the Boston Red Sox, with 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_23817012_6 (gp_gs VARCHAR, ft_pct VARCHAR)
Question: in the ft pct .667 what is the number of gp-gs
[/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_23817012_6 (gp_gs VARCHAR, ft_pct VARCHAR)
Question: in the ft pct .667 what is the number of gp-gs
Here is the SQLite query to answer to the question: in the ft 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_32 (area__km_2__ VARCHAR, name VARCHAR, population__2011_ VARCHAR)
Question: What is the total area of drakenstein and a population less than 251,262?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (area__km_2__ VARCHAR, name VARCHAR, population__2011_ VARCHAR)
Question: What is the total area of drakenstein and a population less than 251,262?
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_46 (rounds VARCHAR, driver VARCHAR)
Question: How many rounds did shirley van der lof go?
[/INST]
Here is the SQLite query to answer to the question: How... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (rounds VARCHAR, driver VARCHAR)
Question: How many rounds did shirley van der lof go?
Here is the SQLite query to answer to the question: How many 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_name_62 (silver INTEGER, gold VARCHAR)
Question: How many silver medals did the country that won 20 gold medals win in the 1955 Pan American Games?
[/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_62 (silver INTEGER, gold VARCHAR)
Question: How many silver medals did the country that won 20 gold medals win in the 1955 Pan American Games?
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 Documents (Id VARCHAR); CREATE TABLE Ref_Document_Status (Id VARCHAR)
Question: What is the document status description of the document with id 1?
[/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 Documents (Id VARCHAR); CREATE TABLE Ref_Document_Status (Id VARCHAR)
Question: What is the document status description of the document with id 1?
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_70 (attendance VARCHAR, opponent VARCHAR)
Question: Can you tell me the Attendance that has the Opponent of new york giants?
[/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_70 (attendance VARCHAR, opponent VARCHAR)
Question: Can you tell me the Attendance that has the Opponent of new york giants?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (result VARCHAR, time VARCHAR)
Question: What was the final score for the game played at 7:00 pm?
[/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_16 (result VARCHAR, time VARCHAR)
Question: What was the final score for the game played at 7:00 pm?
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_54 (Id VARCHAR)
Question: What is the 2011 value with nms in 2008?
[/INST]
Here is the SQLite query to answer to the question: What is the 2011 value wit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (Id VARCHAR)
Question: What is the 2011 value with nms in 2008?
Here is the SQLite query to answer to the question: What is the 2011 value with nms in 2008... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1670921_2 (batting_partners VARCHAR, season VARCHAR)
Question: What batting partners were the most successful in 2004?
[/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_1670921_2 (batting_partners VARCHAR, season VARCHAR)
Question: What batting partners were the most successful in 2004?
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_3 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)
Question: What is the total (kg) when the snatch was 84, and bodyweight was less than 57.35?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)
Question: What is the total (kg) when the snatch was 84, and bodyweight was less than 57.35?
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_19417244_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: who write the episode that have 14.39 million viewers
[/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_19417244_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: who write the episode that have 14.39 million viewers
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_15 (class VARCHAR, power VARCHAR)
Question: What is Class, when Power is 78 Watts?
[/INST]
Here is the SQLite query to answer to the question: What is Cl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (class VARCHAR, power VARCHAR)
Question: What is Class, when Power is 78 Watts?
Here is the SQLite query to answer to the question: What is Class, when Pow... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1176371_1 (fc_matches INTEGER, name_of_ground VARCHAR)
Question: What is the maximum fc matches at the racecourse?
[/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_1176371_1 (fc_matches INTEGER, name_of_ground VARCHAR)
Question: What is the maximum fc matches at the racecourse?
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_71 (date VARCHAR, game VARCHAR)
Question: What date was game 37?
[/INST]
Here is the SQLite query to answer to the question: What date was game 37?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR)
Question: What date was game 37?
Here is the SQLite query to answer to the question: What date was game 37?:
```
SELECT date F... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25345002_1 (date_of_death VARCHAR, date_of_birth VARCHAR)
Question: What are the dates of death of those politicians whose date of birth 1938-08-30 30 august ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25345002_1 (date_of_death VARCHAR, date_of_birth VARCHAR)
Question: What are the dates of death of those politicians whose date of birth 1938-08-30 30 august 1938?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12226390_2 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who wrote the episode 14 in series?
[/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_12226390_2 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who wrote the episode 14 in series?
Here is the SQLite query to answer to the question: Who wrote 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_13114949_3 (year VARCHAR, qualifying_score VARCHAR)
Question: how many times is the qualifying score 61.400?
[/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_13114949_3 (year VARCHAR, qualifying_score VARCHAR)
Question: how many times is the qualifying score 61.400?
Here is the SQLite query to answer to the question: ho... | bugdaryan/sql-create-context-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 (vehicle VARCHAR, ceased_operation VARCHAR)
Question: Which vehicle failed at launch?
[/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_34 (vehicle VARCHAR, ceased_operation VARCHAR)
Question: Which vehicle failed at launch?
Here is the SQLite query to answer to the question: Which vehicle fai... | bugdaryan/sql-create-context-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_86 (money___ INTEGER, score VARCHAR)
Question: How much money has 76-70-68-73=287 as a score?
[/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_86 (money___ INTEGER, score VARCHAR)
Question: How much money has 76-70-68-73=287 as a score?
Here is the SQLite query to answer to the question: How much mon... | bugdaryan/sql-create-context-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_16 (winner VARCHAR, city VARCHAR)
Question: Who is the winner in the city of lima?
[/INST]
Here is the SQLite query to answer to the question: Who 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_16 (winner VARCHAR, city VARCHAR)
Question: Who is the winner in the city of lima?
Here is the SQLite query to answer to the question: Who is the winner in 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_67 (week_1 VARCHAR, week_3 VARCHAR)
Question: Name the week 3 of 36
[/INST]
Here is the SQLite query to answer to the question: Name the week 3 of 36:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (week_1 VARCHAR, week_3 VARCHAR)
Question: Name the week 3 of 36
Here is the SQLite query to answer to the question: Name the week 3 of 36:
```
SELECT week... | bugdaryan/sql-create-context-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 (introduced INTEGER, seating VARCHAR)
Question: When was the aircraft introduced that could seat 115 people?
[/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_30 (introduced INTEGER, seating VARCHAR)
Question: When was the aircraft introduced that could seat 115 people?
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_2196127_1 (manufacturer VARCHAR, driver VARCHAR, date VARCHAR)
Question: Who was the manufacturer for Matt Kenseth on March 7?
[/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_2196127_1 (manufacturer VARCHAR, driver VARCHAR, date VARCHAR)
Question: Who was the manufacturer for Matt Kenseth on March 7?
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_50 (current_streak VARCHAR, last_10_meetings VARCHAR)
Question: What's the current streak with a last 10 meetings of lsu, 2-1?
[/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_name_50 (current_streak VARCHAR, last_10_meetings VARCHAR)
Question: What's the current streak with a last 10 meetings of lsu, 2-1?
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_39 (year_s_ VARCHAR, rank VARCHAR, player VARCHAR)
Question: During what years was álvaro pérez the number 2 ranked player?
[/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_39 (year_s_ VARCHAR, rank VARCHAR, player VARCHAR)
Question: During what years was álvaro pérez the number 2 ranked player?
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_10 (driver VARCHAR, grid VARCHAR)
Question: Which driver's grid was 24?
[/INST]
Here is the SQLite query to answer to the question: Which driver's grid w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (driver VARCHAR, grid VARCHAR)
Question: Which driver's grid was 24?
Here is the SQLite query to answer to the question: Which driver's grid was 24?:
```
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_2781227_1 (college_junior_club_team VARCHAR, player VARCHAR)
Question: What is the college/junior/club team name of player Mats Lindgren?
[/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_2781227_1 (college_junior_club_team VARCHAR, player VARCHAR)
Question: What is the college/junior/club team name of player Mats Lindgren?
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_75 (high_rebounds VARCHAR, location VARCHAR, record VARCHAR)
Question: Who had the most rebounds in the game at the Mohegan Sun Arena that led to a 24-7 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (high_rebounds VARCHAR, location VARCHAR, record VARCHAR)
Question: Who had the most rebounds in the game at the Mohegan Sun Arena that led to a 24-7 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 table_name_52 (to_club VARCHAR, transfer_fee VARCHAR, pos VARCHAR)
Question: What club received a DF player for free?
[/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_52 (to_club VARCHAR, transfer_fee VARCHAR, pos VARCHAR)
Question: What club received a DF player for free?
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_11884814_3 (evening_gown VARCHAR, swimsuit VARCHAR)
Question: What was the evening gown score when the swimsuit was 9.61?
[/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_11884814_3 (evening_gown VARCHAR, swimsuit VARCHAR)
Question: What was the evening gown score when the swimsuit was 9.61?
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_7 (week INTEGER, attendance INTEGER)
Question: How many weeks have an attendance less than 26,048?
[/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_7 (week INTEGER, attendance INTEGER)
Question: How many weeks have an attendance less than 26,048?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-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_16 (money___ INTEGER, score VARCHAR)
Question: What is the most money for the score 75-74-72-67=288?
[/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_16 (money___ INTEGER, score VARCHAR)
Question: What is the most money for the score 75-74-72-67=288?
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_17822401_1 (branding VARCHAR, power__kw_ VARCHAR)
Question: What is the number of brand where the power is 5kw?
[/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_17822401_1 (branding VARCHAR, power__kw_ VARCHAR)
Question: What is the number of brand where the power is 5kw?
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_94 (high_assists VARCHAR, game VARCHAR)
Question: What was the number of high assists for game 1?
[/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_94 (high_assists VARCHAR, game VARCHAR)
Question: What was the number of high assists for game 1?
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_14342592_8 (touchdowns INTEGER, player VARCHAR)
Question: Name the most touchdowns for norcross
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14342592_8 (touchdowns INTEGER, player VARCHAR)
Question: Name the most touchdowns for norcross
Here is the SQLite query to answer to the question: Name the most 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_66 (lost VARCHAR, order VARCHAR, played VARCHAR)
Question: How many games were lost when the order was 2nd and the play was more than 13
[/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_66 (lost VARCHAR, order VARCHAR, played VARCHAR)
Question: How many games were lost when the order was 2nd and the play was more than 13
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 club (name VARCHAR, Club_ID VARCHAR); CREATE TABLE player (Player_id VARCHAR, Club_ID VARCHAR)
Question: Please show the names and the players of clubs.
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE club (name VARCHAR, Club_ID VARCHAR); CREATE TABLE player (Player_id VARCHAR, Club_ID VARCHAR)
Question: Please show the names and the players of clubs.
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_78 (civil_liberties INTEGER, year VARCHAR, political_rights VARCHAR, president VARCHAR)
Question: When the president was Yoweri Museveni, and the year wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (civil_liberties INTEGER, year VARCHAR, political_rights VARCHAR, president VARCHAR)
Question: When the president was Yoweri Museveni, and the year was 1993... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16331144_1 (winning_mentor VARCHAR, season VARCHAR)
Question: Who was the winning mentor in season two?
[/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_16331144_1 (winning_mentor VARCHAR, season VARCHAR)
Question: Who was the winning mentor in season two?
Here is the SQLite query to answer to the question: Who 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_2866514_1 (title VARCHAR, us_viewers__million_ VARCHAR)
Question: What are the titles of episodes with 5.66 million US viewers?
[/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_2866514_1 (title VARCHAR, us_viewers__million_ VARCHAR)
Question: What are the titles of episodes with 5.66 million US viewers?
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_4 (rank INTEGER, title VARCHAR)
Question: What is the rank of American Pie 2?
[/INST]
Here is the SQLite query to answer to the question: What is the ran... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (rank INTEGER, title VARCHAR)
Question: What is the rank of American Pie 2?
Here is the SQLite query to answer to the question: What is the rank of American... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22835602_1 (written_by VARCHAR, production_code VARCHAR)
Question: List all who wrote for production code 1ark07.
[/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_22835602_1 (written_by VARCHAR, production_code VARCHAR)
Question: List all who wrote for production code 1ark07.
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_24 (loans_received VARCHAR, _3q VARCHAR, total_debt VARCHAR)
Question: What was the amount of loans received with a total debt of $169,256?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (loans_received VARCHAR, _3q VARCHAR, total_debt VARCHAR)
Question: What was the amount of loans received with a total debt of $169,256?
Here is the SQLite... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17598822_11 (challenge_cup INTEGER, player VARCHAR)
Question: Name the most challenge cup for damon gray
[/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_17598822_11 (challenge_cup INTEGER, player VARCHAR)
Question: Name the most challenge cup for damon gray
Here is the SQLite query to answer to the question: Name t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (semifinalists VARCHAR, tournament VARCHAR)
Question: What is the Semifinalists that has a Tournament of Cincinnati?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (semifinalists VARCHAR, tournament VARCHAR)
Question: What is the Semifinalists that has a Tournament of Cincinnati?
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_29 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
Question: Who is the manager 1 with Puma as the kit manufacturer and Puma as the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
Question: Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt ... | bugdaryan/sql-create-context-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_11 (mpg_us_combined INTEGER, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, transmission VARCHAR, co_2_g_km VARCHAR)
Question: What is the lowest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (mpg_us_combined INTEGER, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, transmission VARCHAR, co_2_g_km VARCHAR)
Question: What is the lowest combi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20539826_1 (obama_percentage VARCHAR, total VARCHAR)
Question: What percentage of the votes did Obama get in the county where 3909 people voted in total?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20539826_1 (obama_percentage VARCHAR, total VARCHAR)
Question: What percentage of the votes did Obama get in the county where 3909 people voted in total?
Here is 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_75 (average_attendance VARCHAR, total_attendance VARCHAR)
Question: What's the average attendance of the league with a total attendance of 2268508?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (average_attendance VARCHAR, total_attendance VARCHAR)
Question: What's the average attendance of the league with a total attendance of 2268508?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (total VARCHAR)
Question: What is the year 2013 with a total of 5, and 5th in 2009?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (total VARCHAR)
Question: What is the year 2013 with a total of 5, and 5th in 2009?
Here is the SQLite query to answer to the question: What is the year 20... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2803106_1 (dance_song VARCHAR, total VARCHAR)
Question: What dance had a score total of 31?
[/INST]
Here is the SQLite query to answer to the question: What d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2803106_1 (dance_song VARCHAR, total VARCHAR)
Question: What dance had a score total of 31?
Here is the SQLite query to answer to the question: What dance had a sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25220821_3 (rider VARCHAR, tues_1_june VARCHAR)
Question: If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25220821_3 (rider VARCHAR, tues_1_june VARCHAR)
Question: If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (pick VARCHAR, player VARCHAR, round VARCHAR)
Question: When Jeb Barlow was picked in round smaller than 7, how many player in totals were picked?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (pick VARCHAR, player VARCHAR, round VARCHAR)
Question: When Jeb Barlow was picked in round smaller than 7, how many player in totals were picked?
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_66 (home VARCHAR, visitor VARCHAR)
Question: What is the home team of the game with the Raptors as the visitor team?
[/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_66 (home VARCHAR, visitor VARCHAR)
Question: What is the home team of the game with the Raptors as the visitor team?
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_23722304_2 (compression_ratio VARCHAR, torque__n_m_ VARCHAR)
Question: what is the compression ratio whre the torque is 208?
[/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_23722304_2 (compression_ratio VARCHAR, torque__n_m_ VARCHAR)
Question: what is the compression ratio whre the torque is 208?
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_54 (position VARCHAR, school_country VARCHAR)
Question: What position does the player from arkansas play?
[/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_54 (position VARCHAR, school_country VARCHAR)
Question: What position does the player from arkansas play?
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_61 (nba_draft VARCHAR, school VARCHAR)
Question: What is the NBA draft result of the player from Dunbar High School?
[/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_61 (nba_draft VARCHAR, school VARCHAR)
Question: What is the NBA draft result of the player from Dunbar High School?
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_75 (crowd INTEGER, venue VARCHAR)
Question: What was the largest crowd at the Brunswick Street Oval?
[/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_75 (crowd INTEGER, venue VARCHAR)
Question: What was the largest crowd at the Brunswick Street Oval?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (track VARCHAR, city VARCHAR)
Question: What is the name of the track in Holland?
[/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_2 (track VARCHAR, city VARCHAR)
Question: What is the name of the track in Holland?
Here is the SQLite query to answer to the question: What is the name of th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (prize_money VARCHAR, round VARCHAR)
Question: What is the prize money for the second round qualifying that is listed?
[/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_60 (prize_money VARCHAR, round VARCHAR)
Question: What is the prize money for the second round qualifying that is listed?
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_66 (opponent VARCHAR, score VARCHAR)
Question: Who did the Toronto Blue Jays play against where the score was 4 - 2?
[/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_66 (opponent VARCHAR, score VARCHAR)
Question: Who did the Toronto Blue Jays play against where the score was 4 - 2?
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_26166836_3 (road_race VARCHAR, country VARCHAR, month_held VARCHAR)
Question: What race is held in Germany in the month of May?
[/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_26166836_3 (road_race VARCHAR, country VARCHAR, month_held VARCHAR)
Question: What race is held in Germany in the month of May?
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_95 (name VARCHAR, locomotive VARCHAR)
Question: What is the name for the locomotive n464?
[/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_95 (name VARCHAR, locomotive VARCHAR)
Question: What is the name for the locomotive n464?
Here is the SQLite query to answer to the question: What is the 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_name_92 (year INTEGER, position VARCHAR, venue VARCHAR)
Question: What's the year in 5th position that happened in Osaka, Japan?
[/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_92 (year INTEGER, position VARCHAR, venue VARCHAR)
Question: What's the year in 5th position that happened in Osaka, Japan?
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_62 (opponents_in_the_final VARCHAR, surface VARCHAR)
Question: Who were the Opponents in the final that played on a carpet (i) Surface?
[/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_62 (opponents_in_the_final VARCHAR, surface VARCHAR)
Question: Who were the Opponents in the final that played on a carpet (i) Surface?
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_97 (date VARCHAR, game VARCHAR)
Question: What is the date for game 4?
[/INST]
Here is the SQLite query to answer to the question: What is the date for g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (date VARCHAR, game VARCHAR)
Question: What is the date for game 4?
Here is the SQLite query to answer to the question: What is the date for game 4?:
```
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_12 (points INTEGER, engine VARCHAR)
Question: What is the average points earned for entrants with ATS V8 engines?
[/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_12 (points INTEGER, engine VARCHAR)
Question: What is the average points earned for entrants with ATS V8 engines?
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_2 (attendance VARCHAR, opponent VARCHAR)
Question: What is Attendance, when Opponent is Pittsburgh Steelers?
[/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_2 (attendance VARCHAR, opponent VARCHAR)
Question: What is Attendance, when Opponent is Pittsburgh Steelers?
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_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)
Question: What is the cyrillic name for the settlement with the population of 2125?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)
Question: What is the cyrillic name for the settlement with the population of 2125?
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_10015132_2 (player VARCHAR, school_club_team VARCHAR)
Question: How many players were with the school or club team La Salle?
[/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_10015132_2 (player VARCHAR, school_club_team VARCHAR)
Question: How many players were with the school or club team La Salle?
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_48 (attendance VARCHAR, arena VARCHAR)
Question: What was the Attendance at Jobing.com Arena?
[/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_48 (attendance VARCHAR, arena VARCHAR)
Question: What was the Attendance at Jobing.com Arena?
Here is the SQLite query to answer to the question: What was 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_1341577_10 (result VARCHAR, incumbent VARCHAR)
Question: what's result with incumbent being connie mack
[/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_1341577_10 (result VARCHAR, incumbent VARCHAR)
Question: what's result with incumbent being connie mack
Here is the SQLite query to answer to the question: what'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_30008638_1 (miss_water INTEGER, country_territory VARCHAR)
Question: How many Miss Waters has Canada had?
[/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_30008638_1 (miss_water INTEGER, country_territory VARCHAR)
Question: How many Miss Waters has Canada had?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2639433_4 (timeslot VARCHAR, year VARCHAR)
Question: What was the timeslot for the episode in the year 2008?
[/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_2639433_4 (timeslot VARCHAR, year VARCHAR)
Question: What was the timeslot for the episode in the year 2008?
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 manufacturer (open_year VARCHAR, name VARCHAR, num_of_shops VARCHAR)
Question: Which manufacturer has the most number of shops? List its name and year of opening.
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturer (open_year VARCHAR, name VARCHAR, num_of_shops VARCHAR)
Question: Which manufacturer has the most number of shops? List its name and year of opening.
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_59 (attendance INTEGER, score VARCHAR, away VARCHAR)
Question: What is the highest attendance of the match with a 2:0 score and vida as the away team?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (attendance INTEGER, score VARCHAR, away VARCHAR)
Question: What is the highest attendance of the match with a 2:0 score and vida as the away team?
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_91 (player VARCHAR, overs VARCHAR)
Question: Tell me the player with overs of 87.4
[/INST]
Here is the SQLite query to answer to the question: Tell me th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (player VARCHAR, overs VARCHAR)
Question: Tell me the player with overs of 87.4
Here is the SQLite query to answer to the question: Tell me the player with... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE phone (Accreditation_level VARCHAR)
Question: Find the accreditation level that more than 3 phones use.
[/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 phone (Accreditation_level VARCHAR)
Question: Find the accreditation level that more than 3 phones use.
Here is the SQLite query to answer to the question: Find the accr... | bugdaryan/sql-create-context-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 (height VARCHAR, storeys VARCHAR, building VARCHAR)
Question: What is the height for less than 45 storeys in Scotia Centre?
[/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_name_34 (height VARCHAR, storeys VARCHAR, building VARCHAR)
Question: What is the height for less than 45 storeys in Scotia Centre?
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_24 (total VARCHAR, bronze INTEGER)
Question: What is the total when there were less than 0 bronze?
[/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_24 (total VARCHAR, bronze INTEGER)
Question: What is the total when there were less than 0 bronze?
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_52 (place INTEGER, total VARCHAR, average VARCHAR)
Question: What is the smallest place number when the total is 16 and average is less than 16?
[/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 (place INTEGER, total VARCHAR, average VARCHAR)
Question: What is the smallest place number when the total is 16 and average is less than 16?
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_21 (score VARCHAR, year VARCHAR)
Question: What score did the year 1948 have?
[/INST]
Here is the SQLite query to answer to the question: What score did ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (score VARCHAR, year VARCHAR)
Question: What score did the year 1948 have?
Here is the SQLite query to answer to the question: What score did the year 1948... | bugdaryan/sql-create-context-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 (player VARCHAR, finish VARCHAR)
Question: What player has 1 as the place?
[/INST]
Here is the SQLite query to answer to the question: What player has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (player VARCHAR, finish VARCHAR)
Question: What player has 1 as the place?
Here is the SQLite query to answer to the question: What player has 1 as the pla... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (record VARCHAR, save VARCHAR)
Question: What was the record the day David Weathers (15) had a save?
[/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_10 (record VARCHAR, save VARCHAR)
Question: What was the record the day David Weathers (15) had a save?
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_94 (outcome VARCHAR, partner VARCHAR, opponents VARCHAR)
Question: What is Outcome, when Partner is "Byron Black", and when Opponents is "Goran Ivaniševi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (outcome VARCHAR, partner VARCHAR, opponents VARCHAR)
Question: What is Outcome, when Partner is "Byron Black", and when Opponents is "Goran Ivanišević Bria... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
Question: How many teams have the titans as a mascot?
[/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_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
Question: How many teams have the titans as a mascot?
Here is the SQLite query to answer to the question: How many... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
Question: What is the score for the United States in place T1 for David Duval?
[/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 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
Question: What is the score for the United States in place T1 for David Duval?
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_28846752_5 (Id VARCHAR)
Question: what is the minimumfor 5wi?
[/INST]
Here is the SQLite query to answer to the question: what is the minimumfor 5wi?:
```
SEL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28846752_5 (Id VARCHAR)
Question: what is the minimumfor 5wi?
Here is the SQLite query to answer to the question: what is the minimumfor 5wi?:
```
SELECT MIN(5 AS ... | bugdaryan/sql-create-context-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 (fa_cup INTEGER, championship VARCHAR, total VARCHAR)
Question: Name the most FA cup for championship of 18 and total of 19
[/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_name_74 (fa_cup INTEGER, championship VARCHAR, total VARCHAR)
Question: Name the most FA cup for championship of 18 and total of 19
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_72 (shot__percentage INTEGER, country VARCHAR, ends_lost VARCHAR)
Question: What is the sum shot % when the country is finland, and an ends lost is large... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (shot__percentage INTEGER, country VARCHAR, ends_lost VARCHAR)
Question: What is the sum shot % when the country is finland, and an ends lost is larger than... | bugdaryan/sql-create-context-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_94 (population INTEGER, region INTEGER)
Question: What is the smallest population in a region greater than 9?
[/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_94 (population INTEGER, region INTEGER)
Question: What is the smallest population in a region greater than 9?
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_11 (venue VARCHAR, date VARCHAR)
Question: what was the venue on 7 october 2011?
[/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_11 (venue VARCHAR, date VARCHAR)
Question: what was the venue on 7 october 2011?
Here is the SQLite query to answer to the question: what was the venue on 7 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_26250155_1 (original_artist VARCHAR, theme VARCHAR)
Question: Who was the original artist of the First solo theme?
[/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_26250155_1 (original_artist VARCHAR, theme VARCHAR)
Question: Who was the original artist of the First solo theme?
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_54 (ship VARCHAR, commissioned VARCHAR)
Question: What is Ship, when Commissioned is "13 March 1982"?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (ship VARCHAR, commissioned VARCHAR)
Question: What is Ship, when Commissioned is "13 March 1982"?
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_60 (Id VARCHAR)
Question: What is the 2004 value with 2r in 1994?
[/INST]
Here is the SQLite query to answer to the question: What is the 2004 value with... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (Id VARCHAR)
Question: What is the 2004 value with 2r in 1994?
Here is the SQLite query to answer to the question: What is the 2004 value with 2r in 1994?:... | bugdaryan/sql-create-context-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_78 (place VARCHAR, score VARCHAR)
Question: What was the place for the player whose final score was 71-69=140?
[/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_78 (place VARCHAR, score VARCHAR)
Question: What was the place for the player whose final score was 71-69=140?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (top_5 INTEGER, cuts_made INTEGER)
Question: what is the highest top-5 when cuts made is more than 39?
[/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_40 (top_5 INTEGER, cuts_made INTEGER)
Question: what is the highest top-5 when cuts made is more than 39?
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 (round INTEGER, team VARCHAR)
Question: Which round was a player from the Long Island Lizards drafted in first?
[/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_26 (round INTEGER, team VARCHAR)
Question: Which round was a player from the Long Island Lizards drafted in first?
Here is the SQLite query to answer to the q... | 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.