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_63 (player VARCHAR, team VARCHAR)
Question: Who is the player on a team from the 1970s?
[/INST]
Here is the SQLite query to answer to the question: Who i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (player VARCHAR, team VARCHAR)
Question: Who is the player on a team from the 1970s?
Here is the SQLite query to answer to the question: Who is the 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_74 (team VARCHAR, drivers VARCHAR)
Question: Christian Fittipaldi drove in what team?
[/INST]
Here is the SQLite query to answer to the question: Christi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (team VARCHAR, drivers VARCHAR)
Question: Christian Fittipaldi drove in what team?
Here is the SQLite query to answer to the question: Christian Fittipaldi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28498999_3 (country VARCHAR, score VARCHAR)
Question: What is the country for the score 72-63-71-68=274?
[/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_28498999_3 (country VARCHAR, score VARCHAR)
Question: What is the country for the score 72-63-71-68=274?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (area__km²_ VARCHAR, pop__km² VARCHAR, _english_ VARCHAR)
Question: What area has less than 0.97 mil in population and is on the east?
[/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_95 (area__km²_ VARCHAR, pop__km² VARCHAR, _english_ VARCHAR)
Question: What area has less than 0.97 mil in population and is on the east?
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_77 (became_duchess VARCHAR, name VARCHAR)
Question: When did eleonor magdalene of the palatinate-neuburg become duchess?
[/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_77 (became_duchess VARCHAR, name VARCHAR)
Question: When did eleonor magdalene of the palatinate-neuburg become duchess?
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_59 (january VARCHAR, march VARCHAR)
Question: Who is the January playmate with a March playmate Alexandria Karlsen?
[/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_59 (january VARCHAR, march VARCHAR)
Question: Who is the January playmate with a March playmate Alexandria Karlsen?
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_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR)
Question: What are all the school years where class AAAA is in Gregory... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR)
Question: What are all the school years where class AAAA is in Gregory-Portl... | bugdaryan/sql-create-context-instruction | |
[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 (gold VARCHAR, year VARCHAR)
Question: Who won the gold medal in 1998?
[/INST]
Here is the SQLite query to answer to the question: Who won the gold me... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR)
Question: Who won the gold medal in 1998?
Here is the SQLite query to answer to the question: Who won the gold medal in 1998?:... | bugdaryan/sql-create-context-instruction | |
[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 (surface VARCHAR, opponent VARCHAR, score VARCHAR)
Question: What is the Surface of the court against Ivo Klec with a Score of 6–3, 6–3?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR, score VARCHAR)
Question: What is the Surface of the court against Ivo Klec with a Score of 6–3, 6–3?
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_59 (engine VARCHAR, entrant VARCHAR)
Question: Name the engine with entrant of larrousse f1
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (engine VARCHAR, entrant VARCHAR)
Question: Name the engine with entrant of larrousse f1
Here is the SQLite query to answer to the question: Name the engin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22384475_1 (match_date VARCHAR, winner VARCHAR)
Question: What date did the West Indies win the match?
[/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_22384475_1 (match_date VARCHAR, winner VARCHAR)
Question: What date did the West Indies win the match?
Here is the SQLite query to answer to the question: What 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 table_20466963_4 (guest_2 VARCHAR, guest_4 VARCHAR, guest_3 VARCHAR)
Question: Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20466963_4 (guest_2 VARCHAR, guest_4 VARCHAR, guest_3 VARCHAR)
Question: Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, home_team VARCHAR)
Question: What team played Hawthorn?
[/INST]
Here is the SQLite query to answer to the question: What team play... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR)
Question: What team played Hawthorn?
Here is the SQLite query to answer to the question: What team played Hawthorn?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR)
Question: What country is the contestant from Chihuahua from?
[/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_20754016_2 (country VARCHAR, hometown VARCHAR)
Question: What country is the contestant from Chihuahua from?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR)
Question: What was the venue for the game on 10-09-2012?
[/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_71 (venue VARCHAR, date VARCHAR)
Question: What was the venue for the game on 10-09-2012?
Here is the SQLite query to answer to the question: What was the ven... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (to_par VARCHAR, year_s__won VARCHAR)
Question: What is To Par, when Year(s) Won is "1968 , 1971"?
[/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_99 (to_par VARCHAR, year_s__won VARCHAR)
Question: What is To Par, when Year(s) Won is "1968 , 1971"?
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_28 (first_elected VARCHAR, party VARCHAR, member VARCHAR)
Question: Which first election for the labor party is James Sharpe a part of?
[/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_28 (first_elected VARCHAR, party VARCHAR, member VARCHAR)
Question: Which first election for the labor party is James Sharpe a part of?
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_18095719_2 (winning_team VARCHAR, circuit VARCHAR)
Question: Who was the winning team on the circuit Zolder?
[/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_18095719_2 (winning_team VARCHAR, circuit VARCHAR)
Question: Who was the winning team on the circuit Zolder?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (family_friendly VARCHAR, decade VARCHAR, genre VARCHAR)
Question: What is the family friendly status of the punk genre song from the 1970s?
[/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_8 (family_friendly VARCHAR, decade VARCHAR, genre VARCHAR)
Question: What is the family friendly status of the punk genre song from the 1970s?
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_44 (highest_rank VARCHAR, name VARCHAR)
Question: Which Rank is Highest for Yoshiazuma?
[/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_44 (highest_rank VARCHAR, name VARCHAR)
Question: Which Rank is Highest for Yoshiazuma?
Here is the SQLite query to answer to the question: Which Rank is High... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (enterprise VARCHAR, datacenter VARCHAR, features VARCHAR)
Question: What is the Enterprise for teh memory modules: hot replacement Feature that has a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (enterprise VARCHAR, datacenter VARCHAR, features VARCHAR)
Question: What is the Enterprise for teh memory modules: hot replacement Feature that has a Datace... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR)
Question: When the game is listed as 2, what is the score?
[/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_81 (score VARCHAR, game VARCHAR)
Question: When the game is listed as 2, what is the score?
Here is the SQLite query to answer to the question: When the game ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE review (i_id VARCHAR); CREATE TABLE item (i_id VARCHAR)
Question: Find the number of items that did not receive any review.
[/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 review (i_id VARCHAR); CREATE TABLE item (i_id VARCHAR)
Question: Find the number of items that did not receive any review.
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_62 (attendance VARCHAR, record VARCHAR)
Question: How many people attended the game whose score was 1-1?
[/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_62 (attendance VARCHAR, record VARCHAR)
Question: How many people attended the game whose score was 1-1?
Here is the SQLite query to answer to the question: H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (branding VARCHAR, power VARCHAR, location VARCHAR)
Question: What is the Branding of the Iloilo City Frequency with a Power of 10 Kw?
[/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_38 (branding VARCHAR, power VARCHAR, location VARCHAR)
Question: What is the Branding of the Iloilo City Frequency with a Power of 10 Kw?
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_9 (location VARCHAR, round VARCHAR, opponent VARCHAR)
Question: Which location had a round of 3, and an Opponent of matt horwich?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (location VARCHAR, round VARCHAR, opponent VARCHAR)
Question: Which location had a round of 3, and an Opponent of matt horwich?
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_17288825_10 (high_assists VARCHAR, date VARCHAR)
Question: What was the high assists on April 7?
[/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_17288825_10 (high_assists VARCHAR, date VARCHAR)
Question: What was the high assists on April 7?
Here is the SQLite query to answer to the question: What was the h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (total INTEGER, gold VARCHAR, silver VARCHAR)
Question: What nation had more than 97 Gold Medals and fewer than 332 Silver Medals?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (total INTEGER, gold VARCHAR, silver VARCHAR)
Question: What nation had more than 97 Gold Medals and fewer than 332 Silver Medals?
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_46 (away VARCHAR, plyff VARCHAR, opponent VARCHAR)
Question: Which away team has a playoff record of (0-0) and played against Sioux City Bandits?
[/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 (away VARCHAR, plyff VARCHAR, opponent VARCHAR)
Question: Which away team has a playoff record of (0-0) and played against Sioux City Bandits?
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_16 (title VARCHAR, name VARCHAR)
Question: What is the title of ahaziah?
[/INST]
Here is the SQLite query to answer to the question: What is the title of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (title VARCHAR, name VARCHAR)
Question: What is the title of ahaziah?
Here is the SQLite query to answer to the question: What is the title of ahaziah?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (goals_against VARCHAR, played INTEGER)
Question: How many Goals against have Played more than 34?
[/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_97 (goals_against VARCHAR, played INTEGER)
Question: How many Goals against have Played more than 34?
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_26998135_2 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
Question: Who is the replaced by when the date of vacancy is 27 december 2010?
[/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_26998135_2 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
Question: Who is the replaced by when the date of vacancy is 27 december 2010?
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_22 (launch_date VARCHAR, designation VARCHAR)
Question: When did the atv-002 launch?
[/INST]
Here is the SQLite query to answer to the question: When did... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (launch_date VARCHAR, designation VARCHAR)
Question: When did the atv-002 launch?
Here is the SQLite query to answer to the question: When did the atv-002 ... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, circuit VARCHAR)
Question: Name the date for circuit of interlagos
[/INST]
Here is the SQLite query to answer to the question: Name the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (date VARCHAR, circuit VARCHAR)
Question: Name the date for circuit of interlagos
Here is the SQLite query to answer to the question: Name the date for cir... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)
Question: In what round did opponent Joe Lauzon play?
[/INST]
Here is the SQLite query to answer to the question: In... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)
Question: In what round did opponent Joe Lauzon play?
Here is the SQLite query to answer to the question: In what round 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 table_26137666_3 (pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR)
Question: What is every pole position for the Castle Combe circuit and Robbie Kerr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26137666_3 (pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR)
Question: What is every pole position for the Castle Combe circuit and Robbie Kerr 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_48 (place VARCHAR, player VARCHAR)
Question: Which Place has a Player of justin leonard?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR)
Question: Which Place has a Player of justin leonard?
Here is the SQLite query to answer to the question: Which Place 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_222198_1 (orchestra VARCHAR, year_of_recording VARCHAR)
Question: Where is the orchestra when the year of recording is 1934?
[/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_222198_1 (orchestra VARCHAR, year_of_recording VARCHAR)
Question: Where is the orchestra when the year of recording is 1934?
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_89 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR)
Question: What is the Time/Retired for brabham - climax, on Grid of 10?
[/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_89 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR)
Question: What is the Time/Retired for brabham - climax, on Grid of 10?
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_84 (opponent VARCHAR, result VARCHAR)
Question: Tell me the opponent that had a result of l 27-20
[/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_84 (opponent VARCHAR, result VARCHAR)
Question: Tell me the opponent that had a result of l 27-20
Here is the SQLite query to answer to the question: Tell me ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17275810_7 (team VARCHAR, replaced_by VARCHAR)
Question: Name the team for mario somma
[/INST]
Here is the SQLite query to answer to the question: Name the te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17275810_7 (team VARCHAR, replaced_by VARCHAR)
Question: Name the team for mario somma
Here is the SQLite query to answer to the question: Name the team for mario ... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR)
Question: What is the score on March 18?
[/INST]
Here is the SQLite query to answer to the question: What is the score o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (score VARCHAR, date VARCHAR)
Question: What is the score on March 18?
Here is the SQLite query to answer to the question: What is the score on March 18?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24193494_3 (manufacturer VARCHAR, order_year VARCHAR)
Question: Name the manufacturer for 2011
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24193494_3 (manufacturer VARCHAR, order_year VARCHAR)
Question: Name the manufacturer for 2011
Here is the SQLite query to answer to the question: Name the manufac... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, team VARCHAR, tournament VARCHAR, finish VARCHAR)
Question: In what Year was 1st Division El Salvador with a Finish of Champion 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_83 (year VARCHAR, team VARCHAR, tournament VARCHAR, finish VARCHAR)
Question: In what Year was 1st Division El Salvador with a Finish of Champion and a Team 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_15333005_1 (Ends VARCHAR, pa VARCHAR)
Question: Name the ends lost for 67 pa
[/INST]
Here is the SQLite query to answer to the question: Name the ends lost fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15333005_1 (Ends VARCHAR, pa VARCHAR)
Question: Name the ends lost for 67 pa
Here is the SQLite query to answer to the question: Name the ends lost for 67 pa:
```
... | bugdaryan/sql-create-context-instruction | |
[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 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
Question: What is the low grid total for a retired due to steering in under 15 laps?
[/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_21 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
Question: What is the low grid total for a retired due to steering in under 15 laps?
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_1341472_15 (candidates VARCHAR, first_elected VARCHAR)
Question: what's the total number of candidates for first elected in 1948 , 1964
[/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_1341472_15 (candidates VARCHAR, first_elected VARCHAR)
Question: what's the total number of candidates for first elected in 1948 , 1964
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_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What's the original title of the film Zozo?
[/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_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What's the original title of the film Zozo?
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_67 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
Question: What is the sum of bronzes associated with 0 golds and a rank of 10?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
Question: What is the sum of bronzes associated with 0 golds and a rank of 10?
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_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR)
Question: What is the Country, when the Transfer fee is "loan", and when the Name is Lynch?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR)
Question: What is the Country, when the Transfer fee is "loan", and when the Name is Lynch?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR)
Question: What is the average Year, when Position is 9th, when Event is 100 m, and when... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR)
Question: What is the average Year, when Position is 9th, when Event is 100 m, and when Venue... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR)
Question: How many dates are shown for the home team of orlando pirates and result of 1–3?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR)
Question: How many dates are shown for the home team of orlando pirates and result of 1–3?
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 order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, ord... | bugdaryan/sql-create-context-instruction | |
[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 (goals INTEGER, assists VARCHAR, apps VARCHAR)
Question: What is the total goals with 12 assists, and less than 291 apps?
[/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_52 (goals INTEGER, assists VARCHAR, apps VARCHAR)
Question: What is the total goals with 12 assists, and less than 291 apps?
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_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)
Question: what's the date entered service with ships name koningin wilhelmina
[/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_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)
Question: what's the date entered service with ships name koningin wilhelmina
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_52 (nationality VARCHAR, time VARCHAR)
Question: Which nationality has a time of 50.92?
[/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_52 (nationality VARCHAR, time VARCHAR)
Question: Which nationality has a time of 50.92?
Here is the SQLite query to answer to the question: Which nationality ... | bugdaryan/sql-create-context-instruction | |
[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 (number_of_seats INTEGER, leader VARCHAR)
Question: What is Jillian Evans highest number of seats?
[/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_45 (number_of_seats INTEGER, leader VARCHAR)
Question: What is Jillian Evans highest number of seats?
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 member (card_number VARCHAR, name VARCHAR, hometown VARCHAR, LEVEL VARCHAR)
Question: Show card number, name, and hometown for all members in a descending order of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE member (card_number VARCHAR, name VARCHAR, hometown VARCHAR, LEVEL VARCHAR)
Question: Show card number, name, and hometown for all members in a descending order of level.... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, rnd VARCHAR)
Question: What is the number of gt1 winning team for rnd 5?
[/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_12146068_2 (gt1_winning_team VARCHAR, rnd VARCHAR)
Question: What is the number of gt1 winning team for rnd 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_12 (week_1 VARCHAR, week_2 VARCHAR)
Question: Who was the girl on week 1 that preceded week 2's Kamila Sulewska?
[/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_12 (week_1 VARCHAR, week_2 VARCHAR)
Question: Who was the girl on week 1 that preceded week 2's Kamila Sulewska?
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_27703902_9 (high_points VARCHAR, game VARCHAR)
Question: Who had the high points in game is 81?
[/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_27703902_9 (high_points VARCHAR, game VARCHAR)
Question: Who had the high points in game is 81?
Here is the SQLite query to answer to the question: Who had the hig... | bugdaryan/sql-create-context-instruction | |
[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 (react INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR, time VARCHAR)
Question: What's the smallest react of Zimbabwe, ranked after 1 in a la... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (react INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR, time VARCHAR)
Question: What's the smallest react of Zimbabwe, ranked after 1 in a lane aft... | bugdaryan/sql-create-context-instruction | |
[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 (tyre VARCHAR, pole_position VARCHAR, race VARCHAR)
Question: In the Canadian Grand Prix, what tyre was used when Jacky Ickx held pole position?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (tyre VARCHAR, pole_position VARCHAR, race VARCHAR)
Question: In the Canadian Grand Prix, what tyre was used when Jacky Ickx held pole position?
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_31 (time VARCHAR, record VARCHAR)
Question: when is Record of 66-95?
[/INST]
Here is the SQLite query to answer to the question: when is Record of 66-95?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (time VARCHAR, record VARCHAR)
Question: when is Record of 66-95?
Here is the SQLite query to answer to the question: when is Record of 66-95?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342370_10 (party VARCHAR, incumbent VARCHAR)
Question: How many parties were represented for Charles R. Crisp?
[/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_1342370_10 (party VARCHAR, incumbent VARCHAR)
Question: How many parties were represented for Charles R. Crisp?
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_26476336_2 (location VARCHAR, years VARCHAR)
Question: What location is listed from 2005-2010?
[/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_26476336_2 (location VARCHAR, years VARCHAR)
Question: What location is listed from 2005-2010?
Here is the SQLite query to answer to the question: What location 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_13258876_2 (opponent VARCHAR, attendance VARCHAR)
Question: Who did the Seahawks play when the listed attendance was 61615?
[/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_13258876_2 (opponent VARCHAR, attendance VARCHAR)
Question: Who did the Seahawks play when the listed attendance was 61615?
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_77 (position_in_2006 VARCHAR, team VARCHAR)
Question: What was Team Dnepr's position in 2006?
[/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_77 (position_in_2006 VARCHAR, team VARCHAR)
Question: What was Team Dnepr's position in 2006?
Here is the SQLite query to answer to the question: What was Tea... | bugdaryan/sql-create-context-instruction | |
[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 (level INTEGER, example_name VARCHAR, number_of_hus__approximate_ VARCHAR)
Question: What is the mean level number when the example name is lower snak... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (level INTEGER, example_name VARCHAR, number_of_hus__approximate_ VARCHAR)
Question: What is the mean level number when the example name is lower snake and ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (winner VARCHAR, runner_up VARCHAR)
Question: Who was the Winner when the Runner-up was Real Salt Lake?
[/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_20 (winner VARCHAR, runner_up VARCHAR)
Question: Who was the Winner when the Runner-up was Real Salt Lake?
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_1449169_1 (altitude__mslm_ INTEGER)
Question: What is the minimum altitude (mslm) in all the commons?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1449169_1 (altitude__mslm_ INTEGER)
Question: What is the minimum altitude (mslm) in all the commons?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (attendance VARCHAR, game_site VARCHAR)
Question: How many fans attended the game at Bye?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (attendance VARCHAR, game_site VARCHAR)
Question: How many fans attended the game at Bye?
Here is the SQLite query to answer to the question: How many fans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16388398_1 (home_team VARCHAR, away_team VARCHAR)
Question: What was the score for the home team when the away team was Sydney?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16388398_1 (home_team VARCHAR, away_team VARCHAR)
Question: What was the score for the home team when the away team was Sydney?
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_73 (rank INTEGER, lane VARCHAR)
Question: What was the rank of the player in lane 6?
[/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_name_73 (rank INTEGER, lane VARCHAR)
Question: What was the rank of the player in lane 6?
Here is the SQLite query to answer to the question: What was the rank 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_32 (authority VARCHAR, name VARCHAR)
Question: What is the Whakamaru school's authority?
[/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_32 (authority VARCHAR, name VARCHAR)
Question: What is the Whakamaru school's authority?
Here is the SQLite query to answer to the question: What is the Whaka... | bugdaryan/sql-create-context-instruction | |
[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 (liberal VARCHAR, dates VARCHAR, polling_firm VARCHAR, prog_cons VARCHAR)
Question: According to the August 2007 poll by the Corporate Research Associ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (liberal VARCHAR, dates VARCHAR, polling_firm VARCHAR, prog_cons VARCHAR)
Question: According to the August 2007 poll by the Corporate Research Associates 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_80 (lane INTEGER, heat VARCHAR, name VARCHAR)
Question: What is the average lane racheal nachula has when the heat is less than 2?
[/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_80 (lane INTEGER, heat VARCHAR, name VARCHAR)
Question: What is the average lane racheal nachula has when the heat is less than 2?
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_40 (tournament VARCHAR, date VARCHAR)
Question: What is Tournament, when Date is "6 April 1992"?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (tournament VARCHAR, date VARCHAR)
Question: What is Tournament, when Date is "6 April 1992"?
Here is the SQLite query to answer to the question: What is T... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
Question: What are the hometowns of gymnasts and the corresponding number of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
Question: What are the hometowns of gymnasts and the corresponding number of gymna... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer_orders (order_id VARCHAR, order_status VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR)
Question: What is the total number of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer_orders (order_id VARCHAR, order_status VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR)
Question: What is the total number of produc... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, tie_no VARCHAR)
Question: What is Score, when Tie No is "109"?
[/INST]
Here is the SQLite query to answer to the question: What is Sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (score VARCHAR, tie_no VARCHAR)
Question: What is Score, when Tie No is "109"?
Here is the SQLite query to answer to the question: What is Score, when Tie ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (notes VARCHAR, rank VARCHAR, athlete VARCHAR)
Question: Ioannis Christou with a rank smaller than 6 has what notes?
[/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_71 (notes VARCHAR, rank VARCHAR, athlete VARCHAR)
Question: Ioannis Christou with a rank smaller than 6 has what notes?
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_83 (finalist VARCHAR, winner VARCHAR)
Question: Who was the finalist when the winner was First Vienna FC?
[/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 (finalist VARCHAR, winner VARCHAR)
Question: Who was the finalist when the winner was First Vienna FC?
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_15824796_3 (title VARCHAR, original_air_date VARCHAR)
Question: What is the title of the first episode of the season that begin on february 27, 1954?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15824796_3 (title VARCHAR, original_air_date VARCHAR)
Question: What is the title of the first episode of the season that begin on february 27, 1954?
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_77 (date VARCHAR, record VARCHAR)
Question: Question does not make sense since there was no record of 88-74
[/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_77 (date VARCHAR, record VARCHAR)
Question: Question does not make sense since there was no record of 88-74
Here is the SQLite query to answer to the question... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (crowd INTEGER, home_team VARCHAR)
Question: What is the sum of all the crowds that watched North Melbourne at home?
[/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_74 (crowd INTEGER, home_team VARCHAR)
Question: What is the sum of all the crowds that watched North Melbourne at home?
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_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR)
Question: If the polling average in July 2009 was 7.2%, what was it in May 2009?
[/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_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR)
Question: If the polling average in July 2009 was 7.2%, what was it in May 2009?
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_2930244_3 (number_of_major_hurricanes VARCHAR, deaths VARCHAR)
Question: When the death is none what is the number of major hurricanes?
[/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_2930244_3 (number_of_major_hurricanes VARCHAR, deaths VARCHAR)
Question: When the death is none what is the number of major hurricanes?
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_31 (launched VARCHAR, time_elapsed VARCHAR)
Question: What Launched has Time elapsed of 1991 days (5 yr, 5 mo, 12 d)?
[/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_31 (launched VARCHAR, time_elapsed VARCHAR)
Question: What Launched has Time elapsed of 1991 days (5 yr, 5 mo, 12 d)?
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 (region VARCHAR, catalog_number VARCHAR)
Question: What is the Region of the release with Catalog number 3 12046 2?
[/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_77 (region VARCHAR, catalog_number VARCHAR)
Question: What is the Region of the release with Catalog number 3 12046 2?
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_21457754_2 (total_pts VARCHAR, team_name VARCHAR)
Question: Name the number of total pts for gbr challenge
[/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_21457754_2 (total_pts VARCHAR, team_name VARCHAR)
Question: Name the number of total pts for gbr challenge
Here is the SQLite query to answer to the question: Name... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR)
Question: who had the high points on november 20?
[/INST]
Here is the SQLite query to answer to the question: who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR)
Question: who had the high points on november 20?
Here is the SQLite query to answer to the question: who had the high ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
Question: What is the largest gold number when the total is less than 3, the rank is 5, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
Question: What is the largest gold number when the total is less than 3, the rank is 5, and 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_93 (high_assists VARCHAR, date VARCHAR)
Question: What is High Assists, when Date is "March 10"?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (high_assists VARCHAR, date VARCHAR)
Question: What is High Assists, when Date is "March 10"?
Here is the SQLite query to answer to the question: What is H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18847736_2 (opponents INTEGER, opponent VARCHAR)
Question: How many opponents are at Minnesota Vikings?
[/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_18847736_2 (opponents INTEGER, opponent VARCHAR)
Question: How many opponents are at Minnesota Vikings?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (location VARCHAR, score VARCHAR)
Question: Score of 119-115 (ot) involved what location?
[/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_16 (location VARCHAR, score VARCHAR)
Question: Score of 119-115 (ot) involved what location?
Here is the SQLite query to answer to the question: Score of 119-... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR)
Question: WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279?
[/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_11 (place VARCHAR, score VARCHAR)
Question: WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279?
Here is the SQLite query to answer to the question: WHAT 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_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)
Question: What is the total average for swimsuits smaller than 9.62 in Colorado?
[/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_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)
Question: What is the total average for swimsuits smaller than 9.62 in Colorado?
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_29535057_4 (location VARCHAR, big_ten_team VARCHAR)
Question: Where did the games that had Wisconsin as big ten team take place?
[/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_29535057_4 (location VARCHAR, big_ten_team VARCHAR)
Question: Where did the games that had Wisconsin as big ten team take place?
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_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR)
Question: Which Release date has a Director of tom palmer, and a Production Num large... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR)
Question: Which Release date has a Director of tom palmer, and a Production Num larger than... | 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.