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_2562572_25 (settlement VARCHAR, cyrillic_name_other_names VARCHAR, dominant_religion__2002_ VARCHAR, type VARCHAR)
Question: When ратково is cyrillic name ot... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_25 (settlement VARCHAR, cyrillic_name_other_names VARCHAR, dominant_religion__2002_ VARCHAR, type VARCHAR)
Question: When ратково is cyrillic name other na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Fault_Log (recorded_by_staff_id VARCHAR)
Questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Fault_Log (recorded_by_staff_id VARCHAR)
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_87 (loss VARCHAR, record VARCHAR)
Question: Name the loss with record of 45-59
[/INST]
Here is the SQLite query to answer to the question: Name 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_87 (loss VARCHAR, record VARCHAR)
Question: Name the loss with record of 45-59
Here is the SQLite query to answer to the question: Name the loss with record o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21256068_3 (score VARCHAR, opponent VARCHAR)
Question: what's the score against crusaders
[/INST]
Here is the SQLite query to answer to the question: what's t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21256068_3 (score VARCHAR, opponent VARCHAR)
Question: what's the score against crusaders
Here is the SQLite query to answer to the question: what's the score agai... | bugdaryan/sql-create-context-instruction | |
[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 (college VARCHAR, pick VARCHAR, round VARCHAR)
Question: What college did the player drafted after round 2 before pick 160 attend?
[/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_50 (college VARCHAR, pick VARCHAR, round VARCHAR)
Question: What college did the player drafted after round 2 before pick 160 attend?
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_15002265_1 (womens_doubles VARCHAR, mens_doubles VARCHAR, mixed_doubles VARCHAR)
Question: who is the the womens doubles with mens doubles being reinhold pum ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15002265_1 (womens_doubles VARCHAR, mens_doubles VARCHAR, mixed_doubles VARCHAR)
Question: who is the the womens doubles with mens doubles being reinhold pum karl b... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, name VARCHAR)
Question: What is the lowest rank that has paul biedermann as the name?
[/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_31 (rank INTEGER, name VARCHAR)
Question: What is the lowest rank that has paul biedermann as the name?
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_9 (score INTEGER, to_par VARCHAR, player VARCHAR)
Question: What is the score when the to par was –5, for Peter Jacobsen?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (score INTEGER, to_par VARCHAR, player VARCHAR)
Question: What is the score when the to par was –5, for Peter Jacobsen?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28611413_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR)
Question: How many seasons had 16.15 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_28611413_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR)
Question: How many seasons had 16.15 million viewers?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (venue VARCHAR, home_team VARCHAR)
Question: What is the home field of the South Melbourne team?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (venue VARCHAR, home_team VARCHAR)
Question: What is the home field of the South Melbourne team?
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_50 (draws INTEGER, against INTEGER)
Question: What was the lowest draw when the against was larger than 2638?
[/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_50 (draws INTEGER, against INTEGER)
Question: What was the lowest draw when the against was larger than 2638?
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_179174_2 (spacecraft VARCHAR, launch_complex VARCHAR)
Question: What spacecraft was launched from the LC34 launch complex?
[/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_179174_2 (spacecraft VARCHAR, launch_complex VARCHAR)
Question: What spacecraft was launched from the LC34 launch complex?
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_27 (home_team VARCHAR, away_team VARCHAR)
Question: Which home team played in the matchup with an away team of Liverpool?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (home_team VARCHAR, away_team VARCHAR)
Question: Which home team played in the matchup with an away team of Liverpool?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR)
Question: On what Date was the Result of the game W 30–15?
[/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_40 (date VARCHAR, result VARCHAR)
Question: On what Date was the Result of the game W 30–15?
Here is the SQLite query to answer to the question: On what Date ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (pick__number VARCHAR, name VARCHAR)
Question: What number pick was Bill Athey?
[/INST]
Here is the SQLite query to answer to the question: What numbe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (pick__number VARCHAR, name VARCHAR)
Question: What number pick was Bill Athey?
Here is the SQLite query to answer to the question: What number pick was Bi... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, loss VARCHAR)
Question: Who was the opponent at the game that had a loss of Westbrook (2-2)?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (opponent VARCHAR, loss VARCHAR)
Question: Who was the opponent at the game that had a loss of Westbrook (2-2)?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (finish VARCHAR, country VARCHAR)
Question: What is Australia´s finish?
[/INST]
Here is the SQLite query to answer to the question: What is Australia´... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (finish VARCHAR, country VARCHAR)
Question: What is Australia´s finish?
Here is the SQLite query to answer to the question: What is Australia´s finish?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: When the Away team is south melbourne, what's the Home team score?
[/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_32 (home_team VARCHAR, away_team VARCHAR)
Question: When the Away team is south melbourne, what's the Home team score?
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_1858574_3 (position VARCHAR, sail_number VARCHAR)
Question: Qhat was the position of sail 6606?
[/INST]
Here is the SQLite query to answer to the question: Qh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1858574_3 (position VARCHAR, sail_number VARCHAR)
Question: Qhat was the position of sail 6606?
Here is the SQLite query to answer to the question: Qhat was the po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (date VARCHAR, winning_driver VARCHAR)
Question: What is the date that Fabrizio Giovanardi Christian Abt won?
[/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 (date VARCHAR, winning_driver VARCHAR)
Question: What is the date that Fabrizio Giovanardi Christian Abt won?
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 station (name VARCHAR, id VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available VARCHAR)
Question: Return the unique name for stations that have ever h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE station (name VARCHAR, id VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available VARCHAR)
Question: Return the unique name for stations that have ever had 7 b... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, fa_cup VARCHAR, fa_trophy VARCHAR)
Question: What is the average total with 1 FA cup and more than 0 FA trophies?
[/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_61 (total INTEGER, fa_cup VARCHAR, fa_trophy VARCHAR)
Question: What is the average total with 1 FA cup and more than 0 FA trophies?
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_47 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
Question: What volume 3 weeks on top for Third Eye Blind?
[/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_47 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
Question: What volume 3 weeks on top for Third Eye Blind?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (money___ INTEGER, player VARCHAR, score VARCHAR)
Question: Can you tell me the sum of Money ($) that has the Score of 69-72-67-71=279, and the Player... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (money___ INTEGER, player VARCHAR, score VARCHAR)
Question: Can you tell me the sum of Money ($) that has the Score of 69-72-67-71=279, and the Player of lo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15887683_6 (hdtv VARCHAR, n° VARCHAR)
Question: Name the hdtv when number is 378
[/INST]
Here is the SQLite query to answer to the question: Name the hdtv whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15887683_6 (hdtv VARCHAR, n° VARCHAR)
Question: Name the hdtv when number is 378
Here is the SQLite query to answer to the question: Name the hdtv when number is 3... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR)
Question: Name the Score of jack nicklaus, united states, ?
[/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_13 (score VARCHAR, country VARCHAR, player VARCHAR)
Question: Name the Score of jack nicklaus, united states, ?
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_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR)
Question: What's the highest Ends Lost with a shot % g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR)
Question: What's the highest Ends Lost with a shot % greater... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26555737_1 (english_title VARCHAR, arabic_title VARCHAR)
Question: When ملح هذا البحر is the arabic title what is the english title?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26555737_1 (english_title VARCHAR, arabic_title VARCHAR)
Question: When ملح هذا البحر is the arabic title what is the english title?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (recipient VARCHAR, date VARCHAR, award VARCHAR)
Question: Who won an award of £3,000 on 4/9/02?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (recipient VARCHAR, date VARCHAR, award VARCHAR)
Question: Who won an award of £3,000 on 4/9/02?
Here is the SQLite query to answer to the question: Who wo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2380212_1 (avg_attendance INTEGER, regular_season VARCHAR)
Question: How many people saw the 3rd, Central regular season on average?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2380212_1 (avg_attendance INTEGER, regular_season VARCHAR)
Question: How many people saw the 3rd, Central regular season on average?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (visitor VARCHAR, time VARCHAR)
Question: Who was the visitor at 5:00 pm?
[/INST]
Here is the SQLite query to answer to the question: Who was the visi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (visitor VARCHAR, time VARCHAR)
Question: Who was the visitor at 5:00 pm?
Here is the SQLite query to answer to the question: Who was the visitor at 5:00 p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR)
Question: How many people led in points during the game on October 5?
[/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_27698941_2 (high_points VARCHAR, date VARCHAR)
Question: How many people led in points during the game on October 5?
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_17288869_7 (high_assists VARCHAR, high_rebounds VARCHAR)
Question: Who had the high assists while Erick Dampier (8) had the high rebounds?
[/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_17288869_7 (high_assists VARCHAR, high_rebounds VARCHAR)
Question: Who had the high assists while Erick Dampier (8) had the high rebounds?
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_92 (rides INTEGER, bonus_pts VARCHAR, matches VARCHAR)
Question: How many rides did it take to get less than 3 bonus pts in no more than 7 matches?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (rides INTEGER, bonus_pts VARCHAR, matches VARCHAR)
Question: How many rides did it take to get less than 3 bonus pts in no more than 7 matches?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (city_of_license VARCHAR, call_sign VARCHAR)
Question: For the call sign w242at what's the city the license plate is registered to?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (city_of_license VARCHAR, call_sign VARCHAR)
Question: For the call sign w242at what's the city the license plate is registered to?
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_64 (attendance VARCHAR, date VARCHAR)
Question: What was November 4, 1973 attendance?
[/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_64 (attendance VARCHAR, date VARCHAR)
Question: What was November 4, 1973 attendance?
Here is the SQLite query to answer to the question: What was November 4,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR)
Question: how many na -350- with title and source being bokumo sekai wo sukuitai: battle tournament
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR)
Question: how many na -350- with title and source being bokumo sekai wo sukuitai: battle tournament
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_14 (coombe_road VARCHAR, woodside VARCHAR)
Question: What is the Coombe Road with a Woodside time of 07:23?
[/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_14 (coombe_road VARCHAR, woodside VARCHAR)
Question: What is the Coombe Road with a Woodside time of 07:23?
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_45 (year VARCHAR, opponent_in_the_final VARCHAR)
Question: What year was the opponent in the final john higgins category:articles with hcards?
[/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_45 (year VARCHAR, opponent_in_the_final VARCHAR)
Question: What year was the opponent in the final john higgins category:articles with hcards?
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_91 (player VARCHAR, country VARCHAR, score VARCHAR)
Question: What player has The United States as the country with 70 as the score?
[/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_91 (player VARCHAR, country VARCHAR, score VARCHAR)
Question: What player has The United States as the country with 70 as the score?
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_16034882_3 (draws INTEGER, club VARCHAR)
Question: what is the highest number of draws for sveikata kybartai
[/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_16034882_3 (draws INTEGER, club VARCHAR)
Question: what is the highest number of draws for sveikata kybartai
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_9 (gender VARCHAR, roll VARCHAR)
Question: What gender is allowed at the school which has a roll of 338?
[/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_9 (gender VARCHAR, roll VARCHAR)
Question: What gender is allowed at the school which has a roll of 338?
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_48 (home_team VARCHAR, away_team VARCHAR)
Question: What did the home team when they played Richmond?
[/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_48 (home_team VARCHAR, away_team VARCHAR)
Question: What did the home team when they played Richmond?
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_53 (v_band INTEGER, ka_band VARCHAR, q_band VARCHAR)
Question: What is the average v-band for Ka-band values under 33 and Q-bands of 1?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (v_band INTEGER, ka_band VARCHAR, q_band VARCHAR)
Question: What is the average v-band for Ka-band values under 33 and Q-bands of 1?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (decision VARCHAR, opponent VARCHAR, season VARCHAR)
Question: What was the decision for the 1983 season for the game played against the New York Yank... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (decision VARCHAR, opponent VARCHAR, season VARCHAR)
Question: What was the decision for the 1983 season for the game played against the New York Yankees?
... | bugdaryan/sql-create-context-instruction | |
[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 (method VARCHAR, round VARCHAR, record VARCHAR)
Question: What's the method for a record of 4-2 and round smaller than 3?
[/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_78 (method VARCHAR, round VARCHAR, record VARCHAR)
Question: What's the method for a record of 4-2 and round smaller than 3?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (recipient VARCHAR, award VARCHAR, result VARCHAR)
Question: Who won the 2010 Kids' Choice Awards?
[/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_30 (recipient VARCHAR, award VARCHAR, result VARCHAR)
Question: Who won the 2010 Kids' Choice Awards?
Here is the SQLite query to answer to the question: Who ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (bronze VARCHAR, gold VARCHAR)
Question: Who won the bronze when jin kanno won the gold?
[/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_99 (bronze VARCHAR, gold VARCHAR)
Question: Who won the bronze when jin kanno won the gold?
Here is the SQLite query to answer to the question: Who won the br... | bugdaryan/sql-create-context-instruction | |
[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 (rank__week_ INTEGER, rank__night_ VARCHAR, rating VARCHAR, viewers__millions_ VARCHAR)
Question: What is the average week rank with 1.2 ratings, less... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (rank__week_ INTEGER, rank__night_ VARCHAR, rating VARCHAR, viewers__millions_ VARCHAR)
Question: What is the average week rank with 1.2 ratings, less than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR)
Question: What's the sum of A Score that also has a score lower than 7.3 and an E Score larger tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR)
Question: What's the sum of A Score that also has a score lower than 7.3 and an E Score larger than 7.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_39 (talent__male_ VARCHAR, year VARCHAR)
Question: Who is the male talent in 1991?
[/INST]
Here is the SQLite query to answer to the question: Who is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (talent__male_ VARCHAR, year VARCHAR)
Question: Who is the male talent in 1991?
Here is the SQLite query to answer to the question: Who is the male talent ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE list (classroom VARCHAR, grade VARCHAR)
Question: Which classrooms are used by grade 5?
[/INST]
Here is the SQLite query to answer to the question: Which classrooms... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE list (classroom VARCHAR, grade VARCHAR)
Question: Which classrooms are used by grade 5?
Here is the SQLite query to answer to the question: Which classrooms are used by ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR)
Question: Name the broadcast for 7:00pm and mississippi state
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR)
Question: Name the broadcast for 7:00pm and mississippi state
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR)
Question: Which Set 1 has a Time of 14:00, and a Set 3 of 19–25?
[/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_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR)
Question: Which Set 1 has a Time of 14:00, and a Set 3 of 19–25?
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_46 (previous_conference VARCHAR, year_joined VARCHAR, mascot VARCHAR)
Question: what is the previous conference when the year joined is 1932 and the masc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (previous_conference VARCHAR, year_joined VARCHAR, mascot VARCHAR)
Question: what is the previous conference when the year joined is 1932 and the mascot 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_55 (date VARCHAR, home VARCHAR)
Question: What was the date of the game when St. Louis was the home team?
[/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_55 (date VARCHAR, home VARCHAR)
Question: What was the date of the game when St. Louis was the home team?
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 (population VARCHAR, area VARCHAR)
Question: What is the population when the area is 4,575?
[/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_8 (population VARCHAR, area VARCHAR)
Question: What is the population when the area is 4,575?
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_2493389_1 (calcium__mg_ VARCHAR, fat__g_ VARCHAR)
Question: Name the calcium for fat being 6.5
[/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_2493389_1 (calcium__mg_ VARCHAR, fat__g_ VARCHAR)
Question: Name the calcium for fat being 6.5
Here is the SQLite query to answer to the question: Name the calcium... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, location_attendance VARCHAR)
Question: What was the score of the game at the Chicago Stadium?
[/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_38 (score VARCHAR, location_attendance VARCHAR)
Question: What was the score of the game at the Chicago Stadium?
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_16 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: What is the fastest lap for Belgian Grand Prix?
[/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_16 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: What is the fastest lap for Belgian Grand Prix?
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_19 (Id VARCHAR)
Question: What is the 1880 figure when 1860 is N/A and 1910 is 494?
[/INST]
Here is the SQLite query to answer to the question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (Id VARCHAR)
Question: What is the 1880 figure when 1860 is N/A and 1910 is 494?
Here is the SQLite query to answer to the question: What is the 1880 figur... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (ground VARCHAR, match VARCHAR)
Question: Where was match 8 played?
[/INST]
Here is the SQLite query to answer to the question: Where was match 8 play... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (ground VARCHAR, match VARCHAR)
Question: Where was match 8 played?
Here is the SQLite query to answer to the question: Where was match 8 played?:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14903627_1 (year VARCHAR, mens_doubles VARCHAR)
Question: HOW MANY YEARS DID MENS DOUBLES PLAYER HEIKI SORGE MEELIS MAISTE PLAY?
[/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_14903627_1 (year VARCHAR, mens_doubles VARCHAR)
Question: HOW MANY YEARS DID MENS DOUBLES PLAYER HEIKI SORGE MEELIS MAISTE PLAY?
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_30 (tournament VARCHAR)
Question: Which tournament was on 2009 with 11?
[/INST]
Here is the SQLite query to answer to the question: Which tournament was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (tournament VARCHAR)
Question: Which tournament was on 2009 with 11?
Here is the SQLite query to answer to the question: Which tournament was on 2009 with ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (distance VARCHAR, date VARCHAR)
Question: What is the distance for the 5 September race?
[/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_69 (distance VARCHAR, date VARCHAR)
Question: What is the distance for the 5 September race?
Here is the SQLite query to answer to the question: What is the 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_26199130_1 (no INTEGER, us_viewers__million_ VARCHAR)
Question: What numbered episode had 11.96 million US 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_26199130_1 (no INTEGER, us_viewers__million_ VARCHAR)
Question: What numbered episode had 11.96 million US viewers?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (catalog VARCHAR, country VARCHAR)
Question: Which Catalog has a Country of Japan?
[/INST]
Here is the SQLite query to answer to the question: Which C... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (catalog VARCHAR, country VARCHAR)
Question: Which Catalog has a Country of Japan?
Here is the SQLite query to answer to the question: Which Catalog 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_name_71 (date VARCHAR, competition VARCHAR, venue VARCHAR)
Question: Name the date that has a friendly competition at rheinpark stadion, vaduz
[/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_71 (date VARCHAR, competition VARCHAR, venue VARCHAR)
Question: Name the date that has a friendly competition at rheinpark stadion, vaduz
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_14098_1 (country_or_territory_with_flag VARCHAR, capital VARCHAR)
Question: What country's capital is buenos aires?
[/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_14098_1 (country_or_territory_with_flag VARCHAR, capital VARCHAR)
Question: What country's capital is buenos aires?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: Name the score in the final for runner-up and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: Name the score in the final for runner-up and hard 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_66 (in_production VARCHAR, codename VARCHAR)
Question: Is Jasper being producted?
[/INST]
Here is the SQLite query to answer to the question: Is Jasper b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (in_production VARCHAR, codename VARCHAR)
Question: Is Jasper being producted?
Here is the SQLite query to answer to the question: Is Jasper being producte... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24565004_3 (period VARCHAR, name VARCHAR)
Question: during which period did albert baning play?
[/INST]
Here is the SQLite query to answer to the question: du... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24565004_3 (period VARCHAR, name VARCHAR)
Question: during which period did albert baning play?
Here is the SQLite query to answer to the question: during which pe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15173650_2 (home_team VARCHAR, away_team VARCHAR)
Question: Name the home team when away team is kilmarnock
[/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_15173650_2 (home_team VARCHAR, away_team VARCHAR)
Question: Name the home team when away team is kilmarnock
Here is the SQLite query to answer to the question: Nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who drive 74 laps in a grid larger than 9?
[/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_25 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who drive 74 laps in a grid larger than 9?
Here is the SQLite query to answer to the question: Who 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_name_98 (party VARCHAR, elected VARCHAR, district VARCHAR)
Question: What party has a district of 28 and was elected after 1983?
[/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_98 (party VARCHAR, elected VARCHAR, district VARCHAR)
Question: What party has a district of 28 and was elected after 1983?
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 employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR)
Question: What are the first and last name for those employees who works either in departme... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR)
Question: What are the first and last name for those employees who works either in department 70 ... | bugdaryan/sql-create-context-instruction | |
[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 (save VARCHAR, opponent VARCHAR, date VARCHAR)
Question: What is the save when Yankees are the opponents on July 25?
[/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_82 (save VARCHAR, opponent VARCHAR, date VARCHAR)
Question: What is the save when Yankees are the opponents on July 25?
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 captain (name VARCHAR, age VARCHAR)
Question: What is the name of the youngest captain?
[/INST]
Here is the SQLite query to answer to the question: What is the name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE captain (name VARCHAR, age VARCHAR)
Question: What is the name of the youngest captain?
Here is the SQLite query to answer to the question: What is the name of the young... | bugdaryan/sql-create-context-instruction | |
[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 (qiangshu VARCHAR, jianshu VARCHAR, rank VARCHAR, total VARCHAR)
Question: What is the number of Qiangshu when rank is less than 10, with a total of 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (qiangshu VARCHAR, jianshu VARCHAR, rank VARCHAR, total VARCHAR)
Question: What is the number of Qiangshu when rank is less than 10, with a total of 18.97, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1771753_3 (chassis VARCHAR, average_speed__mph_ VARCHAR)
Question: When 169.182 is the average speed miles per hour what is the chassis?
[/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_1771753_3 (chassis VARCHAR, average_speed__mph_ VARCHAR)
Question: When 169.182 is the average speed miles per hour what is the chassis?
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_20095300_1 (colours VARCHAR, jockey VARCHAR)
Question: What are Andrew McNamara's colors?
[/INST]
Here is the SQLite query to answer to the question: What are... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20095300_1 (colours VARCHAR, jockey VARCHAR)
Question: What are Andrew McNamara's colors?
Here is the SQLite query to answer to the question: What are Andrew McNam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_14 (no_votes INTEGER)
Question: Name the most no votes
[/INST]
Here is the SQLite query to answer to the question: Name the most no votes:
```
SELECT M... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_14 (no_votes INTEGER)
Question: Name the most no votes
Here is the SQLite query to answer to the question: Name the most no votes:
```
SELECT MAX(no_votes) ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (game VARCHAR, opponent VARCHAR, opponents VARCHAR, nets_points VARCHAR)
Question: How many games had fewer than 118 opponents and more than 109 net p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (game VARCHAR, opponent VARCHAR, opponents VARCHAR, nets_points VARCHAR)
Question: How many games had fewer than 118 opponents and more than 109 net points ... | bugdaryan/sql-create-context-instruction | |
[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 (heat INTEGER, lane VARCHAR, country VARCHAR, mark VARCHAR)
Question: What is the lowest heat for the United states with a mark of 51.85 pb and lane h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (heat INTEGER, lane VARCHAR, country VARCHAR, mark VARCHAR)
Question: What is the lowest heat for the United states with a mark of 51.85 pb and lane higher ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1057316_1 (build_date VARCHAR, serial_number VARCHAR)
Question: When was the train 2053 built?
[/INST]
Here is the SQLite query to answer to the question: Whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1057316_1 (build_date VARCHAR, serial_number VARCHAR)
Question: When was the train 2053 built?
Here is the SQLite query to answer to the question: When was the tra... | bugdaryan/sql-create-context-instruction | |
[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 (entrant VARCHAR, engine VARCHAR, driver VARCHAR)
Question: What is the Entrant with a Engine of talbot l6, and Eugène Chaboud was the driver?
[/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 (entrant VARCHAR, engine VARCHAR, driver VARCHAR)
Question: What is the Entrant with a Engine of talbot l6, and Eugène Chaboud was the driver?
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 Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR)
Question: Find the names of rooms that have been reserved for more than 60 times.... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR)
Question: Find the names of rooms that have been reserved for more than 60 times.
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_27734577_8 (high_rebounds VARCHAR, game VARCHAR)
Question: What are the high rebounds in the 45 game?
[/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_27734577_8 (high_rebounds VARCHAR, game VARCHAR)
Question: What are the high rebounds in the 45 game?
Here is the SQLite query to answer to the question: What are ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (main_use VARCHAR, country VARCHAR, name VARCHAR)
Question: What is the Main use of transmitter solt in Hungary?
[/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_75 (main_use VARCHAR, country VARCHAR, name VARCHAR)
Question: What is the Main use of transmitter solt in Hungary?
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_22892217_4 (nightly_rank INTEGER)
Question: What is the highest numbered nightly rank for any episode?
[/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_22892217_4 (nightly_rank INTEGER)
Question: What is the highest numbered nightly rank for any episode?
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_27374004_2 (club VARCHAR, chairman VARCHAR)
Question: What is the club when the chairman is roger lambrecht?
[/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_27374004_2 (club VARCHAR, chairman VARCHAR)
Question: What is the club when the chairman is roger lambrecht?
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_2259502_2 (partner VARCHAR, score VARCHAR)
Question: Who were the partners in games where the score was 1-6, 2-6?
[/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_2259502_2 (partner VARCHAR, score VARCHAR)
Question: Who were the partners in games where the score was 1-6, 2-6?
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 journalist (Name VARCHAR, Years_working VARCHAR)
Question: List the names of journalists in ascending order of years working.
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE journalist (Name VARCHAR, Years_working VARCHAR)
Question: List the names of journalists in ascending order of years working.
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (tries_for VARCHAR, points VARCHAR, tries_against VARCHAR)
Question: How many tries for are associated with 5 points and 2 tries against?
[/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_3 (tries_for VARCHAR, points VARCHAR, tries_against VARCHAR)
Question: How many tries for are associated with 5 points and 2 tries against?
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_12 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
Question: Which entrant had a Brabham BT10 chassis before 1965?
[/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_12 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
Question: Which entrant had a Brabham BT10 chassis before 1965?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (irish_name VARCHAR, province VARCHAR, county VARCHAR)
Question: Province of leinster, and a County of fingal has which irish name?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (irish_name VARCHAR, province VARCHAR, county VARCHAR)
Question: Province of leinster, and a County of fingal has which irish name?
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_31 (tries_for VARCHAR, tries_against VARCHAR)
Question: tries against correct as of 2007-10-15 has what tries for?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (tries_for VARCHAR, tries_against VARCHAR)
Question: tries against correct as of 2007-10-15 has what tries for?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE festival_detail (Num_of_Audience VARCHAR, YEAR VARCHAR)
Question: Show the number of audience in year 2008 or 2010.
[/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 festival_detail (Num_of_Audience VARCHAR, YEAR VARCHAR)
Question: Show the number of audience in year 2008 or 2010.
Here is the SQLite query to answer to the question: 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 Documents (template_id VARCHAR)
Question: Show ids for all templates that are used by more than one document.
[/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 Documents (template_id VARCHAR)
Question: Show ids for all templates that are used by more than one document.
Here is the SQLite query to answer to the question: Show id... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26358264_2 (fastest_qualifying VARCHAR, country VARCHAR)
Question: When united arab emirates is the country how many fastest qualifying are there?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26358264_2 (fastest_qualifying VARCHAR, country VARCHAR)
Question: When united arab emirates is the country how many fastest qualifying are there?
Here is the SQLi... | 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.