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 Settlements (Id VARCHAR)
Question: How many settlements are there in total?
[/INST]
Here is the SQLite query to answer to the question: How many settlements are the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Settlements (Id VARCHAR)
Question: How many settlements are there in total?
Here is the SQLite query to answer to the question: How many settlements are there in total?:... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, score VARCHAR)
Question: From what country did someone score 71?
[/INST]
Here is the SQLite query to answer to the question: From wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (country VARCHAR, score VARCHAR)
Question: From what country did someone score 71?
Here is the SQLite query to answer to the question: From what country di... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2263152_1 (distribution_mechanism VARCHAR, version VARCHAR)
Question: If the version is 1.5b, what is the distribution mechanism?
[/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_2263152_1 (distribution_mechanism VARCHAR, version VARCHAR)
Question: If the version is 1.5b, what is the distribution mechanism?
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_36 (plant_hardiness_zone VARCHAR, region VARCHAR, annual_precipitation VARCHAR)
Question: What is the plant hardiness zone in the Northern region where t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (plant_hardiness_zone VARCHAR, region VARCHAR, annual_precipitation VARCHAR)
Question: What is the plant hardiness zone in the Northern region where the ann... | bugdaryan/sql-create-context-instruction | |
[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 (feature VARCHAR, name VARCHAR)
Question: what is the feature named bird ridge?
[/INST]
Here is the SQLite query to answer to the question: what is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (feature VARCHAR, name VARCHAR)
Question: what is the feature named bird ridge?
Here is the SQLite query to answer to the question: what is the feature nam... | bugdaryan/sql-create-context-instruction | |
[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 (total_passengers__millions__2011_12 INTEGER, annual_entry_exit__millions__2011_12 VARCHAR)
Question: What's the lowest number of total passengers (mi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (total_passengers__millions__2011_12 INTEGER, annual_entry_exit__millions__2011_12 VARCHAR)
Question: What's the lowest number of total passengers (millions... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14884844_2 (location VARCHAR, athletes VARCHAR)
Question: What are all the places where Birgit Fischer competed?
[/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_14884844_2 (location VARCHAR, athletes VARCHAR)
Question: What are all the places where Birgit Fischer competed?
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_48 (class VARCHAR, year VARCHAR, points VARCHAR, team VARCHAR)
Question: Which class has fewer than 89 points and the Honda team later than 1987?
[/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 (class VARCHAR, year VARCHAR, points VARCHAR, team VARCHAR)
Question: Which class has fewer than 89 points and the Honda team later than 1987?
Here is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (japanese_title VARCHAR, average_ratings VARCHAR, tv_station VARCHAR)
Question: What Japanese title had average ratings of 9.2% on the NHK station?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (japanese_title VARCHAR, average_ratings VARCHAR, tv_station VARCHAR)
Question: What Japanese title had average ratings of 9.2% on the NHK station?
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_95 (year INTEGER, venue VARCHAR)
Question: Name the highest Year which has a Venue of narbonne , france?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (year INTEGER, venue VARCHAR)
Question: Name the highest Year which has a Venue of narbonne , france?
Here is the SQLite query to answer to the question: N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (lyrics__l____music__m_ VARCHAR, position VARCHAR, place VARCHAR)
Question: What were the Lyrics (l) and Music (m) for the Artist who was in a Positio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (lyrics__l____music__m_ VARCHAR, position VARCHAR, place VARCHAR)
Question: What were the Lyrics (l) and Music (m) for the Artist who was in a Position high... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1013129_10 (position VARCHAR, player VARCHAR)
Question: All players are position mark polak.
[/INST]
Here is the SQLite query to answer to the question: All p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1013129_10 (position VARCHAR, player VARCHAR)
Question: All players are position mark polak.
Here is the SQLite query to answer to the question: All players are po... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, record VARCHAR)
Question: What was the score of the game when the record was 19–13–3?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR)
Question: What was the score of the game when the record was 19–13–3?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (east VARCHAR, west VARCHAR)
Question: What is the east with ev landsberg as the west?
[/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_83 (east VARCHAR, west VARCHAR)
Question: What is the east with ev landsberg as the west?
Here is the SQLite query to answer to the question: What is the east... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Participants (Participant_ID VARCHAR); CREATE TABLE EVENTS (event_id VARCHAR, Participant_Details VARCHAR); CREATE TABLE Participants_in_Events (event_id VARCHAR, Partic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Participants (Participant_ID VARCHAR); CREATE TABLE EVENTS (event_id VARCHAR, Participant_Details VARCHAR); CREATE TABLE Participants_in_Events (event_id VARCHAR, Participant_... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
Question: Name the date for princes park
[/INST]
Here is the SQLite query to answer to the question: Name the date for p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
Question: Name the date for princes park
Here is the SQLite query to answer to the question: Name the date for princes park:
... | bugdaryan/sql-create-context-instruction | |
[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: Which Home has a Date of april 1?
[/INST]
Here is the SQLite query to answer to the question: Which Home has a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
Question: Which Home has a Date of april 1?
Here is the SQLite query to answer to the question: Which Home has a Date of april... | bugdaryan/sql-create-context-instruction | |
[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 (party VARCHAR, office VARCHAR)
Question: Which Party has a Office of majority floor leader
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (party VARCHAR, office VARCHAR)
Question: Which Party has a Office of majority floor leader
Here is the SQLite query to answer to the question: Which Party... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_7 (stadium VARCHAR, attendance VARCHAR)
Question: When 255627 is the attendance what is the stadium?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_7 (stadium VARCHAR, attendance VARCHAR)
Question: When 255627 is the attendance what is the stadium?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (set_5 VARCHAR, set_2 VARCHAR)
Question: What is the Set 5 if Set 2 is 25-20?
[/INST]
Here is the SQLite query to answer to the question: What 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_44 (set_5 VARCHAR, set_2 VARCHAR)
Question: What is the Set 5 if Set 2 is 25-20?
Here is the SQLite query to answer to the question: What is the Set 5 if Set ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (nationality VARCHAR, pick VARCHAR, round VARCHAR)
Question: Which Nationality has a Pick larger than 109, and a Round smaller than 5?
[/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_9 (nationality VARCHAR, pick VARCHAR, round VARCHAR)
Question: Which Nationality has a Pick larger than 109, and a Round smaller than 5?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Question: WHAT IS THE DIRECTOR WITH FILM hope and pain?
[/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_28 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Question: WHAT IS THE DIRECTOR WITH FILM hope and pain?
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_82 (year INTEGER, best_finish VARCHAR)
Question: what is the earliest year with the best finish t-65?
[/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_82 (year INTEGER, best_finish VARCHAR)
Question: what is the earliest year with the best finish t-65?
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_51 (runner_up_skip VARCHAR, event VARCHAR)
Question: Who was the runner-up during the Mac Ice Classic?
[/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_51 (runner_up_skip VARCHAR, event VARCHAR)
Question: Who was the runner-up during the Mac Ice Classic?
Here is the SQLite query to answer to the question: Who... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (earnings__ INTEGER, rank INTEGER)
Question: Who has the lowest earnings that has a rank smaller than 2?
[/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_38 (earnings__ INTEGER, rank INTEGER)
Question: Who has the lowest earnings that has a rank smaller than 2?
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_82 (title VARCHAR, name VARCHAR)
Question: What is Rinnal's title?
[/INST]
Here is the SQLite query to answer to the question: What is Rinnal's title?:
`... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (title VARCHAR, name VARCHAR)
Question: What is Rinnal's title?
Here is the SQLite query to answer to the question: What is Rinnal's title?:
```
SELECT tit... | bugdaryan/sql-create-context-instruction | |
[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 (meet VARCHAR, event VARCHAR)
Question: What meet had a 400m individual medley meet?
[/INST]
Here is the SQLite query to answer to the question: What ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (meet VARCHAR, event VARCHAR)
Question: What meet had a 400m individual medley meet?
Here is the SQLite query to answer to the question: What meet had a 40... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15872814_5 (date VARCHAR, high_points VARCHAR)
Question: What were the dates of the games where Jalen Rose (32) had the highest points?
[/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_15872814_5 (date VARCHAR, high_points VARCHAR)
Question: What were the dates of the games where Jalen Rose (32) had the highest points?
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_79 (remarks VARCHAR, airline VARCHAR)
Question: What is the Remark of Airline of Dutch Antilles Express?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (remarks VARCHAR, airline VARCHAR)
Question: What is the Remark of Airline of Dutch Antilles Express?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (win_lose_percentage VARCHAR, champs VARCHAR, draw VARCHAR)
Question: Which Win/Lose Percentage has Champs larger than 0, and a Draw larger than 3?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (win_lose_percentage VARCHAR, champs VARCHAR, draw VARCHAR)
Question: Which Win/Lose Percentage has Champs larger than 0, and a Draw larger than 3?
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_61 (crowd INTEGER, away_team VARCHAR)
Question: What is the lowest attendance when footscray is the away team?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
Question: What is the lowest attendance when footscray is the away team?
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_3 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: Who is the opponent in the final on August 14, 2006?
[/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_3 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: Who is the opponent in the final on August 14, 2006?
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_45 (letter VARCHAR, operator VARCHAR, as_number VARCHAR)
Question: Which letter has an operator of VeriSign and an AS-number of AS26415?
[/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_45 (letter VARCHAR, operator VARCHAR, as_number VARCHAR)
Question: Which letter has an operator of VeriSign and an AS-number of AS26415?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (november VARCHAR, year VARCHAR)
Question: Who is in November in the year 1979?
[/INST]
Here is the SQLite query to answer to the question: Who is in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (november VARCHAR, year VARCHAR)
Question: Who is in November in the year 1979?
Here is the SQLite query to answer to the question: Who is in November in t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)
Question: What is Venue, when Date is "7 September"?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)
Question: What is Venue, when Date is "7 September"?
Here is the SQLite query to answer to the question: What is Venue, when ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20728138_1 (seats_won VARCHAR, seats_contested VARCHAR)
Question: How many seats were won, when the seats contested was 48?
[/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_20728138_1 (seats_won VARCHAR, seats_contested VARCHAR)
Question: How many seats were won, when the seats contested was 48?
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_82 (kickoff_time VARCHAR, date VARCHAR)
Question: What was the kickoff time for the December 14, 2003 game?
[/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_82 (kickoff_time VARCHAR, date VARCHAR)
Question: What was the kickoff time for the December 14, 2003 game?
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 LOCATIONS (Address VARCHAR, Location_Name VARCHAR)
Question: What is the address of the location "UK Gallery"?
[/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 LOCATIONS (Address VARCHAR, Location_Name VARCHAR)
Question: What is the address of the location "UK Gallery"?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (decile VARCHAR, years VARCHAR, gender VARCHAR)
Question: Which Decile has Years of –, and a Gender of coed?
[/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_69 (decile VARCHAR, years VARCHAR, gender VARCHAR)
Question: Which Decile has Years of –, and a Gender of coed?
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_9 (points INTEGER, place VARCHAR, position VARCHAR)
Question: Who had the smallest points in 3rd place but had a position greater than 8?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (points INTEGER, place VARCHAR, position VARCHAR)
Question: Who had the smallest points in 3rd place but had a position greater than 8?
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_23546266_1 (victim_s_ VARCHAR, executed_person VARCHAR)
Question: What's the name of Linroy Bottoson's victim?
[/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_23546266_1 (victim_s_ VARCHAR, executed_person VARCHAR)
Question: What's the name of Linroy Bottoson's victim?
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_2248784_3 (rank_world VARCHAR, country VARCHAR)
Question: Name the number of rank world for bhutan
[/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_2248784_3 (rank_world VARCHAR, country VARCHAR)
Question: Name the number of rank world for bhutan
Here is the SQLite query to answer to the question: Name the num... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23015396_1 (year VARCHAR, driver VARCHAR)
Question: Name the number of year for mark martin
[/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_23015396_1 (year VARCHAR, driver VARCHAR)
Question: Name the number of year for mark martin
Here is the SQLite query to answer to the question: Name the number 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 Customer_Policies (Policy_Type_Code VARCHAR)
Question: Which kind of policy type was chosen by the most customers?
[/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 Customer_Policies (Policy_Type_Code VARCHAR)
Question: Which kind of policy type was chosen by the most customers?
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_11677691_2 (player VARCHAR, college VARCHAR)
Question: HOW MANY PLAYERS PLAY FOR OREGON?
[/INST]
Here is the SQLite query to answer to the question: HOW MANY ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677691_2 (player VARCHAR, college VARCHAR)
Question: HOW MANY PLAYERS PLAY FOR OREGON?
Here is the SQLite query to answer to the question: HOW MANY PLAYERS PLAY ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the tie number when the away team is Lewes?
[/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_73 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the tie number when the away team is Lewes?
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 school (school_name VARCHAR, enrollment VARCHAR)
Question: List the name of the school with the smallest enrollment.
[/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 school (school_name VARCHAR, enrollment VARCHAR)
Question: List the name of the school with the smallest enrollment.
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_222448_1 (sigma__with_15σ_shift_ VARCHAR, percent_defective VARCHAR)
Question: What is the sigma (with 1.5σ shift) when there are 69% defective?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_222448_1 (sigma__with_15σ_shift_ VARCHAR, percent_defective VARCHAR)
Question: What is the sigma (with 1.5σ shift) when there are 69% defective?
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_13897690_1 (area__sqmi_ VARCHAR, area__km_2__ VARCHAR)
Question: How big (in sq mi) is the island that's 4065 km2?
[/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_13897690_1 (area__sqmi_ VARCHAR, area__km_2__ VARCHAR)
Question: How big (in sq mi) is the island that's 4065 km2?
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_11602313_4 (frequency VARCHAR, part_number_s_ VARCHAR)
Question: What is the frequency of the model with part number lf80537gf0411m?
[/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_11602313_4 (frequency VARCHAR, part_number_s_ VARCHAR)
Question: What is the frequency of the model with part number lf80537gf0411m?
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_88 (listed VARCHAR, built VARCHAR)
Question: What is the list date of the historic place that was built 1896, 1914?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (listed VARCHAR, built VARCHAR)
Question: What is the list date of the historic place that was built 1896, 1914?
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_92 (election VARCHAR)
Question: Which 1st Party has an election in 1865?
[/INST]
Here is the SQLite query to answer to the question: Which 1st Party has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (election VARCHAR)
Question: Which 1st Party has an election in 1865?
Here is the SQLite query to answer to the question: Which 1st Party has an election 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 course (course_id VARCHAR, dept_name VARCHAR)
Question: How many different courses offered by Physics department?
[/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 course (course_id VARCHAR, dept_name VARCHAR)
Question: How many different courses offered by Physics department?
Here is the SQLite query to answer to the question: How... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (drawn INTEGER, position VARCHAR, goals_for VARCHAR)
Question: What is the largest drawn number when 14 is the position, and goals for is more than 66... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (drawn INTEGER, position VARCHAR, goals_for VARCHAR)
Question: What is the largest drawn number when 14 is the position, and goals for is more than 66?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR)
Question: What is the Outcome of the game against Frederic Jeanclaude?
[/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_55 (outcome VARCHAR, opponent VARCHAR)
Question: What is the Outcome of the game against Frederic Jeanclaude?
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_55 (record VARCHAR, date VARCHAR)
Question: Which Record has a Date of may 31?
[/INST]
Here is the SQLite query to answer to the question: Which Record h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
Question: Which Record has a Date of may 31?
Here is the SQLite query to answer to the question: Which Record has a Date 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_82 (tournament VARCHAR, date VARCHAR)
Question: What is Tournament, when Date is "6 October 2008"?
[/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_82 (tournament VARCHAR, date VARCHAR)
Question: What is Tournament, when Date is "6 October 2008"?
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_16815824_1 (round4 INTEGER, team VARCHAR)
Question: What was team Toshiba's round 4 score?
[/INST]
Here is the SQLite query to answer to the question: What wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16815824_1 (round4 INTEGER, team VARCHAR)
Question: What was team Toshiba's round 4 score?
Here is the SQLite query to answer to the question: What was team Toshib... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: What is the 2012 value with 479 in 2008?
[/INST]
Here is the SQLite query to answer to the question: What is the 2012 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_22 (Id VARCHAR)
Question: What is the 2012 value with 479 in 2008?
Here is the SQLite query to answer to the question: What is the 2012 value with 479 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_22962745_35 (scorecard VARCHAR, batsmen VARCHAR)
Question: What was the scorecard when robin uthappa mark boucher jacques kallis was the batsmen?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22962745_35 (scorecard VARCHAR, batsmen VARCHAR)
Question: What was the scorecard when robin uthappa mark boucher jacques kallis was the batsmen?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[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 (visitor VARCHAR, date VARCHAR)
Question: What is the name of the visitor on January 24?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (visitor VARCHAR, date VARCHAR)
Question: What is the name of the visitor on January 24?
Here is the SQLite query to answer to the question: What is the na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (label VARCHAR, format VARCHAR)
Question: Which label is in a limited edition cd/dvd format?
[/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_19 (label VARCHAR, format VARCHAR)
Question: Which label is in a limited edition cd/dvd format?
Here is the SQLite query to answer to the question: Which labe... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, position VARCHAR, name VARCHAR)
Question: What year is guard Mario Chalmers?
[/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_53 (year VARCHAR, position VARCHAR, name VARCHAR)
Question: What year is guard Mario Chalmers?
Here is the SQLite query to answer to the question: What year 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_26 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team score at brunswick street oval?
[/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_26 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team score at 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_18 (dipole_moment___d__ VARCHAR, density VARCHAR)
Question: What dipole moment has a density of 1.092 g/ml?
[/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_18 (dipole_moment___d__ VARCHAR, density VARCHAR)
Question: What dipole moment has a density of 1.092 g/ml?
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 (partner VARCHAR, opponents VARCHAR)
Question: Which Partner has an Opponents of wayne arthurs sandon stolle?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (partner VARCHAR, opponents VARCHAR)
Question: Which Partner has an Opponents of wayne arthurs sandon stolle?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Orders (order_id VARCHAR, order_details VARCHAR); CREATE TABLE Invoices (order_id VARCHAR)
Question: What is the order id and order details for the order more than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Orders (order_id VARCHAR, order_details VARCHAR); CREATE TABLE Invoices (order_id VARCHAR)
Question: What is the order id and order details for the order more than two in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)
Question: The game that had a record of 39-25, what was the score?
[/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_77 (score VARCHAR, record VARCHAR)
Question: The game that had a record of 39-25, what was the score?
Here is the SQLite query to answer to the question: 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_1566850_9 (pictorials VARCHAR, date VARCHAR)
Question: What is the name of the pictorial in the 11-98 issue?
[/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_1566850_9 (pictorials VARCHAR, date VARCHAR)
Question: What is the name of the pictorial in the 11-98 issue?
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_26614365_1 (spanish VARCHAR, central VARCHAR)
Question: What is the Spanish word for cas [ˈkas]?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26614365_1 (spanish VARCHAR, central VARCHAR)
Question: What is the Spanish word for cas [ˈkas]?
Here is the SQLite query to answer to the question: What is the Sp... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, money___£__ VARCHAR, player VARCHAR)
Question: What is the place of player sergio garcía, who has £77,500?
[/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_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR)
Question: What is the place of player sergio garcía, who has £77,500?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (player VARCHAR, year_s__won VARCHAR)
Question: Who won in 1991?
[/INST]
Here is the SQLite query to answer to the question: Who won in 1991?:
```
SEL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (player VARCHAR, year_s__won VARCHAR)
Question: Who won in 1991?
Here is the SQLite query to answer to the question: Who won in 1991?:
```
SELECT player FR... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, home_team VARCHAR)
Question: What's the score when Orient was home?
[/INST]
Here is the SQLite query to answer to the question: What's... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (score VARCHAR, home_team VARCHAR)
Question: What's the score when Orient was home?
Here is the SQLite query to answer to the question: What's the score 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_4 (nba_draft VARCHAR, hometown VARCHAR)
Question: What is the NBA draft result of the player from Kingston, PA?
[/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_4 (nba_draft VARCHAR, hometown VARCHAR)
Question: What is the NBA draft result of the player from Kingston, PA?
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_64 (north_america VARCHAR, europe VARCHAR)
Question: Tell me the north america for september 18, 2009
[/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_64 (north_america VARCHAR, europe VARCHAR)
Question: Tell me the north america for september 18, 2009
Here is the SQLite query to answer to the question: Tell... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (constituency_number VARCHAR, name VARCHAR)
Question: Which constituency number has a name of Timarni?
[/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_99 (constituency_number VARCHAR, name VARCHAR)
Question: Which constituency number has a name of Timarni?
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_16951593_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Name who wrote the episode that had 7.56 million viewers
[/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_16951593_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Name who wrote the episode that had 7.56 million viewers
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_72 (score VARCHAR, competition VARCHAR)
Question: What is the score of the friendly competition?
[/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_72 (score VARCHAR, competition VARCHAR)
Question: What is the score of the friendly competition?
Here is the SQLite query to answer to the question: What 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_26986076_2 (thurs_26_aug VARCHAR, wed_25_aug VARCHAR)
Question: What is thurs 26 aug when wed 25 aug is 19' 59.98 113.192mph?
[/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_26986076_2 (thurs_26_aug VARCHAR, wed_25_aug VARCHAR)
Question: What is thurs 26 aug when wed 25 aug is 19' 59.98 113.192mph?
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 artist (country VARCHAR)
Question: How many artists are from Bangladesh?
[/INST]
Here is the SQLite query to answer to the question: How many artists are from Bangl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE artist (country VARCHAR)
Question: How many artists are from Bangladesh?
Here is the SQLite query to answer to the question: How many artists are from Bangladesh?:
```
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_34 (purpose VARCHAR, callsign VARCHAR)
Question: Callsign of 6nan has what purpose?
[/INST]
Here is the SQLite query to answer to the question: Callsign ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (purpose VARCHAR, callsign VARCHAR)
Question: Callsign of 6nan has what purpose?
Here is the SQLite query to answer to the question: Callsign of 6nan has 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_72 (venue VARCHAR, result VARCHAR, score VARCHAR)
Question: Which Venue has a Result of 5-1, and a Score of 1-0?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR, score VARCHAR)
Question: Which Venue has a Result of 5-1, and a Score of 1-0?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (draw INTEGER, artist VARCHAR)
Question: Emilya Valenti has what draw average?
[/INST]
Here is the SQLite query to answer to the question: Emilya Vale... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (draw INTEGER, artist VARCHAR)
Question: Emilya Valenti has what draw average?
Here is the SQLite query to answer to the question: Emilya Valenti has 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_1973321_5 (new_points INTEGER, player VARCHAR)
Question: Name the least new points for steffi graf
[/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_1973321_5 (new_points INTEGER, player VARCHAR)
Question: Name the least new points for steffi graf
Here is the SQLite query to answer to the question: Name the lea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (teleplay VARCHAR, first_broadcast VARCHAR)
Question: What is Teleplay, when First Broadcast is April 10, 1981?
[/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_57 (teleplay VARCHAR, first_broadcast VARCHAR)
Question: What is Teleplay, when First Broadcast is April 10, 1981?
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_94 (draw INTEGER, rank VARCHAR)
Question: What is the lowest draw with rank 4?
[/INST]
Here is the SQLite query to answer to the question: What is the lo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (draw INTEGER, rank VARCHAR)
Question: What is the lowest draw with rank 4?
Here is the SQLite query to answer to the question: What is the lowest draw wit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26007767_1 (localities INTEGER)
Question: What is the highest localities?
[/INST]
Here is the SQLite query to answer to the question: What is the highest loca... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26007767_1 (localities INTEGER)
Question: What is the highest localities?
Here is the SQLite query to answer to the question: What is the highest localities?:
```
... | bugdaryan/sql-create-context-instruction | |
[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 (pick VARCHAR, round VARCHAR, position VARCHAR)
Question: What was the pick number for the kicker in round 8?
[/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_7 (pick VARCHAR, round VARCHAR, position VARCHAR)
Question: What was the pick number for the kicker in round 8?
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_25 (venue VARCHAR, home_team VARCHAR)
Question: Where did North Melbourne play as the home team?
[/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_25 (venue VARCHAR, home_team VARCHAR)
Question: Where did North Melbourne play as the home team?
Here is the SQLite query to answer to the question: Where did... | bugdaryan/sql-create-context-instruction | |
[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 VARCHAR, points VARCHAR, rank VARCHAR)
Question: What is Games, when Points is less than 340, and when Rank is greater than 3?
[/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_89 (games VARCHAR, points VARCHAR, rank VARCHAR)
Question: What is Games, when Points is less than 340, and when Rank is greater than 3?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (winner VARCHAR, date VARCHAR)
Question: Who is the winner for the match on October 7?
[/INST]
Here is the SQLite query to answer to the question: Who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (winner VARCHAR, date VARCHAR)
Question: Who is the winner for the match on October 7?
Here is the SQLite query to answer to the question: Who is the winne... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (date_enacted VARCHAR, ns VARCHAR, normal_total VARCHAR)
Question: Name the date enacted for N.S. of 10 and normal total of 104
[/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_73 (date_enacted VARCHAR, ns VARCHAR, normal_total VARCHAR)
Question: Name the date enacted for N.S. of 10 and normal total of 104
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_27539272_4 (record VARCHAR, location_attendance VARCHAR)
Question: Name the record for prudential center - 12,880
[/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_27539272_4 (record VARCHAR, location_attendance VARCHAR)
Question: Name the record for prudential center - 12,880
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_261895_1 (type VARCHAR, institution VARCHAR)
Question: which categories fit under the institution calvin college?
[/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_261895_1 (type VARCHAR, institution VARCHAR)
Question: which categories fit under the institution calvin college?
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_1 (population INTEGER, density VARCHAR, area__km²_ VARCHAR)
Question: Which population is the greatest, has a density of 20.3, and an area (km²) larger t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (population INTEGER, density VARCHAR, area__km²_ VARCHAR)
Question: Which population is the greatest, has a density of 20.3, and an area (km²) larger than 50... | bugdaryan/sql-create-context-instruction | |
[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 (time_retired VARCHAR, rider VARCHAR)
Question: What was the time/retired for the car raced by Simone Grotzkyj?
[/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_94 (time_retired VARCHAR, rider VARCHAR)
Question: What was the time/retired for the car raced by Simone Grotzkyj?
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_70 (height__m_ INTEGER, year_built VARCHAR, name VARCHAR)
Question: What is the sum of the heights in meters for the commerzbank tower built after 1984?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (height__m_ INTEGER, year_built VARCHAR, name VARCHAR)
Question: What is the sum of the heights in meters for the commerzbank tower built after 1984?
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_10 (score VARCHAR, set_2 VARCHAR, total VARCHAR)
Question: Which score has a Set 2 of 17–25, and a Total of 48–75?
[/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_10 (score VARCHAR, set_2 VARCHAR, total VARCHAR)
Question: Which score has a Set 2 of 17–25, and a Total of 48–75?
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_4 (Id VARCHAR)
Question: What is the 2004 value with a sf in 2010?
[/INST]
Here is the SQLite query to answer to the question: What is the 2004 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_4 (Id VARCHAR)
Question: What is the 2004 value with a sf in 2010?
Here is the SQLite query to answer to the question: What is the 2004 value with a sf in 201... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, isbn VARCHAR)
Question: What Year has an ISBN OF ISBN 4-06-182042-7?
[/INST]
Here is the SQLite query to answer to the question: What Y... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (year INTEGER, isbn VARCHAR)
Question: What Year has an ISBN OF ISBN 4-06-182042-7?
Here is the SQLite query to answer to the question: What Year has an IS... | 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.