text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (director VARCHAR, gross VARCHAR, rank VARCHAR, studio VARCHAR)
Question: What director ranked higher than 1 from Universal Studios and grossed $201,9... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (director VARCHAR, gross VARCHAR, rank VARCHAR, studio VARCHAR)
Question: What director ranked higher than 1 from Universal Studios and grossed $201,957,688... | bugdaryan/sql-create-context-instruction | |
[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 (director VARCHAR, studio VARCHAR, title VARCHAR)
Question: Who directed Predator that was filmed with Fox Studio?
[/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_29 (director VARCHAR, studio VARCHAR, title VARCHAR)
Question: Who directed Predator that was filmed with Fox Studio?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (surface VARCHAR, date VARCHAR)
Question: What is the Surface of the match played on October 5, 1987?
[/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_77 (surface VARCHAR, date VARCHAR)
Question: What is the Surface of the match played on October 5, 1987?
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_61 (name VARCHAR, pick__number VARCHAR, overall VARCHAR)
Question: Pick # of 25, and an Overall of 207 has what name?
[/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 (name VARCHAR, pick__number VARCHAR, overall VARCHAR)
Question: Pick # of 25, and an Overall of 207 has what name?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (independent_socialist_ticket VARCHAR, liberal_ticket VARCHAR)
Question: Who was the Independent Socialist candidate who ran against the Liberal candi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (independent_socialist_ticket VARCHAR, liberal_ticket VARCHAR)
Question: Who was the Independent Socialist candidate who ran against the Liberal candidate E... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR)
Question: what day was the game in argentina
[/INST]
Here is the SQLite query to answer to the question: what day was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR)
Question: what day was the game in argentina
Here is the SQLite query to answer to the question: what day was the game 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_70 (bronze VARCHAR, location VARCHAR)
Question: Who won the bronze when the Asian Games were in Doha?
[/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_70 (bronze VARCHAR, location VARCHAR)
Question: Who won the bronze when the Asian Games were in Doha?
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_27712702_11 (game INTEGER, date VARCHAR)
Question: What was the game number on march 27?
[/INST]
Here is the SQLite query to answer to the question: What was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27712702_11 (game INTEGER, date VARCHAR)
Question: What was the game number on march 27?
Here is the SQLite query to answer to the question: What was the game numb... | bugdaryan/sql-create-context-instruction | |
[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 (founded INTEGER, type VARCHAR, nickname VARCHAR)
Question: Which of the private colleges is the oldest, and whose nickname is the Mountaineers?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (founded INTEGER, type VARCHAR, nickname VARCHAR)
Question: Which of the private colleges is the oldest, and whose nickname is the Mountaineers?
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_7 (date VARCHAR, race_name VARCHAR)
Question: Which date was the x gran premio di napoli?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (date VARCHAR, race_name VARCHAR)
Question: Which date was the x gran premio di napoli?
Here is the SQLite query to answer to the question: Which date was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (date VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the date of the tournament where Kyoko Nagatsuka was the opponent in the final?
[/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 (date VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the date of the tournament where Kyoko Nagatsuka was the opponent in the final?
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_1341568_6 (status VARCHAR, party VARCHAR, elected VARCHAR)
Question: What is the elected status of the Democratic party in 1989?
[/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_1341568_6 (status VARCHAR, party VARCHAR, elected VARCHAR)
Question: What is the elected status of the Democratic party in 1989?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR)
Question: What is the area km2 of the area ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR)
Question: What is the area km2 of the area 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_name_67 (time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
Question: What is the time/retired when there are less than 22 laps and honda is the manufa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
Question: What is the time/retired when there are less than 22 laps and honda is the manufacturer... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, no_built VARCHAR, loco_nos VARCHAR)
Question: On what date were less than 10 built with a locomotive number of 31-35?
[/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_48 (date VARCHAR, no_built VARCHAR, loco_nos VARCHAR)
Question: On what date were less than 10 built with a locomotive number of 31-35?
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_16372244_1 (all_games VARCHAR, team VARCHAR)
Question: What is the all games for Maryland?
[/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_16372244_1 (all_games VARCHAR, team VARCHAR)
Question: What is the all games for Maryland?
Here is the SQLite query to answer to the question: What is the all game... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2015453_1 (team__number1 VARCHAR, date VARCHAR)
Question: Who was team #1 on 9 September 2006?
[/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_2015453_1 (team__number1 VARCHAR, date VARCHAR)
Question: Who was team #1 on 9 September 2006?
Here is the SQLite query to answer to the question: Who was team #1 ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30049462_8 (game VARCHAR, score VARCHAR)
Question: Name the game for l 111–126
[/INST]
Here is the SQLite query to answer to the question: Name the game for ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30049462_8 (game VARCHAR, score VARCHAR)
Question: Name the game for l 111–126
Here is the SQLite query to answer to the question: Name the game for l 111–126:
`... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, record VARCHAR)
Question: What is the score for 4-1?
[/INST]
Here is the SQLite query to answer to the question: What is the score for ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (score VARCHAR, record VARCHAR)
Question: What is the score for 4-1?
Here is the SQLite query to answer to the question: What is the score for 4-1?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (year VARCHAR, weight VARCHAR)
Question: What is the Year of the Player weighing 185?
[/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_45 (year VARCHAR, weight VARCHAR)
Question: What is the Year of the Player weighing 185?
Here is the SQLite query to answer to the question: What is the Year ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (jury VARCHAR, singer VARCHAR)
Question: Kostas Bigalis & Mirella Fragkopoulou the singer had what has the jury?
[/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_51 (jury VARCHAR, singer VARCHAR)
Question: Kostas Bigalis & Mirella Fragkopoulou the singer had what has the jury?
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_87 (author VARCHAR, first_issue VARCHAR)
Question: What is the Author of the Title with a First Issue of September 2010?
[/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_87 (author VARCHAR, first_issue VARCHAR)
Question: What is the Author of the Title with a First Issue of September 2010?
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_96 (goals_against INTEGER, club VARCHAR, ga_average VARCHAR)
Question: What is the highest goals against the goalkeeper of Dallas Burn, who had a GA aver... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (goals_against INTEGER, club VARCHAR, ga_average VARCHAR)
Question: What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average la... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (date VARCHAR, label VARCHAR, catalog VARCHAR)
Question: On what date was a record from Village Records with catalog VRCL-2205 released?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (date VARCHAR, label VARCHAR, catalog VARCHAR)
Question: On what date was a record from Village Records with catalog VRCL-2205 released?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (clock_speed__mhz_ INTEGER, introduced VARCHAR)
Question: With April 1986 as the introduced, what is the least clock speed (MHz)?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (clock_speed__mhz_ INTEGER, introduced VARCHAR)
Question: With April 1986 as the introduced, what is the least clock speed (MHz)?
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_20745759_1 (score VARCHAR, date VARCHAR)
Question: Name the score for march 29, 1997
[/INST]
Here is the SQLite query to answer to the question: Name the scor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20745759_1 (score VARCHAR, date VARCHAR)
Question: Name the score for march 29, 1997
Here is the SQLite query to answer to the question: Name the score for march 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336739_1 (party VARCHAR, incumbent VARCHAR)
Question: how many party classifications are there for the incumbent Mac Collins?
[/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_26336739_1 (party VARCHAR, incumbent VARCHAR)
Question: how many party classifications are there for the incumbent Mac Collins?
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_51 (result VARCHAR, venue VARCHAR)
Question: Tell me the result for venue of a
[/INST]
Here is the SQLite query to answer to the question: Tell me the re... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR)
Question: Tell me the result for venue of a
Here is the SQLite query to answer to the question: Tell me the result for venu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (year INTEGER, actor VARCHAR)
Question: What is the latest Year with Marianne Jean-Baptiste as the Golden Globe Actor?
[/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_50 (year INTEGER, actor VARCHAR)
Question: What is the latest Year with Marianne Jean-Baptiste as the Golden Globe Actor?
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_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2011 VARCHAR)
Question: What was the percentage increase in spending on international t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2011 VARCHAR)
Question: What was the percentage increase in spending on international tourism... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (opponents VARCHAR, venue VARCHAR)
Question: Who were the opposing team when playing in the Portugal venue?
[/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_49 (opponents VARCHAR, venue VARCHAR)
Question: Who were the opposing team when playing in the Portugal venue?
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_29 (position VARCHAR, player VARCHAR)
Question: Which Position has a Player of gibril wilson?
[/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_29 (position VARCHAR, player VARCHAR)
Question: Which Position has a Player of gibril wilson?
Here is the SQLite query to answer to the question: Which Positi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (poles INTEGER, position VARCHAR, team VARCHAR)
Question: What is the lowest poles of team comtec racing, which has a nc position?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (poles INTEGER, position VARCHAR, team VARCHAR)
Question: What is the lowest poles of team comtec racing, which has a nc position?
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_222666_1 (former_codes VARCHAR, new_country_names_and_codes VARCHAR)
Question: Name the former codes for merged into panama ( pa , pan , 591 )
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_222666_1 (former_codes VARCHAR, new_country_names_and_codes VARCHAR)
Question: Name the former codes for merged into panama ( pa , pan , 591 )
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (color_commentator_s_ VARCHAR, channel VARCHAR, year VARCHAR)
Question: Which Color commentator has a Channel of fsn new england, and a Year of 2004-0... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (color_commentator_s_ VARCHAR, channel VARCHAR, year VARCHAR)
Question: Which Color commentator has a Channel of fsn new england, and a Year of 2004-05?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE city (Status VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Host_city_ID VARCHAR)
Question: Show the status of the city that has hosted the greatest numb... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE city (Status VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Host_city_ID VARCHAR)
Question: Show the status of the city that has hosted the greatest 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 table_name_87 (year INTEGER, co_singer VARCHAR, film_name VARCHAR)
Question: Which year has the Co-singer solo and a Film name of bhagya debata?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (year INTEGER, co_singer VARCHAR, film_name VARCHAR)
Question: Which year has the Co-singer solo and a Film name of bhagya debata?
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_52 (year INTEGER, opponent VARCHAR)
Question: What is the highest Year, when Opponent is #2 Syracuse?
[/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_52 (year INTEGER, opponent VARCHAR)
Question: What is the highest Year, when Opponent is #2 Syracuse?
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_43 (year INTEGER, entrant VARCHAR, engine VARCHAR)
Question: How many years did Barclay Nordica Arrows BMW enter with Cosworth v8 engine?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (year INTEGER, entrant VARCHAR, engine VARCHAR)
Question: How many years did Barclay Nordica Arrows BMW enter with Cosworth v8 engine?
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_20170644_1 (cfl_team VARCHAR, player VARCHAR)
Question: What CFL team did Darcy Brown play for?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR)
Question: What CFL team did Darcy Brown play for?
Here is the SQLite query to answer to the question: What CFL team d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (Major VARCHAR)
Question: Show all majors.
[/INST]
Here is the SQLite query to answer to the question: Show all majors.:
```
SELECT DISTINCT Major FROM Stud... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (Major VARCHAR)
Question: Show all majors.
Here is the SQLite query to answer to the question: Show all majors.:
```
SELECT DISTINCT Major FROM Student
``` | bugdaryan/sql-create-context-instruction | |
[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 (affiliation VARCHAR, institution VARCHAR)
Question: What is Southern Illinois University Edwardsville's affiliation?
[/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_48 (affiliation VARCHAR, institution VARCHAR)
Question: What is Southern Illinois University Edwardsville's affiliation?
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_16976547_2 (immunity VARCHAR, cycle_no VARCHAR)
Question: Name the total number of immunity for cycle number of 13
[/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_16976547_2 (immunity VARCHAR, cycle_no VARCHAR)
Question: Name the total number of immunity for cycle number of 13
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_96 (points INTEGER, lost VARCHAR, games VARCHAR)
Question: Name the most points with lost more than 1 and games less than 5
[/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_96 (points INTEGER, lost VARCHAR, games VARCHAR)
Question: Name the most points with lost more than 1 and games less than 5
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_64 (against INTEGER, status VARCHAR)
Question: What is the average against for a test match?
[/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_64 (against INTEGER, status VARCHAR)
Question: What is the average against for a test match?
Here is the SQLite query to answer to the question: What is the 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_11447995_2 (haydon VARCHAR, larter VARCHAR, libweshya VARCHAR)
Question: What is Haydon when Larter is 11 and Libweshya is 4?
[/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_11447995_2 (haydon VARCHAR, larter VARCHAR, libweshya VARCHAR)
Question: What is Haydon when Larter is 11 and Libweshya is 4?
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_3 (place VARCHAR, score VARCHAR)
Question: what is the place when the score is 68-70-68=206?
[/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_3 (place VARCHAR, score VARCHAR)
Question: what is the place when the score is 68-70-68=206?
Here is the SQLite query to answer to the question: what is the 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_58 (father VARCHAR, mother VARCHAR)
Question: Who is the father of the child whose mother is Presendia Huntington Buell?
[/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_58 (father VARCHAR, mother VARCHAR)
Question: Who is the father of the child whose mother is Presendia Huntington Buell?
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_22834834_12 (year INTEGER)
Question: What is the latest year that data is available for?
[/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_22834834_12 (year INTEGER)
Question: What is the latest year that data is available for?
Here is the SQLite query to answer to the question: What is the latest yea... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, date VARCHAR)
Question: Which opponent has april 1 as the date?
[/INST]
Here is the SQLite query to answer to the question: Which o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR)
Question: Which opponent has april 1 as the date?
Here is the SQLite query to answer to the question: Which opponent has 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_2140071_12 (episode INTEGER, coach VARCHAR)
Question: Name the least episode for donnie klang
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2140071_12 (episode INTEGER, coach VARCHAR)
Question: Name the least episode for donnie klang
Here is the SQLite query to answer to the question: Name the least ep... | bugdaryan/sql-create-context-instruction | |
[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 (years VARCHAR, win_percentage VARCHAR)
Question: What year was the Win percentage 60%?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (years VARCHAR, win_percentage VARCHAR)
Question: What year was the Win percentage 60%?
Here is the SQLite query to answer to the question: What year was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (record VARCHAR, game VARCHAR, result VARCHAR, streak VARCHAR)
Question: Which Record has a Result of win, and a Streak of won 1, and a Game of 47?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (record VARCHAR, game VARCHAR, result VARCHAR, streak VARCHAR)
Question: Which Record has a Result of win, and a Streak of won 1, and a Game of 47?
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_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR)
Question: Which High rebounds has a Game smaller than 9, and a Opponent of detroit?
[/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_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR)
Question: Which High rebounds has a Game smaller than 9, and a Opponent of detroit?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (high_assists VARCHAR, record VARCHAR)
Question: Who had the high assists when the record was 33–15?
[/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_6 (high_assists VARCHAR, record VARCHAR)
Question: Who had the high assists when the record was 33–15?
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_4 (game VARCHAR, date VARCHAR)
Question: On the date April 11, what is the total game number?
[/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_4 (game VARCHAR, date VARCHAR)
Question: On the date April 11, what is the total game number?
Here is the SQLite query to answer to the question: On the date ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (Id VARCHAR)
Question: What is the average 2007 value for a 2006 of 2.8 and 2009 under 20?
[/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_6 (Id VARCHAR)
Question: What is the average 2007 value for a 2006 of 2.8 and 2009 under 20?
Here is the SQLite query to answer to the question: What is the 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 trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREAT... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABL... | bugdaryan/sql-create-context-instruction | |
[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 (award VARCHAR, year INTEGER)
Question: Which award took place after 2009?
[/INST]
Here is the SQLite query to answer to the question: Which award too... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (award VARCHAR, year INTEGER)
Question: Which award took place after 2009?
Here is the SQLite query to answer to the question: Which award took place after... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10812293_6 (high_assists VARCHAR, date VARCHAR)
Question: Who got high assists for the game played on February 9?
[/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_10812293_6 (high_assists VARCHAR, date VARCHAR)
Question: Who got high assists for the game played on February 9?
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_47 (term_start VARCHAR, title VARCHAR, order VARCHAR)
Question: What was the starting date for the Minister for agriculture, fisheries and forestry that ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (term_start VARCHAR, title VARCHAR, order VARCHAR)
Question: What was the starting date for the Minister for agriculture, fisheries and forestry that is 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_72 (competition VARCHAR, date VARCHAR, venue VARCHAR)
Question: What is Competition, when Date is "January 11, 1996", when Venue is "San Diego , United S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (competition VARCHAR, date VARCHAR, venue VARCHAR)
Question: What is Competition, when Date is "January 11, 1996", when Venue is "San Diego , United States"... | bugdaryan/sql-create-context-instruction | |
[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 (blagojevich__d_ VARCHAR, date VARCHAR)
Question: Which Blagojevich (D) happened on october 16, 2006?
[/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_77 (blagojevich__d_ VARCHAR, date VARCHAR)
Question: Which Blagojevich (D) happened on october 16, 2006?
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_24910733_1 (directed_by VARCHAR, written_by VARCHAR)
Question: Who is the director when the writter is Andrea Newman?
[/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_24910733_1 (directed_by VARCHAR, written_by VARCHAR)
Question: Who is the director when the writter is Andrea Newman?
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_44 (opponents_in_the_final VARCHAR, partnering VARCHAR)
Question: Who are the finals opponents for the match with partner Ricardo Hocevar?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (opponents_in_the_final VARCHAR, partnering VARCHAR)
Question: Who are the finals opponents for the match with partner Ricardo Hocevar?
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_18365784_3 (arrival VARCHAR, departure VARCHAR)
Question: What was the arrival time of the train that departed at 18.16?
[/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_18365784_3 (arrival VARCHAR, departure VARCHAR)
Question: What was the arrival time of the train that departed at 18.16?
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_15 (votes INTEGER, governorate VARCHAR)
Question: Which Votes has a Governorate of hewler?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (votes INTEGER, governorate VARCHAR)
Question: Which Votes has a Governorate of hewler?
Here is the SQLite query to answer to the question: Which Votes has... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE files (f_id VARCHAR, formats VARCHAR)
Question: What are the id of songs whose format is mp3.
[/INST]
Here is the SQLite query to answer to the question: What are t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE files (f_id VARCHAR, formats VARCHAR)
Question: What are the id of songs whose format is mp3.
Here is the SQLite query to answer to the question: What are the id of song... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR)
Question: How many distinct transaction types are used in the transactions?
[/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 TRANSACTIONS (transaction_type_code VARCHAR)
Question: How many distinct transaction types are used in the transactions?
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_70 (name VARCHAR, constituency_number VARCHAR)
Question: what is the name when the constituency number is 150?
[/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_70 (name VARCHAR, constituency_number VARCHAR)
Question: what is the name when the constituency number is 150?
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_6 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: What is the Frequency MHz of Trinidad, Colorado?
[/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_6 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: What is the Frequency MHz of Trinidad, Colorado?
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_26 (district VARCHAR, member_senator VARCHAR)
Question: What district for ulysses currie?
[/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_26 (district VARCHAR, member_senator VARCHAR)
Question: What district for ulysses currie?
Here is the SQLite query to answer to the question: What district fo... | bugdaryan/sql-create-context-instruction | |
[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 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR)
Question: What is the average Top-5 finishes with 2 as the Top-10 and a greater than 4 Top-25?
[/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 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR)
Question: What is the average Top-5 finishes with 2 as the Top-10 and a greater than 4 Top-25?
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_15 (player VARCHAR, school VARCHAR)
Question: What is the player that is from seattle prep?
[/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_15 (player VARCHAR, school VARCHAR)
Question: What is the player that is from seattle prep?
Here is the SQLite query to answer to the question: What is the pl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27733909_10 (location_attendance VARCHAR, date VARCHAR)
Question: How many locations did the game that was on April 8 take place at?
[/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_27733909_10 (location_attendance VARCHAR, date VARCHAR)
Question: How many locations did the game that was on April 8 take place at?
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_66 (round INTEGER, pick VARCHAR)
Question: What is the lowest Round, when Pick is 9 (via Hamilton)?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (round INTEGER, pick VARCHAR)
Question: What is the lowest Round, when Pick is 9 (via Hamilton)?
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_22514845_5 (s_host VARCHAR, s_analyst VARCHAR)
Question: Name the host for john rotz and howard cosell
[/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_22514845_5 (s_host VARCHAR, s_analyst VARCHAR)
Question: Name the host for john rotz and howard cosell
Here is the SQLite query to answer to the question: Name th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (years INTEGER, lost VARCHAR, tied VARCHAR, total_games VARCHAR)
Question: What is the year total for teams with under 37 games tied, over 33 games, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (years INTEGER, lost VARCHAR, tied VARCHAR, total_games VARCHAR)
Question: What is the year total for teams with under 37 games tied, over 33 games, and 15 l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR)
Question: What was the population of сурдук in 2011?
[/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_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR)
Question: What was the population of сурдук in 2011?
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 (name VARCHAR, length_meters VARCHAR, km_from_kingston VARCHAR)
Question: What is Name, when Length Meters is greater than 66.4, and when Km From King... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (name VARCHAR, length_meters VARCHAR, km_from_kingston VARCHAR)
Question: What is Name, when Length Meters is greater than 66.4, and when Km From Kingston 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_17487395_1 (location VARCHAR, callsign VARCHAR)
Question: How many locations have the call signs dxjp-fm?
[/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_17487395_1 (location VARCHAR, callsign VARCHAR)
Question: How many locations have the call signs dxjp-fm?
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_2509113_2 (vinto_municipality INTEGER, language VARCHAR)
Question: If the language is Spanish, what is the Vinto Municipality minimum?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, language VARCHAR)
Question: If the language is Spanish, what is the Vinto Municipality minimum?
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_10707176_2 (winning_driver VARCHAR, rnd VARCHAR)
Question: How many winning drivers were the for the rnd equalling 5?
[/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_10707176_2 (winning_driver VARCHAR, rnd VARCHAR)
Question: How many winning drivers were the for the rnd equalling 5?
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_74 (score INTEGER, player VARCHAR, to_par VARCHAR, country VARCHAR)
Question: What is the score when To par was −3, in South Africa, for Richard Sterne?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (score INTEGER, player VARCHAR, to_par VARCHAR, country VARCHAR)
Question: What is the score when To par was −3, in South Africa, for Richard Sterne?
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_18 (score VARCHAR, date VARCHAR)
Question: What score has October 31 as the date?
[/INST]
Here is the SQLite query to answer to the question: What score ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR)
Question: What score has October 31 as the date?
Here is the SQLite query to answer to the question: What score has October 3... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, hdtv VARCHAR, content VARCHAR)
Question: What is Country, when HDTV is yes, and when Content is cinema?
[/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_29 (country VARCHAR, hdtv VARCHAR, content VARCHAR)
Question: What is Country, when HDTV is yes, and when Content is cinema?
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_98 (outcome VARCHAR, opponent_in_the_final VARCHAR)
Question: What is Outcome, when Opponent in The Final is "Bill Scanlon"?
[/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_98 (outcome VARCHAR, opponent_in_the_final VARCHAR)
Question: What is Outcome, when Opponent in The Final is "Bill Scanlon"?
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_87 (week VARCHAR, date VARCHAR)
Question: What is the Week with a Date of Bye?
[/INST]
Here is the SQLite query to answer to the question: What is the We... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (week VARCHAR, date VARCHAR)
Question: What is the Week with a Date of Bye?
Here is the SQLite query to answer to the question: What is the Week with a Dat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR, job VARCHAR, gender VARCHAR)
Question: Find the male friend of Alice whose job is a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR, job VARCHAR, gender VARCHAR)
Question: Find the male friend of Alice whose job is a doctor... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226343_1 (miles__km_ VARCHAR, date VARCHAR)
Question: What are the miles when February 25 is the date?
[/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_2226343_1 (miles__km_ VARCHAR, date VARCHAR)
Question: What are the miles when February 25 is the date?
Here is the SQLite query to answer to the question: What ar... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22673872_1 (location VARCHAR, pole_position VARCHAR)
Question: Which locations did Gordon Johncock hold the pole position?
[/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_22673872_1 (location VARCHAR, pole_position VARCHAR)
Question: Which locations did Gordon Johncock hold the pole position?
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_96 (name VARCHAR, nationality VARCHAR, rank VARCHAR, time VARCHAR, lane VARCHAR)
Question: Which Name has a Time larger than 53.06, and a Lane smaller th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (name VARCHAR, nationality VARCHAR, rank VARCHAR, time VARCHAR, lane VARCHAR)
Question: Which Name has a Time larger than 53.06, and a Lane smaller than 8, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27723526_9 (location_attendance VARCHAR, team VARCHAR)
Question: What location did the Mavericks play against Milwaukee?
[/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_27723526_9 (location_attendance VARCHAR, team VARCHAR)
Question: What location did the Mavericks play against Milwaukee?
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_1661124_1 (target VARCHAR, approved_treatment_s_ VARCHAR)
Question: What is the target when the approved treatment is non-hodgkin lymphoma?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1661124_1 (target VARCHAR, approved_treatment_s_ VARCHAR)
Question: What is the target when the approved treatment is non-hodgkin lymphoma?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2482547_5 (name VARCHAR, average VARCHAR)
Question: What are the names of all the players with an average of 15.89?
[/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_2482547_5 (name VARCHAR, average VARCHAR)
Question: What are the names of all the players with an average of 15.89?
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_20 (venue VARCHAR, notes VARCHAR, year VARCHAR)
Question: Which Venue has a Notes of heptathlon, and a Year of 1991?
[/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_20 (venue VARCHAR, notes VARCHAR, year VARCHAR)
Question: Which Venue has a Notes of heptathlon, and a Year of 1991?
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_23585197_3 (artist VARCHAR, songwriter_s_ VARCHAR)
Question: Which artist sang the song that ingela hemming wrote?
[/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_23585197_3 (artist VARCHAR, songwriter_s_ VARCHAR)
Question: Which artist sang the song that ingela hemming wrote?
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_63 (home VARCHAR, visitor VARCHAR)
Question: Who was the home team that played against the visiting team Minnesota?
[/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_63 (home VARCHAR, visitor VARCHAR)
Question: Who was the home team that played against the visiting team Minnesota?
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_60 (class VARCHAR, number_at_lincoln VARCHAR, wheel_arrangement VARCHAR)
Question: Which Class has a Number at Lincoln smaller than 1 and a Wheel Arrange... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (class VARCHAR, number_at_lincoln VARCHAR, wheel_arrangement VARCHAR)
Question: Which Class has a Number at Lincoln smaller than 1 and a Wheel Arrangement 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_22355_20 (athlete VARCHAR, rank VARCHAR, olympics VARCHAR)
Question: Who is the athlete who's rank is 8 and competed in the olympics during 1948–1952?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_20 (athlete VARCHAR, rank VARCHAR, olympics VARCHAR)
Question: Who is the athlete who's rank is 8 and competed in the olympics during 1948–1952?
Here is the ... | 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.