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_22982552_9 (class_year INTEGER, teams VARCHAR)
Question: What class year was the player who played for Buffalo from?
[/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_22982552_9 (class_year INTEGER, teams VARCHAR)
Question: What class year was the player who played for Buffalo from?
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_17257687_1 (air_date VARCHAR, event_2 VARCHAR)
Question: On what date was the episode aired where event 2 was Hang Tough?
[/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_17257687_1 (air_date VARCHAR, event_2 VARCHAR)
Question: On what date was the episode aired where event 2 was Hang Tough?
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_16400024_1 (release_price___usd__ VARCHAR, model_number VARCHAR)
Question: How many release prices are there for the Pentium iii 550?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16400024_1 (release_price___usd__ VARCHAR, model_number VARCHAR)
Question: How many release prices are there for the Pentium iii 550?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262476_1 (location VARCHAR, institution VARCHAR)
Question: Name where bethany college is
[/INST]
Here is the SQLite query to answer to the question: Name wher... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262476_1 (location VARCHAR, institution VARCHAR)
Question: Name where bethany college is
Here is the SQLite query to answer to the question: Name where bethany col... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19412902_2 (pos INTEGER)
Question: What is the lowest position?
[/INST]
Here is the SQLite query to answer to the question: What is the lowest position?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19412902_2 (pos INTEGER)
Question: What is the lowest position?
Here is the SQLite query to answer to the question: What is the lowest position?:
```
SELECT MAX(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_27512025_1 (program VARCHAR, type VARCHAR)
Question: How many types are cardio?
[/INST]
Here is the SQLite query to answer to the question: How many types are... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27512025_1 (program VARCHAR, type VARCHAR)
Question: How many types are cardio?
Here is the SQLite query to answer to the question: How many types are cardio?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1266602_1 (crew_chief VARCHAR, team VARCHAR)
Question: What's the total number of crew chiefs of the Fas Lane Racing team?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1266602_1 (crew_chief VARCHAR, team VARCHAR)
Question: What's the total number of crew chiefs of the Fas Lane Racing team?
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_83 (score VARCHAR, opponent VARCHAR)
Question: What was the Score in the game against the Buffalo Sabres?
[/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_83 (score VARCHAR, opponent VARCHAR)
Question: What was the Score in the game against the Buffalo Sabres?
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_9 (attendance VARCHAR, week VARCHAR)
Question: How many people were in attendance for the game week 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_9 (attendance VARCHAR, week VARCHAR)
Question: How many people were in attendance for the game week 15?
Here is the SQLite query to answer to the question: Ho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12791809_1 (super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR, freight_carried_s_tonne VARCHAR)
Question: When was the super b capacity reached whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12791809_1 (super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR, freight_carried_s_tonne VARCHAR)
Question: When was the super b capacity reached when the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (laps INTEGER, grid VARCHAR, constructor VARCHAR, driver VARCHAR)
Question: What is the average number of laps for mika salo's arrows car with a grid o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (laps INTEGER, grid VARCHAR, constructor VARCHAR, driver VARCHAR)
Question: What is the average number of laps for mika salo's arrows car with a grid over 13... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22875369_3 (date VARCHAR, irish_points VARCHAR)
Question: Name the date for irish points being 89
[/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_22875369_3 (date VARCHAR, irish_points VARCHAR)
Question: Name the date for irish points being 89
Here is the SQLite query to answer to the question: Name 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 Student (advisor VARCHAR)
Question: How many different advisors are listed?
[/INST]
Here is the SQLite query to answer to the question: How many different advisors ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (advisor VARCHAR)
Question: How many different advisors are listed?
Here is the SQLite query to answer to the question: How many different advisors are listed?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18598175_2 (elimination_number INTEGER, time VARCHAR)
Question: What was the elimination number of the fighter who fought within 26:15?
[/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_18598175_2 (elimination_number INTEGER, time VARCHAR)
Question: What was the elimination number of the fighter who fought within 26:15?
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_4 (ends_won INTEGER, ends_lost VARCHAR, shot__percentage VARCHAR)
Question: What is the highest number of ends won of 47 Ends Lost and a Shot % less than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (ends_won INTEGER, ends_lost VARCHAR, shot__percentage VARCHAR)
Question: What is the highest number of ends won of 47 Ends Lost and a Shot % less than 73?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (country VARCHAR, place VARCHAR, score VARCHAR)
Question: Which country had a t4 place and scored 66-73=139?
[/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_42 (country VARCHAR, place VARCHAR, score VARCHAR)
Question: Which country had a t4 place and scored 66-73=139?
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_63 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
Question: What time has a lane less than 5, with Poland as the nationality?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
Question: What time has a lane less than 5, with Poland as the nationality?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24689168_5 (episode VARCHAR, viewers__millions_ VARCHAR)
Question: what episode number had 11.73 million viewers?
[/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_24689168_5 (episode VARCHAR, viewers__millions_ VARCHAR)
Question: what episode number had 11.73 million viewers?
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_90 (number INTEGER, hometown VARCHAR)
Question: What is the lowest number of the player with a hometown of Bellwood, IL?
[/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_90 (number INTEGER, hometown VARCHAR)
Question: What is the lowest number of the player with a hometown of Bellwood, IL?
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_82 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR)
Question: What were the investment earnings in the year that State and Federal taxes w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR)
Question: What were the investment earnings in the year that State and Federal taxes were $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_11677760_31 (height VARCHAR, college VARCHAR)
Question: What is the height of the player that went to ohio state?
[/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_11677760_31 (height VARCHAR, college VARCHAR)
Question: What is the height of the player that went to ohio state?
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_28 (series VARCHAR, position VARCHAR, season VARCHAR, podiums VARCHAR)
Question: What is the Series, when the Season is after 2008, when the value for Po... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (series VARCHAR, position VARCHAR, season VARCHAR, podiums VARCHAR)
Question: What is the Series, when the Season is after 2008, when the value for Podiums ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE cmi_cross_references (source_system_code VARCHAR)
Question: Which distinct source system code includes the substring 'en'?
[/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 cmi_cross_references (source_system_code VARCHAR)
Question: Which distinct source system code includes the substring 'en'?
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_28 (votes VARCHAR, candidate VARCHAR, counties VARCHAR)
Question: What is the number of votes when Ron Paul is the candidate with less than 0 counties?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (votes VARCHAR, candidate VARCHAR, counties VARCHAR)
Question: What is the number of votes when Ron Paul is the candidate with less than 0 counties?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (score VARCHAR, home VARCHAR, record VARCHAR)
Question: What is the score for the Chicago Black Hawks game with a record of 2-1?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (score VARCHAR, home VARCHAR, record VARCHAR)
Question: What is the score for the Chicago Black Hawks game with a record of 2-1?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (player VARCHAR, position VARCHAR)
Question: Which player is a centre?
[/INST]
Here is the SQLite query to answer to the question: Which player is a c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (player VARCHAR, position VARCHAR)
Question: Which player is a centre?
Here is the SQLite query to answer to the question: Which player is a centre?:
```
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_31 (area__km_2__ INTEGER, most_spoken_language VARCHAR, place VARCHAR)
Question: What is the lowest area for cannonvale that speaks afrikaans?
[/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_31 (area__km_2__ INTEGER, most_spoken_language VARCHAR, place VARCHAR)
Question: What is the lowest area for cannonvale that speaks afrikaans?
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_9 (total INTEGER, year_s__won VARCHAR)
Question: Which Total has a Year(s) won of 1991?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (total INTEGER, year_s__won VARCHAR)
Question: Which Total has a Year(s) won of 1991?
Here is the SQLite query to answer to the question: Which Total 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_20872722_1 (height VARCHAR, position VARCHAR)
Question: What is the height of the cornerback position?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20872722_1 (height VARCHAR, position VARCHAR)
Question: What is the height of the cornerback position?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (quantity_made VARCHAR, class VARCHAR)
Question: How many CLASS P14 trains were made?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (quantity_made VARCHAR, class VARCHAR)
Question: How many CLASS P14 trains were made?
Here is the SQLite query to answer to the question: How many CLASS P14... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, school_club_team VARCHAR)
Question: Which position has a player at Arizona state?
[/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_95 (position VARCHAR, school_club_team VARCHAR)
Question: Which position has a player at Arizona state?
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 College (enr INTEGER)
Question: How many colleges has more than 15000 students?
[/INST]
Here is the SQLite query to answer to the question: How many colleges has mo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE College (enr INTEGER)
Question: How many colleges has more than 15000 students?
Here is the SQLite query to answer to the question: How many colleges has more than 15000... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342331_11 (result VARCHAR, first_elected VARCHAR)
Question: What was the result of the election held in 1914?
[/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_1342331_11 (result VARCHAR, first_elected VARCHAR)
Question: What was the result of the election held in 1914?
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_8 (tournament VARCHAR)
Question: Which tournament had 1R in 2013?
[/INST]
Here is the SQLite query to answer to the question: Which tournament had 1R in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (tournament VARCHAR)
Question: Which tournament had 1R in 2013?
Here is the SQLite query to answer to the question: Which tournament had 1R in 2013?:
```
SE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_13 (year_born INTEGER, current_club VARCHAR)
Question: What is the minimum year born for strasbourg?
[/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_12962773_13 (year_born INTEGER, current_club VARCHAR)
Question: What is the minimum year born for strasbourg?
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_96 (est VARCHAR, league VARCHAR, state_province VARCHAR, city VARCHAR)
Question: In what year was the NFL team in chicago illinois established?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (est VARCHAR, league VARCHAR, state_province VARCHAR, city VARCHAR)
Question: In what year was the NFL team in chicago illinois established?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (Id VARCHAR)
Question: Which car won the same award in 2001 that the toyota 1nz-fxe hybrid prius won in 1999?
[/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_76 (Id VARCHAR)
Question: Which car won the same award in 2001 that the toyota 1nz-fxe hybrid prius won in 1999?
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_22 (surface VARCHAR, tournament VARCHAR)
Question: What surface was the città di caltanissetta played on?
[/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_22 (surface VARCHAR, tournament VARCHAR)
Question: What surface was the città di caltanissetta played on?
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_57 (laid_down VARCHAR, ship VARCHAR)
Question: Which Laid down has a Ship of fearless?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (laid_down VARCHAR, ship VARCHAR)
Question: Which Laid down has a Ship of fearless?
Here is the SQLite query to answer to the question: Which Laid down 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 table_name_32 (save VARCHAR, opponent VARCHAR, loss VARCHAR)
Question: Who earned the save in the game against the Sinon Bulls when Jeriome Robertson took the loss?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (save VARCHAR, opponent VARCHAR, loss VARCHAR)
Question: Who earned the save in the game against the Sinon Bulls when Jeriome Robertson took the loss?
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_96 (status VARCHAR, name VARCHAR)
Question: What is the status of Prenocephale?
[/INST]
Here is the SQLite query to answer to the question: What is the s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (status VARCHAR, name VARCHAR)
Question: What is the status of Prenocephale?
Here is the SQLite query to answer to the question: What is the status of Pren... | bugdaryan/sql-create-context-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_5 (galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR)
Question: What is the Galician (reintegrationist) word of the Galician (Offi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26614365_5 (galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR)
Question: What is the Galician (reintegrationist) word of the Galician (Official) ... | bugdaryan/sql-create-context-instruction | |
[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 (games VARCHAR, name VARCHAR)
Question: Which game is named tsegay kebede category:articles with hcards?
[/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_70 (games VARCHAR, name VARCHAR)
Question: Which game is named tsegay kebede category:articles with hcards?
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_26240046_1 (season_4 INTEGER, character VARCHAR)
Question: How many season 4 appearances are there by Mrs. Jennifer Knight?
[/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_26240046_1 (season_4 INTEGER, character VARCHAR)
Question: How many season 4 appearances are there by Mrs. Jennifer Knight?
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_25711913_8 (player VARCHAR, position VARCHAR)
Question: Which player was at position left tackle?
[/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_25711913_8 (player VARCHAR, position VARCHAR)
Question: Which player was at position left tackle?
Here is the SQLite query to answer to the question: Which player ... | bugdaryan/sql-create-context-instruction | |
[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 (outgoing_manager VARCHAR, team VARCHAR)
Question: WHo was the outgoing manager for the team of fc carl zeiss jena?
[/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_name_36 (outgoing_manager VARCHAR, team VARCHAR)
Question: WHo was the outgoing manager for the team of fc carl zeiss jena?
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_78 (part_1 VARCHAR, class VARCHAR)
Question: what is part 1 when the class is 7d?
[/INST]
Here is the SQLite query to answer to the question: what is par... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (part_1 VARCHAR, class VARCHAR)
Question: what is part 1 when the class is 7d?
Here is the SQLite query to answer to the question: what is part 1 when 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_51 (aircraft VARCHAR)
Question: What was the aircraft damage for the Boeing 707-320B?
[/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_name_51 (aircraft VARCHAR)
Question: What was the aircraft damage for the Boeing 707-320B?
Here is the SQLite query to answer to the question: What was the aircraf... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (iata VARCHAR, icao VARCHAR)
Question: Which IATA has a ICAO of slk?
[/INST]
Here is the SQLite query to answer to the question: Which IATA has a ICAO... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (iata VARCHAR, icao VARCHAR)
Question: Which IATA has a ICAO of slk?
Here is the SQLite query to answer to the question: Which IATA has a ICAO of slk?:
```... | bugdaryan/sql-create-context-instruction | |
[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 (results¹ VARCHAR, opponent VARCHAR)
Question: What was the result of the game against Hungary?
[/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_54 (results¹ VARCHAR, opponent VARCHAR)
Question: What was the result of the game against Hungary?
Here is the SQLite query to answer to the question: What wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Documents (document_ID VARCHAR, document_name VARCHAR); CREATE TABLE Paragraphs (document_ID VARCHAR)
Question: How many paragraphs for the document with name 'Summ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Documents (document_ID VARCHAR, document_name VARCHAR); CREATE TABLE Paragraphs (document_ID VARCHAR)
Question: How many paragraphs for the document with name 'Summer Sho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (sets VARCHAR, player VARCHAR)
Question: How many Sets did Gary Muller have?
[/INST]
Here is the SQLite query to answer to the question: How many Sets... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (sets VARCHAR, player VARCHAR)
Question: How many Sets did Gary Muller have?
Here is the SQLite query to answer to the question: How many Sets did Gary Mul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE photos (mountain_id VARCHAR); CREATE TABLE mountain (id VARCHAR, name VARCHAR, height INTEGER)
Question: What are the id and name of the photos for mountains?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE photos (mountain_id VARCHAR); CREATE TABLE mountain (id VARCHAR, name VARCHAR, height INTEGER)
Question: What are the id and name of the photos for mountains?
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_2897457_8 (player VARCHAR, nhl_team VARCHAR)
Question: Who was drafted to the Vancouver Canucks?
[/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_2897457_8 (player VARCHAR, nhl_team VARCHAR)
Question: Who was drafted to the Vancouver Canucks?
Here is the SQLite query to answer to the question: Who was drafte... | bugdaryan/sql-create-context-instruction | |
[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 (rank__pakistan_ VARCHAR, world_rank VARCHAR, height__m_ VARCHAR)
Question: What is the Rank (Pakistan) of the mountain that has a World Rank smaller ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (rank__pakistan_ VARCHAR, world_rank VARCHAR, height__m_ VARCHAR)
Question: What is the Rank (Pakistan) of the mountain that has a World Rank smaller than 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_name_43 (bronze INTEGER, points VARCHAR, gold VARCHAR)
Question: For clubs that have 0 gold and less than 5 points, what is the average amount of bronze medal... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (bronze INTEGER, points VARCHAR, gold VARCHAR)
Question: For clubs that have 0 gold and less than 5 points, what is the average amount of bronze medals?
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 table_name_97 (super_cup VARCHAR, league VARCHAR, title_playoff VARCHAR, total VARCHAR)
Question: What is the total number of Super Cup, when Title Playoff is "0", ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (super_cup VARCHAR, league VARCHAR, title_playoff VARCHAR, total VARCHAR)
Question: What is the total number of Super Cup, when Title Playoff is "0", when 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_62 (date VARCHAR, week VARCHAR, attendance VARCHAR)
Question: What is the date of the game later than week 13 and 41,862 people attended?
[/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_62 (date VARCHAR, week VARCHAR, attendance VARCHAR)
Question: What is the date of the game later than week 13 and 41,862 people attended?
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_name_5 (lead VARCHAR, event VARCHAR)
Question: Who was the lead for the 2008 WCC?
[/INST]
Here is the SQLite query to answer to the question: Who was the lead... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (lead VARCHAR, event VARCHAR)
Question: Who was the lead for the 2008 WCC?
Here is the SQLite query to answer to the question: Who was the lead for the 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_29504351_2 (best_finish VARCHAR, earnings__$_ VARCHAR)
Question: What is the best finish for the player whose earnings was $421050?
[/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_29504351_2 (best_finish VARCHAR, earnings__$_ VARCHAR)
Question: What is the best finish for the player whose earnings was $421050?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team when the away team was Footscray?
[/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_55 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team when the away team was Footscray?
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_52 (points INTEGER, grid VARCHAR, time_retired VARCHAR)
Question: What is the smallest point total when the grid is larger than 5 and the time/retired is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (points INTEGER, grid VARCHAR, time_retired VARCHAR)
Question: What is the smallest point total when the grid is larger than 5 and the time/retired is fire?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, ss_winning_car VARCHAR)
Question: Name the total number of b winning car and bobby archer, tommy archer
[/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_27965906_2 (b_winning_car VARCHAR, ss_winning_car VARCHAR)
Question: Name the total number of b winning car and bobby archer, tommy archer
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 Apartment_Buildings (building_full_name VARCHAR)
Question: What are the building full names that contain the word "court"?
[/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 Apartment_Buildings (building_full_name VARCHAR)
Question: What are the building full names that contain the word "court"?
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_17 (points VARCHAR, driver VARCHAR)
Question: How many points does driver kosuke matsuura have?
[/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_17 (points VARCHAR, driver VARCHAR)
Question: How many points does driver kosuke matsuura have?
Here is the SQLite query to answer to the question: How many 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 song (Singer_ID VARCHAR); CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR)
Question: Show the names of singers that have more than one song.
[/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 song (Singer_ID VARCHAR); CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR)
Question: Show the names of singers that have more than one song.
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_name_43 (winner VARCHAR, year VARCHAR, date VARCHAR)
Question: Who was the winning team before 1956 on October 21?
[/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_43 (winner VARCHAR, year VARCHAR, date VARCHAR)
Question: Who was the winning team before 1956 on October 21?
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 (weight VARCHAR, block VARCHAR)
Question: What is the total number of Weight(s), when Block is 300?
[/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_26 (weight VARCHAR, block VARCHAR)
Question: What is the total number of Weight(s), when Block is 300?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (to_par VARCHAR, place VARCHAR, player VARCHAR)
Question: What is the to par of player ed sneed, who has a t5 place?
[/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_45 (to_par VARCHAR, place VARCHAR, player VARCHAR)
Question: What is the to par of player ed sneed, who has a t5 place?
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_16 (heat INTEGER, rank VARCHAR)
Question: Which Heat has a Rank of 8?
[/INST]
Here is the SQLite query to answer to the question: Which Heat has a Rank o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (heat INTEGER, rank VARCHAR)
Question: Which Heat has a Rank of 8?
Here is the SQLite query to answer to the question: Which Heat has a Rank of 8?:
```
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_90 (year VARCHAR, award VARCHAR)
Question: How many times was the award inte awards?
[/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_name_90 (year VARCHAR, award VARCHAR)
Question: How many times was the award inte awards?
Here is the SQLite query to answer to the question: How many times was 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_21378339_5 (artist VARCHAR, panel_points VARCHAR)
Question: Name the number of artists for panel points being 5
[/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_21378339_5 (artist VARCHAR, panel_points VARCHAR)
Question: Name the number of artists for panel points being 5
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (silver INTEGER, rank VARCHAR, total VARCHAR)
Question: What is the most number of silvers for teams in rank 5 with more than 6 total medals?
[/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 (silver INTEGER, rank VARCHAR, total VARCHAR)
Question: What is the most number of silvers for teams in rank 5 with more than 6 total medals?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR)
Question: What Player is from Argentina and whose position is a guard-forward?
[/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 (player VARCHAR, position VARCHAR, nationality VARCHAR)
Question: What Player is from Argentina and whose position is a guard-forward?
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_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
Question: Which race did Alberto Ascari have both the Pole position ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
Question: Which race did Alberto Ascari have both the Pole position and 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_93 (ihsaa_football_class VARCHAR, location VARCHAR)
Question: What is the IHSAA Football class at Culver?
[/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_93 (ihsaa_football_class VARCHAR, location VARCHAR)
Question: What is the IHSAA Football class at Culver?
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_24798489_1 (original_airdate VARCHAR, challenge VARCHAR)
Question: What is the original airdate of the episode where the challenge was three overstuffed sandw... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24798489_1 (original_airdate VARCHAR, challenge VARCHAR)
Question: What is the original airdate of the episode where the challenge was three overstuffed sandwiches?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15988037_4 (second_place VARCHAR, winner VARCHAR)
Question: Who got second place when the winners were rafał mroczek & aneta piotrowska?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15988037_4 (second_place VARCHAR, winner VARCHAR)
Question: Who got second place when the winners were rafał mroczek & aneta piotrowska?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29785324_5 (constituency_no INTEGER, vidhan_sabha_constituency VARCHAR)
Question: How many were in the Kargahar (vidhan sabha constituency)?
[/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_29785324_5 (constituency_no INTEGER, vidhan_sabha_constituency VARCHAR)
Question: How many were in the Kargahar (vidhan sabha constituency)?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (country VARCHAR, name VARCHAR, status VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR)
Question: What country has a Transfer fee of —, and a T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (country VARCHAR, name VARCHAR, status VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR)
Question: What country has a Transfer fee of —, and a Transfe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (away_team VARCHAR, crowd INTEGER)
Question: Which Away team score has a Crowd larger than 6,000?
[/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_21 (away_team VARCHAR, crowd INTEGER)
Question: Which Away team score has a Crowd larger than 6,000?
Here is the SQLite query to answer to the question: Which... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20688030_1 (mccain_number VARCHAR, obama_percentage VARCHAR)
Question: What is McCains percent when Obamas is 39.13%
[/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_20688030_1 (mccain_number VARCHAR, obama_percentage VARCHAR)
Question: What is McCains percent when Obamas is 39.13%
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_22464685_1 (author VARCHAR, transliteration VARCHAR)
Question: who is the auther when the transliteration is lasha-giorgis droindeli matiane?
[/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_22464685_1 (author VARCHAR, transliteration VARCHAR)
Question: who is the auther when the transliteration is lasha-giorgis droindeli matiane?
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_77 (married_filing_separately VARCHAR, single VARCHAR)
Question: Name the married filing separately for single of $0–$8,350
[/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_77 (married_filing_separately VARCHAR, single VARCHAR)
Question: Name the married filing separately for single of $0–$8,350
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_48 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)
Question: What is the days held the champion with a reign larger than 3 and 1 defense has?
[/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 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)
Question: What is the days held the champion with a reign larger than 3 and 1 defense has?
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_46 (band INTEGER, power__w_ INTEGER)
Question: What Band number has a Power (W) of 400 or less?
[/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_46 (band INTEGER, power__w_ INTEGER)
Question: What Band number has a Power (W) of 400 or less?
Here is the SQLite query to answer to the question: What Band ... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, home_team VARCHAR)
Question: What is the average crowd size when fitzroy plays at home?
[/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_41 (crowd INTEGER, home_team VARCHAR)
Question: What is the average crowd size when fitzroy plays at home?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (date VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: What is Date, when Outcome is "Winner", and when Surface is "Grass"?
[/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_72 (date VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: What is Date, when Outcome is "Winner", and when Surface is "Grass"?
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_26259391_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
Question: how many u.s. viewers (million) have seen a production written by chris sheridan & dan... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26259391_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
Question: how many u.s. viewers (million) have seen a production written by chris sheridan & danny smi... | bugdaryan/sql-create-context-instruction | |
[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 (bronze INTEGER, silver INTEGER)
Question: What's the biggest Bronze that has less than 0 Silvers?
[/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_73 (bronze INTEGER, silver INTEGER)
Question: What's the biggest Bronze that has less than 0 Silvers?
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_22171978_1 (founded VARCHAR, athletic_nickname VARCHAR)
Question: What year was the athletic nickname blue crusaders founded?
[/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_22171978_1 (founded VARCHAR, athletic_nickname VARCHAR)
Question: What year was the athletic nickname blue crusaders founded?
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_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)
Question: In what year and location did Wang Liqin win the Mens Singles?
[/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_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)
Question: In what year and location did Wang Liqin win the Mens Singles?
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_8 (games_played VARCHAR, goals_for INTEGER)
Question: what is the total number of games played when the goals for is less than 30?
[/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_8 (games_played VARCHAR, goals_for INTEGER)
Question: what is the total number of games played when the goals for is less than 30?
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 Rating (stars VARCHAR, ratingDate VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rating (stars VARCHAR, ratingDate VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
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_35 (tie_no VARCHAR, home_team VARCHAR)
Question: What is the tie number for the home team Orient?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (tie_no VARCHAR, home_team VARCHAR)
Question: What is the tie number for the home team Orient?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (lane VARCHAR, name VARCHAR)
Question: What lane was Henrique Barbosa in?
[/INST]
Here is the SQLite query to answer to the question: What lane was He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (lane VARCHAR, name VARCHAR)
Question: What lane was Henrique Barbosa in?
Here is the SQLite query to answer to the question: What lane was Henrique Barbos... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stadium (country VARCHAR)
Question: How many stadiums are not in country "Russia"?
[/INST]
Here is the SQLite query to answer to the question: How many stadiums are... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stadium (country VARCHAR)
Question: How many stadiums are not in country "Russia"?
Here is the SQLite query to answer to the question: How many stadiums are not in count... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
Question: Result of l, and a Competition of 1966 asian games, and a Score of 0–1 ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
Question: Result of l, and a Competition of 1966 asian games, and a Score of 0–1 had what... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (player VARCHAR, score INTEGER)
Question: Can you tell me the Player that has the Score larger than 67?
[/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_60 (player VARCHAR, score INTEGER)
Question: Can you tell me the Player that has the Score larger than 67?
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 customers (email_address VARCHAR, phone_number VARCHAR)
Question: Find the emails and phone numbers of all the customers, ordered by email address and phone number.... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (email_address VARCHAR, phone_number VARCHAR)
Question: Find the emails and phone numbers of all the customers, ordered by email address and phone number.
Here... | 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.