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_22905641_2 (race_3_winner VARCHAR, race_2_winner VARCHAR)
Question: How many race 3 winners were there when Mitch Evans won race 2?
[/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_22905641_2 (race_3_winner VARCHAR, race_2_winner VARCHAR)
Question: How many race 3 winners were there when Mitch Evans won race 2?
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_62 (points INTEGER, drawn VARCHAR, games VARCHAR)
Question: Drawn of 0, and a Games larger than 5 has what amount of highest points?
[/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_62 (points INTEGER, drawn VARCHAR, games VARCHAR)
Question: Drawn of 0, and a Games larger than 5 has what amount of highest points?
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_1 (away_team VARCHAR, crowd INTEGER)
Question: What did the away team score in the game with a crowd size larger than 22,000?
[/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_1 (away_team VARCHAR, crowd INTEGER)
Question: What did the away team score in the game with a crowd size larger than 22,000?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR)
Question: What venue did the game on september 5, 1998 take place at?
[/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_71 (venue VARCHAR, date VARCHAR)
Question: What venue did the game on september 5, 1998 take place at?
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_46 (result VARCHAR, goal INTEGER)
Question: What is the result when there's less than 2 goals?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (result VARCHAR, goal INTEGER)
Question: What is the result when there's less than 2 goals?
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 company (headquarters VARCHAR)
Question: List all headquarters and the number of companies in each headquarter.
[/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 company (headquarters VARCHAR)
Question: List all headquarters and the number of companies in each headquarter.
Here is the SQLite query to answer to the question: List ... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, to_par VARCHAR, score VARCHAR)
Question: What is the Place of the Player with a To par of +4 and Score of 70-76-71=217?
[/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_67 (place VARCHAR, to_par VARCHAR, score VARCHAR)
Question: What is the Place of the Player with a To par of +4 and Score of 70-76-71=217?
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_72 (position INTEGER, voluntary VARCHAR, total VARCHAR, compulsory VARCHAR)
Question: What's the position that has a total less than 66.5m, a compulsory ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (position INTEGER, voluntary VARCHAR, total VARCHAR, compulsory VARCHAR)
Question: What's the position that has a total less than 66.5m, a compulsory of 30.... | bugdaryan/sql-create-context-instruction | |
[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 (team_performance VARCHAR, year VARCHAR)
Question: What was the team performance in 1977?
[/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_28 (team_performance VARCHAR, year VARCHAR)
Question: What was the team performance in 1977?
Here is the SQLite query to answer to the question: What was 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_40 (format VARCHAR, date VARCHAR, label VARCHAR)
Question: Which Format has a Date of 14 october 2008, and a Label of eagle eye media?
[/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_40 (format VARCHAR, date VARCHAR, label VARCHAR)
Question: Which Format has a Date of 14 october 2008, and a Label of eagle eye media?
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_1342331_43 (candidates VARCHAR, incumbent VARCHAR)
Question: What is the name of the candidate where the incumbent is named James P. Buchanan?
[/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_1342331_43 (candidates VARCHAR, incumbent VARCHAR)
Question: What is the name of the candidate where the incumbent is named James P. Buchanan?
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_2 (gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, adelaide VARCHAR)
Question: yes or no for the gold coast with yes for melbourne, yes for adel... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, adelaide VARCHAR)
Question: yes or no for the gold coast with yes for melbourne, yes for adelaide, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25947046_1 (arabs VARCHAR, annual_population_growth_rate VARCHAR)
Question: What is the arabs when the annual population growth rate is 1.7%?
[/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_25947046_1 (arabs VARCHAR, annual_population_growth_rate VARCHAR)
Question: What is the arabs when the annual population growth rate is 1.7%?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)
Question: What is the Republican seat plurality of North Carolina?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)
Question: What is the Republican seat plurality of North Carolina?
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_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR)
Question: For the group with 1.92% population in 1981, what was their perce... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR)
Question: For the group with 1.92% population in 1981, what was their percentage ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (country VARCHAR, score VARCHAR)
Question: Which country had a score of 69-67=136?
[/INST]
Here is the SQLite query to answer to the question: Which co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (country VARCHAR, score VARCHAR)
Question: Which country had a score of 69-67=136?
Here is the SQLite query to answer to the question: Which country had a 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_24 (opponent VARCHAR, location VARCHAR)
Question: Who is the opponent at america west arena?
[/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_24 (opponent VARCHAR, location VARCHAR)
Question: Who is the opponent at america west arena?
Here is the SQLite query to answer to the question: Who is the op... | bugdaryan/sql-create-context-instruction | |
[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 (pick INTEGER, college VARCHAR, overall VARCHAR)
Question: What is the highest Pick, when College is "Syracuse", and when Overall is less than 18?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (pick INTEGER, college VARCHAR, overall VARCHAR)
Question: What is the highest Pick, when College is "Syracuse", and when Overall is less than 18?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (oklahoma VARCHAR, nevada VARCHAR, colorado VARCHAR)
Question: What's the value for oklahoma when nevada and colorado are clinton?
[/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_94 (oklahoma VARCHAR, nevada VARCHAR, colorado VARCHAR)
Question: What's the value for oklahoma when nevada and colorado are clinton?
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_260938_1 (base_10 VARCHAR, shortscale_comparison VARCHAR)
Question: Name the base 10 for shortscale comparison for billion
[/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_260938_1 (base_10 VARCHAR, shortscale_comparison VARCHAR)
Question: Name the base 10 for shortscale comparison for billion
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_14747043_1 (class_a VARCHAR, class_aA VARCHAR, Marion VARCHAR)
Question: Which is the class A when Marion was the class AA
[/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_14747043_1 (class_a VARCHAR, class_aA VARCHAR, Marion VARCHAR)
Question: Which is the class A when Marion was the class AA
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_78 (e_coli VARCHAR, human VARCHAR)
Question: Which E. coli has a human value of HNEIL1?
[/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_78 (e_coli VARCHAR, human VARCHAR)
Question: Which E. coli has a human value of HNEIL1?
Here is the SQLite query to answer to the question: Which E. coli has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_43 (brooklyn VARCHAR, queens VARCHAR)
Question: what's the brooklyn with queens value of 16.8%
[/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_1108394_43 (brooklyn VARCHAR, queens VARCHAR)
Question: what's the brooklyn with queens value of 16.8%
Here is the SQLite query to answer to the question: what's 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_20 (draws INTEGER, losses VARCHAR, wins VARCHAR)
Question: What is the draws when there are less than 3 losses and more than 16 wins?
[/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_20 (draws INTEGER, losses VARCHAR, wins VARCHAR)
Question: What is the draws when there are less than 3 losses and more than 16 wins?
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_53 (episode_no VARCHAR, original_airdate VARCHAR, production_no VARCHAR)
Question: What is the episode number of the episode that originally aired on Jan... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (episode_no VARCHAR, original_airdate VARCHAR, production_no VARCHAR)
Question: What is the episode number of the episode that originally aired on January 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_175980_2 (premiere VARCHAR, finale VARCHAR)
Question: What premieres had a finale on May 25, 2004?
[/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_175980_2 (premiere VARCHAR, finale VARCHAR)
Question: What premieres had a finale on May 25, 2004?
Here is the SQLite query to answer to the question: What premier... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR)
Question: With a greater than 4 rank, and the silver medal greater than 0, and the bronz... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR)
Question: With a greater than 4 rank, and the silver medal greater than 0, and the bronze meda... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, date VARCHAR)
Question: On November 20, 1994, what was the result of the game?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (result VARCHAR, date VARCHAR)
Question: On November 20, 1994, what was the result of the game?
Here is the SQLite query to answer to the question: On Nove... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (kemmerode VARCHAR, gersdorf VARCHAR)
Question: What Kemmerode has a Gersforf of 39?
[/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_68 (kemmerode VARCHAR, gersdorf VARCHAR)
Question: What Kemmerode has a Gersforf of 39?
Here is the SQLite query to answer to the question: What Kemmerode has... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14904046_1 (mixed_doubles VARCHAR, year VARCHAR)
Question: How many couples won the Mixed Doubles in 1997?
[/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_14904046_1 (mixed_doubles VARCHAR, year VARCHAR)
Question: How many couples won the Mixed Doubles in 1997?
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_17861179_1 (week INTEGER, game_site VARCHAR)
Question: What is the week where the game site is Shea Stadium?
[/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_17861179_1 (week INTEGER, game_site VARCHAR)
Question: What is the week where the game site is Shea Stadium?
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_88 (label VARCHAR, country VARCHAR)
Question: What is the label on the United States?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (label VARCHAR, country VARCHAR)
Question: What is the label on the United States?
Here is the SQLite query to answer to the question: What is the label on... | bugdaryan/sql-create-context-instruction | |
[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 (club VARCHAR, country VARCHAR, goals VARCHAR)
Question: What club was in Netherlands and had 22 goals?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (club VARCHAR, country VARCHAR, goals VARCHAR)
Question: What club was in Netherlands and had 22 goals?
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_71 (player VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)
Question: Who was the 1999-2002 Years for Grizzlies small forward... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (player VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)
Question: Who was the 1999-2002 Years for Grizzlies small forward Playe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_details VARCHAR)
Question: List the names of all the customers in alphabetical order.
[/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 customers (customer_details VARCHAR)
Question: List the names of all the customers in alphabetical order.
Here is the SQLite query to answer to the question: List the na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (potassium VARCHAR, lithium VARCHAR, sodium VARCHAR)
Question: what is the properties of potassium when lithium is h a l o g e n s and sodium is bromi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (potassium VARCHAR, lithium VARCHAR, sodium VARCHAR)
Question: what is the properties of potassium when lithium is h a l o g e n s and sodium is bromine?
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_16278894_1 (former_province VARCHAR, area__km_2__ VARCHAR)
Question: In what former province was the area 694.9 kilometers squared?
[/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_16278894_1 (former_province VARCHAR, area__km_2__ VARCHAR)
Question: In what former province was the area 694.9 kilometers squared?
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_84 (ad_freq VARCHAR, show_name VARCHAR)
Question: How often are there ads during American Top 40?
[/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 (ad_freq VARCHAR, show_name VARCHAR)
Question: How often are there ads during American Top 40?
Here is the SQLite query to answer to the question: How ofte... | bugdaryan/sql-create-context-instruction | |
[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 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR)
Question: what is the average leagu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR)
Question: what is the average league cup ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17304308_1 (grid INTEGER, points VARCHAR)
Question: Name the least grid for 17 points
[/INST]
Here is the SQLite query to answer to the question: Name the le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17304308_1 (grid INTEGER, points VARCHAR)
Question: Name the least grid for 17 points
Here is the SQLite query to answer to the question: Name the least grid for ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13746866_2 (percentage_of_votes VARCHAR, election_date VARCHAR)
Question: what's the percentage of votes with election date being 1981
[/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_13746866_2 (percentage_of_votes VARCHAR, election_date VARCHAR)
Question: what's the percentage of votes with election date being 1981
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_71 (voltage_center__v_ VARCHAR, input_clock__mhz_ VARCHAR, part_number VARCHAR)
Question: Which Voltage Center (V) has an Input Clock (MHz) of 25 x 3, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (voltage_center__v_ VARCHAR, input_clock__mhz_ VARCHAR, part_number VARCHAR)
Question: Which Voltage Center (V) has an Input Clock (MHz) of 25 x 3, and a 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_40 (date VARCHAR, opponent VARCHAR)
Question: When was the game against the Indianapolis Colts?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (date VARCHAR, opponent VARCHAR)
Question: When was the game against the Indianapolis Colts?
Here is the SQLite query to answer to the question: When was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (high_rebounds VARCHAR, score VARCHAR)
Question: What is the name of the player with the High rebounds when there was a Score of l 108–114 (ot)?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (high_rebounds VARCHAR, score VARCHAR)
Question: What is the name of the player with the High rebounds when there was a Score of l 108–114 (ot)?
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_24 (date VARCHAR, record VARCHAR)
Question: What is the date of the match with a 28-15 record?
[/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_24 (date VARCHAR, record VARCHAR)
Question: What is the date of the match with a 28-15 record?
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_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR)
Question: What years did the person coach who had more than 1 tie, mess than 311 wins and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR)
Question: What years did the person coach who had more than 1 tie, mess than 311 wins and 174 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_27369069_1 (university VARCHAR, soccer_stadium VARCHAR)
Question: Which University's soccer stadium in named Moncton Stadium?
[/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_27369069_1 (university VARCHAR, soccer_stadium VARCHAR)
Question: Which University's soccer stadium in named Moncton Stadium?
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_16387953_1 (date VARCHAR, ground VARCHAR)
Question: On what dates where games played at Football Park?
[/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_16387953_1 (date VARCHAR, ground VARCHAR)
Question: On what dates where games played at Football Park?
Here is the SQLite query to answer to the question: On 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 submission (College VARCHAR)
Question: Show different colleges along with the number of authors of submission from each college.
[/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 submission (College VARCHAR)
Question: Show different colleges along with the number of authors of submission from each college.
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_20466963_13 (guest_2 VARCHAR, presenter VARCHAR, date VARCHAR)
Question: Name the guest 2 for colin murray 6 april
[/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_20466963_13 (guest_2 VARCHAR, presenter VARCHAR, date VARCHAR)
Question: Name the guest 2 for colin murray 6 april
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_24231638_3 (team VARCHAR, position_in_table VARCHAR)
Question: What is the team for the position in table 19th?
[/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_24231638_3 (team VARCHAR, position_in_table VARCHAR)
Question: What is the team for the position in table 19th?
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_53 (name VARCHAR, term_end VARCHAR)
Question: Who is the prime minister that had a term that ended on 5 March 1930?
[/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_53 (name VARCHAR, term_end VARCHAR)
Question: Who is the prime minister that had a term that ended on 5 March 1930?
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_14 (club_source_ VARCHAR, i_ VARCHAR, name VARCHAR)
Question: What is Club Source [I ], when Name is "Andrew McCombie Category:Articles With hCards"?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (club_source_ VARCHAR, i_ VARCHAR, name VARCHAR)
Question: What is Club Source [I ], when Name is "Andrew McCombie Category:Articles With hCards"?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (year VARCHAR, league VARCHAR)
Question: What years did the Nashville Metros have Usisl Indoor League?
[/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_63 (year VARCHAR, league VARCHAR)
Question: What years did the Nashville Metros have Usisl Indoor League?
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 (league VARCHAR, play_offs VARCHAR, name VARCHAR)
Question: What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (league VARCHAR, play_offs VARCHAR, name VARCHAR)
Question: What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Cat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1969634_1 (enrollment VARCHAR, institution VARCHAR)
Question: How many schools named southern new hampshire university?
[/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_1969634_1 (enrollment VARCHAR, institution VARCHAR)
Question: How many schools named southern new hampshire university?
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_24018430_3 (original_air_date VARCHAR, production_code VARCHAR)
Question: what is the original air date for production code 216?
[/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_24018430_3 (original_air_date VARCHAR, production_code VARCHAR)
Question: what is the original air date for production code 216?
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_50 (attendance INTEGER, date VARCHAR)
Question: Name the average attendance from june 11
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)
Question: Name the average attendance from june 11
Here is the SQLite query to answer to the question: Name the average ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (team VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: Which Team has Laps of 100, and a Time/Retired of +8.6 secs?
[/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_33 (team VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: Which Team has Laps of 100, and a Time/Retired of +8.6 secs?
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_290017_1 (subdivision_name___ru____bgn_pcgn_ VARCHAR, code VARCHAR)
Question: What subdivision names (RU) have a code of by-hr?
[/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_290017_1 (subdivision_name___ru____bgn_pcgn_ VARCHAR, code VARCHAR)
Question: What subdivision names (RU) have a code of by-hr?
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 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)
Question: What was the score for United States when the player was Mike Reid and the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)
Question: What was the score for United States when the player was Mike Reid and the To par... | bugdaryan/sql-create-context-instruction | |
[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 (extra_points INTEGER, points INTEGER)
Question: Whicih Extra points are the average ones that have Points smaller than 6?
[/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_35 (extra_points INTEGER, points INTEGER)
Question: Whicih Extra points are the average ones that have Points smaller than 6?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19131921_1 (frequency VARCHAR, station VARCHAR)
Question: Which frequency is station wlfv-fm?
[/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_19131921_1 (frequency VARCHAR, station VARCHAR)
Question: Which frequency is station wlfv-fm?
Here is the SQLite query to answer to the question: Which frequency 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_6 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR)
Question: What was the date of the away game that they lost to Accrington?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR)
Question: What was the date of the away game that they lost to Accrington?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE available_policies (policy_type_code VARCHAR, policy_id VARCHAR); CREATE TABLE customers_policies (c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE available_policies (policy_type_code VARCHAR, policy_id VARCHAR); CREATE TABLE customers_policies (custome... | bugdaryan/sql-create-context-instruction | |
[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 (year_built VARCHAR, name VARCHAR)
Question: What year was the cormorant built in?
[/INST]
Here is the SQLite query to answer to the question: What ye... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (year_built VARCHAR, name VARCHAR)
Question: What year was the cormorant built in?
Here is the SQLite query to answer to the question: What year was the co... | bugdaryan/sql-create-context-instruction | |
[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 (appointed_by VARCHAR, judge VARCHAR)
Question: Who appointed Judge Edward E. Cushman?
[/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_73 (appointed_by VARCHAR, judge VARCHAR)
Question: Who appointed Judge Edward E. Cushman?
Here is the SQLite query to answer to the question: Who appointed Ju... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (tournament VARCHAR)
Question: What is the 1999 finish for the tournament in Rome?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (tournament VARCHAR)
Question: What is the 1999 finish for the tournament in Rome?
Here is the SQLite query to answer to the question: What is the 1999 fin... | bugdaryan/sql-create-context-instruction | |
[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 (total VARCHAR, vault VARCHAR, floor_exercise VARCHAR)
Question: What is the sum of totals with a Vault of 38.437, and a Floor Exercise smaller than 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (total VARCHAR, vault VARCHAR, floor_exercise VARCHAR)
Question: What is the sum of totals with a Vault of 38.437, and a Floor Exercise smaller than 37.524?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23265433_2 (overall VARCHAR, offensive VARCHAR)
Question: Name the overall for mark steenhuis
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23265433_2 (overall VARCHAR, offensive VARCHAR)
Question: Name the overall for mark steenhuis
Here is the SQLite query to answer to the question: Name the overall ... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, score VARCHAR)
Question: What away team scored 107-104?
[/INST]
Here is the SQLite query to answer to the question: What away team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (away_team VARCHAR, score VARCHAR)
Question: What away team scored 107-104?
Here is the SQLite query to answer to the question: What away team scored 107-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_55 (res VARCHAR, opponent VARCHAR)
Question: What is the result for the match against Wataru Sakata?
[/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_55 (res VARCHAR, opponent VARCHAR)
Question: What is the result for the match against Wataru Sakata?
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_29 (home VARCHAR, visitor VARCHAR)
Question: Name the home with toronto visiting
[/INST]
Here is the SQLite query to answer to the question: Name the hom... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR)
Question: Name the home with toronto visiting
Here is the SQLite query to answer to the question: Name the home with toront... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (group VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR)
Question: After 2008, which Group has the Result, nominated, and the Award, Best Lead Act... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (group VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR)
Question: After 2008, which Group has the Result, nominated, and the Award, Best Lead Actor in ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27537518_4 (score VARCHAR, game VARCHAR)
Question: What was the score for game #1?
[/INST]
Here is the SQLite query to answer to the question: What was the sc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27537518_4 (score VARCHAR, game VARCHAR)
Question: What was the score for game #1?
Here is the SQLite query to answer to the question: What was the score for game ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17360840_4 (game VARCHAR, record VARCHAR)
Question: How many games with record 1-3-3
[/INST]
Here is the SQLite query to answer to the question: How many game... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17360840_4 (game VARCHAR, record VARCHAR)
Question: How many games with record 1-3-3
Here is the SQLite query to answer to the question: How many games with record... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR)
Question: What are the International tourist arrivals (2010) where c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR)
Question: What are the International tourist arrivals (2010) where change ... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, visitor VARCHAR)
Question: what day did the team go to toronto
[/INST]
Here is the SQLite query to answer to the question: what day did... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (date VARCHAR, visitor VARCHAR)
Question: what day did the team go to toronto
Here is the SQLite query to answer to the question: what day did the team go ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_221375_1 (province_of_1936 VARCHAR, district VARCHAR)
Question: Name province of 1936 viana do castelo
[/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_221375_1 (province_of_1936 VARCHAR, district VARCHAR)
Question: Name province of 1936 viana do castelo
Here is the SQLite query to answer to the question: Name pr... | bugdaryan/sql-create-context-instruction | |
[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 (airport VARCHAR, country VARCHAR, iata VARCHAR)
Question: What is the name of the airport located in Russia with an IATA of KRR?
[/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_30 (airport VARCHAR, country VARCHAR, iata VARCHAR)
Question: What is the name of the airport located in Russia with an IATA of KRR?
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_67 (fcc_info VARCHAR, erp_w VARCHAR)
Question: Which FCC info has an ERP W of 100 watts?
[/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_67 (fcc_info VARCHAR, erp_w VARCHAR)
Question: Which FCC info has an ERP W of 100 watts?
Here is the SQLite query to answer to the question: Which FCC info ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25597136_1 (focal_plane_in_ft__m_ VARCHAR, tower_height_in_ft__m_ VARCHAR)
Question: Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25597136_1 (focal_plane_in_ft__m_ VARCHAR, tower_height_in_ft__m_ VARCHAR)
Question: Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).
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_15 (captain VARCHAR, guns VARCHAR)
Question: Tell me the captain for guns of 28
[/INST]
Here is the SQLite query to answer to the question: Tell me the c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (captain VARCHAR, guns VARCHAR)
Question: Tell me the captain for guns of 28
Here is the SQLite query to answer to the question: Tell me the captain for gu... | bugdaryan/sql-create-context-instruction | |
[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 (winner VARCHAR, runner_up VARCHAR, country VARCHAR)
Question: Who was the winner from the United States the year Kimberly Kim was runner-up?
[/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 (winner VARCHAR, runner_up VARCHAR, country VARCHAR)
Question: Who was the winner from the United States the year Kimberly Kim was runner-up?
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_93 (height_ft___m__ VARCHAR, floors VARCHAR)
Question: Which height, in meters, has 36 floors?
[/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_93 (height_ft___m__ VARCHAR, floors VARCHAR)
Question: Which height, in meters, has 36 floors?
Here is the SQLite query to answer to the question: Which heigh... | bugdaryan/sql-create-context-instruction | |
[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 (time_retired VARCHAR, driver VARCHAR)
Question: What is Driver Howden Ganley's Time/Retired?
[/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_75 (time_retired VARCHAR, driver VARCHAR)
Question: What is Driver Howden Ganley's Time/Retired?
Here is the SQLite query to answer to the question: What is 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_81 (date VARCHAR, opponents VARCHAR)
Question: Opponents of sheffield wednesday had what date?
[/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_81 (date VARCHAR, opponents VARCHAR)
Question: Opponents of sheffield wednesday had what date?
Here is the SQLite query to answer to the question: Opponents 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_name_96 (iucn VARCHAR, est VARCHAR, reserve VARCHAR)
Question: What is the IUCN for the gales point reserve when the Est. is 1998?
[/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_96 (iucn VARCHAR, est VARCHAR, reserve VARCHAR)
Question: What is the IUCN for the gales point reserve when the Est. is 1998?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (react INTEGER, mark VARCHAR, heat VARCHAR)
Question: What is the highest React that has a 7.61 Mark and a heat bigger than 1?
[/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_84 (react INTEGER, mark VARCHAR, heat VARCHAR)
Question: What is the highest React that has a 7.61 Mark and a heat bigger than 1?
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_1616608_2 (game_modes VARCHAR, released_date VARCHAR)
Question: What are the game modes for the game released in 2007?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1616608_2 (game_modes VARCHAR, released_date VARCHAR)
Question: What are the game modes for the game released in 2007?
Here is the SQLite query to answer to the 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_16390001_2 (interview VARCHAR, average VARCHAR)
Question: What are the interview scores for contestants whose average is 9.090?
[/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_16390001_2 (interview VARCHAR, average VARCHAR)
Question: What are the interview scores for contestants whose average is 9.090?
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 (artist VARCHAR, english_translation VARCHAR)
Question: Which Artist has an English translation of all this is music?
[/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_92 (artist VARCHAR, english_translation VARCHAR)
Question: Which Artist has an English translation of all this is music?
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_58 (title VARCHAR, songwriter_s_ VARCHAR, time VARCHAR)
Question: Which song was written by Nigel Stock and is 4:12 long?
[/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_58 (title VARCHAR, songwriter_s_ VARCHAR, time VARCHAR)
Question: Which song was written by Nigel Stock and is 4:12 long?
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_39 (competition VARCHAR, venue VARCHAR, attendance VARCHAR)
Question: What was the home Competition with Attendance of 1,268?
[/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_39 (competition VARCHAR, venue VARCHAR, attendance VARCHAR)
Question: What was the home Competition with Attendance of 1,268?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR)
Question: Show the id of each employee and the number of document destruction authorised b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR)
Question: Show the id of each employee and the number of document destruction authorised by that... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, loss VARCHAR)
Question: Name the opponent with loss of sanderson (9-8)
[/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_80 (opponent VARCHAR, loss VARCHAR)
Question: Name the opponent with loss of sanderson (9-8)
Here is the SQLite query to answer to the question: Name the oppo... | bugdaryan/sql-create-context-instruction | |
[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 (wins INTEGER, tournament VARCHAR, events VARCHAR)
Question: How many times did Morgan win The Masters Tournament with fewer than 12 appearances?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (wins INTEGER, tournament VARCHAR, events VARCHAR)
Question: How many times did Morgan win The Masters Tournament with fewer than 12 appearances?
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_61 (to_par VARCHAR, player VARCHAR)
Question: Name the To par for dick metz
[/INST]
Here is the SQLite query to answer to the question: Name the To par f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (to_par VARCHAR, player VARCHAR)
Question: Name the To par for dick metz
Here is the SQLite query to answer to the question: Name the To par for dick metz:... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, year VARCHAR, venue VARCHAR)
Question: Which Home team has a Year of 2002/03, and a Venue of tahnoun bin mohamed stadium?
[/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 (home_team VARCHAR, year VARCHAR, venue VARCHAR)
Question: Which Home team has a Year of 2002/03, and a Venue of tahnoun bin mohamed stadium?
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_82 (date VARCHAR, record VARCHAR)
Question: Which Date has a Record of 6-6?
[/INST]
Here is the SQLite query to answer to the question: Which Date 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_82 (date VARCHAR, record VARCHAR)
Question: Which Date has a Record of 6-6?
Here is the SQLite query to answer to the question: Which Date has a Record of 6-6... | 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.