text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR)
Question: Nationality of england, and a Matches smaller th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR)
Question: Nationality of england, and a Matches smaller than 510... | bugdaryan/sql-create-context-instruction | |
[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 (school VARCHAR, team VARCHAR)
Question: What school does the Blue Raiders belong to?
[/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_16 (school VARCHAR, team VARCHAR)
Question: What school does the Blue Raiders belong to?
Here is the SQLite query to answer to the question: What school does ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2159571_2 (reason_for_change VARCHAR, district VARCHAR)
Question: What is every reason for change for the Washington 3rd District?
[/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_2159571_2 (reason_for_change VARCHAR, district VARCHAR)
Question: What is every reason for change for the Washington 3rd District?
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_2 (rank INTEGER, gold INTEGER)
Question: What's the total Rank that has a Gold that's smaller than 0?
[/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_2 (rank INTEGER, gold INTEGER)
Question: What's the total Rank that has a Gold that's smaller than 0?
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_32 (score VARCHAR, date VARCHAR)
Question: What was the Score on February 18, 2008?
[/INST]
Here is the SQLite query to answer to the question: What was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR)
Question: What was the Score on February 18, 2008?
Here is the SQLite query to answer to the question: What was the Score 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_2879165_1 (country VARCHAR, ioc_code VARCHAR)
Question: What is the name of the country when the ioc code is mas?
[/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_2879165_1 (country VARCHAR, ioc_code VARCHAR)
Question: What is the name of the country when the ioc code is mas?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (winner VARCHAR, year VARCHAR)
Question: What is Winner, when Year is 2013?
[/INST]
Here is the SQLite query to answer to the question: What is Winner... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (winner VARCHAR, year VARCHAR)
Question: What is Winner, when Year is 2013?
Here is the SQLite query to answer to the question: What is Winner, when Year 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_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR)
Question: what is the virtual callsign if is wnet
[/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_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR)
Question: what is the virtual callsign if is wnet
Here is the SQLite query to answer to the question: what is the v... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, date VARCHAR)
Question: What is Opponent, when Date is 8 April 1999?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (opponent VARCHAR, date VARCHAR)
Question: What is Opponent, when Date is 8 April 1999?
Here is the SQLite query to answer to the question: What is Opponen... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: Name the 1997 for atp masters series 1992
[/INST]
Here is the SQLite query to answer to the question: Name the 1997 for atp mas... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (Id VARCHAR)
Question: Name the 1997 for atp masters series 1992
Here is the SQLite query to answer to the question: Name the 1997 for atp masters series 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 airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Ai... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_... | bugdaryan/sql-create-context-instruction | |
[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 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR)
Question: What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR)
Question: What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (nation VARCHAR, rank VARCHAR, gold VARCHAR, total VARCHAR)
Question: Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (nation VARCHAR, rank VARCHAR, gold VARCHAR, total VARCHAR)
Question: Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1161065_27 (total INTEGER, team VARCHAR)
Question: What is the total of port adelaide
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1161065_27 (total INTEGER, team VARCHAR)
Question: What is the total of port adelaide
Here is the SQLite query to answer to the question: What is the total of port... | bugdaryan/sql-create-context-instruction | |
[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 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
Question: Which Laps have a Time/Retired of + 4 laps, and a Grid larger than 18?
[/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_72 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
Question: Which Laps have a Time/Retired of + 4 laps, and a Grid larger than 18?
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_24 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team score when played at mcg?
[/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_24 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team score when played at mcg?
Here is the SQLite query to answer to the question: What 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_28 (budget VARCHAR, film VARCHAR)
Question: WHAT IS THE BUDGET FOR THE INCREDIBLES?
[/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_28 (budget VARCHAR, film VARCHAR)
Question: WHAT IS THE BUDGET FOR THE INCREDIBLES?
Here is the SQLite query to answer to the question: WHAT IS THE BUDGET 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_name_65 (money___ INTEGER, score VARCHAR)
Question: What is the highest Money ( $ ), when Score is "69-71-70-74=284"?
[/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_65 (money___ INTEGER, score VARCHAR)
Question: What is the highest Money ( $ ), when Score is "69-71-70-74=284"?
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_37 (record VARCHAR, opponent VARCHAR)
Question: what is the record when the opponent is akiko inoue?
[/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_37 (record VARCHAR, opponent VARCHAR)
Question: what is the record when the opponent is akiko inoue?
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 Flight (origin VARCHAR, destination VARCHAR)
Question: Show origins of all flights with destination Honolulu.
[/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 Flight (origin VARCHAR, destination VARCHAR)
Question: Show origins of all flights with destination Honolulu.
Here is the SQLite query to answer to the question: Show or... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22583466_5 (s_host VARCHAR, race_caller VARCHAR)
Question: For the race called by Marshall Cassidy, who was the host?
[/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_22583466_5 (s_host VARCHAR, race_caller VARCHAR)
Question: For the race called by Marshall Cassidy, who was the host?
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_31 (class VARCHAR, peak VARCHAR)
Question: Which class has a peak named fountains fell south top?
[/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_31 (class VARCHAR, peak VARCHAR)
Question: Which class has a peak named fountains fell south top?
Here is the SQLite query to answer to the question: Which cl... | bugdaryan/sql-create-context-instruction | |
[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 (transfer_fee VARCHAR, country VARCHAR, transfer_window VARCHAR, type VARCHAR)
Question: What is the transfer fee when summer is the transfer window, t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (transfer_fee VARCHAR, country VARCHAR, transfer_window VARCHAR, type VARCHAR)
Question: What is the transfer fee when summer is the transfer window, the typ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR)
Question: What is the number of floors for the Citic Square?
[/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_10 (floors INTEGER, name VARCHAR)
Question: What is the number of floors for the Citic Square?
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_1104312_5 (original_name VARCHAR, population_at_2010_census VARCHAR)
Question: What are the original names of the districts where the population in the 2010 c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1104312_5 (original_name VARCHAR, population_at_2010_census VARCHAR)
Question: What are the original names of the districts where the population in the 2010 census ... | bugdaryan/sql-create-context-instruction | |
[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 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR)
Question: Which highest 'goals against' number had wins of 19 and a 'goals for' number that w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR)
Question: Which highest 'goals against' number had wins of 19 and a 'goals for' number that was big... | bugdaryan/sql-create-context-instruction | |
[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 (apparatus VARCHAR, rank_final VARCHAR, competition_description VARCHAR)
Question: What is Apparatus, when Rank-Final is greater than 6, and when Compe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (apparatus VARCHAR, rank_final VARCHAR, competition_description VARCHAR)
Question: What is Apparatus, when Rank-Final is greater than 6, and when Competition... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR)
Question: On what day did the team play the Indianapolis Colts?
[/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_26 (date VARCHAR, opponent VARCHAR)
Question: On what day did the team play the Indianapolis Colts?
Here is the SQLite query to answer to the question: On 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_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR)
Question: What is the mascot for the school founded in 1923 with the school colors of blue... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR)
Question: What is the mascot for the school founded in 1923 with the school colors of blue, red ... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, loss VARCHAR)
Question: What is the largest Attendance with a Loss of darling (0–1)?
[/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_name_35 (attendance INTEGER, loss VARCHAR)
Question: What is the largest Attendance with a Loss of darling (0–1)?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24330912_1 (cuts_made INTEGER, top_10s VARCHAR)
Question: When 0 is the top 10's what is the highest amount of cuts made?
[/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_24330912_1 (cuts_made INTEGER, top_10s VARCHAR)
Question: When 0 is the top 10's what is the highest amount of cuts made?
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_92 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What did vijay singh score with a +5 to par?
[/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_92 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What did vijay singh score with a +5 to par?
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_86 (territory VARCHAR, channel VARCHAR)
Question: Where is channel 83 broadcasted?
[/INST]
Here is the SQLite query to answer to the question: Where is c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (territory VARCHAR, channel VARCHAR)
Question: Where is channel 83 broadcasted?
Here is the SQLite query to answer to the question: Where is channel 83 bro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR)
Question: Who is performer 4 on episode 3, where Jim Sweeney was performer 1?
[/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_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR)
Question: Who is performer 4 on episode 3, where Jim Sweeney was performer 1?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[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 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR)
Question: What municipality has 719 people and is larger than 108.46 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR)
Question: What municipality has 719 people and is larger than 108.46 km2?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (games INTEGER, season VARCHAR, average VARCHAR)
Question: What is the maximum number of games when the season is more recent than 2001 and the averag... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (games INTEGER, season VARCHAR, average VARCHAR)
Question: What is the maximum number of games when the season is more recent than 2001 and the average is l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (package_option VARCHAR, country VARCHAR, language VARCHAR)
Question: What is the package/option for Italy when the language is italian?
[/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_24 (package_option VARCHAR, country VARCHAR, language VARCHAR)
Question: What is the package/option for Italy when the language is italian?
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_29 (first_cap VARCHAR, goals VARCHAR, caps VARCHAR)
Question: When was the first cap associated with 39 caps and under 33 goals?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (first_cap VARCHAR, goals VARCHAR, caps VARCHAR)
Question: When was the first cap associated with 39 caps and under 33 goals?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (nation VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What Nation has more than 4 silver, more than 3 gold and 18 total medals?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (nation VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What Nation has more than 4 silver, more than 3 gold and 18 total medals?
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_29 (mass VARCHAR, launch_date_time___gmt__ VARCHAR)
Question: What is Mass, when Launch Date/Time ( GMT ) is 25 November 1976, 03:59?
[/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_29 (mass VARCHAR, launch_date_time___gmt__ VARCHAR)
Question: What is Mass, when Launch Date/Time ( GMT ) is 25 November 1976, 03:59?
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 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)
Question: Which crystal structures has a Tc(K) of 110 and the num... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)
Question: Which crystal structures has a Tc(K) of 110 and the number of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (gold_medals VARCHAR, ensemble VARCHAR, silver_medals VARCHAR)
Question: How many gold medals for bellbrook HS with less than 1 silver?
[/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_73 (gold_medals VARCHAR, ensemble VARCHAR, silver_medals VARCHAR)
Question: How many gold medals for bellbrook HS with less than 1 silver?
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 undergoes (AssistingNurse VARCHAR); CREATE TABLE nurse (name VARCHAR, EmployeeID VARCHAR)
Question: Find the names of nurses who are nursing an undergoing treatment... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE undergoes (AssistingNurse VARCHAR); CREATE TABLE nurse (name VARCHAR, EmployeeID VARCHAR)
Question: Find the names of nurses who are nursing an undergoing treatment.
Her... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, team VARCHAR)
Question: What position did the kr team player play?
[/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_15 (position VARCHAR, team VARCHAR)
Question: What position did the kr team player play?
Here is the SQLite query to answer to the question: What position did... | bugdaryan/sql-create-context-instruction | |
[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 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
Question: Which team played at home for the second leg and has an aggregate score of 2-4?
[/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_39 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
Question: Which team played at home for the second leg and has an aggregate score of 2-4?
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_67 (record VARCHAR, date VARCHAR)
Question: Name the record for february 27
[/INST]
Here is the SQLite query to answer to the question: Name the record f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (record VARCHAR, date VARCHAR)
Question: Name the record for february 27
Here is the SQLite query to answer to the question: Name the record for february 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_name_74 (casualties VARCHAR, location VARCHAR)
Question: Name the casualities for kabul area
[/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_74 (casualties VARCHAR, location VARCHAR)
Question: Name the casualities for kabul area
Here is the SQLite query to answer to the question: Name the casualiti... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick VARCHAR)
Question: What is the highest round that has an overall of 143 and a pick greater than 6?
[/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_36 (round INTEGER, overall VARCHAR, pick VARCHAR)
Question: What is the highest round that has an overall of 143 and a pick greater than 6?
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 images (image_name VARCHAR, image_url VARCHAR)
Question: List all the image name and URLs in the order of their names.
[/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 images (image_name VARCHAR, image_url VARCHAR)
Question: List all the image name and URLs in the order of their names.
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_89 (outcome VARCHAR, date VARCHAR)
Question: What is the outcome on March 20, 1994?
[/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_89 (outcome VARCHAR, date VARCHAR)
Question: What is the outcome on March 20, 1994?
Here is the SQLite query to answer to the question: What is the outcome 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_96 (competition VARCHAR, year VARCHAR, score VARCHAR)
Question: Which competition before 1982 had a score of 2:3?
[/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_name_96 (competition VARCHAR, year VARCHAR, score VARCHAR)
Question: Which competition before 1982 had a score of 2:3?
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 Accounts (account_id VARCHAR, customer_id VARCHAR, account_name VARCHAR)
Question: Show ids, customer ids, names for all accounts.
[/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 Accounts (account_id VARCHAR, customer_id VARCHAR, account_name VARCHAR)
Question: Show ids, customer ids, names for all accounts.
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_61 (year INTEGER, title VARCHAR)
Question: What is the average year for Faces?
[/INST]
Here is the SQLite query to answer to the question: What is the av... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (year INTEGER, title VARCHAR)
Question: What is the average year for Faces?
Here is the SQLite query to answer to the question: What is the average year fo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)
Question: What is Score, when Player is "Jeff Maggert"?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)
Question: What is Score, when Player is "Jeff Maggert"?
Here is the SQLite query to answer to the question: What is Score, ... | bugdaryan/sql-create-context-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_5 (game VARCHAR, record VARCHAR)
Question: Which game had a record of 6-9-7?
[/INST]
Here is the SQLite query to answer to the question: Which game h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17360840_5 (game VARCHAR, record VARCHAR)
Question: Which game had a record of 6-9-7?
Here is the SQLite query to answer to the question: Which game had a 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 Person (gender VARCHAR, age INTEGER)
Question: What is the average age for each gender?
[/INST]
Here is the SQLite query to answer to the question: What is the aver... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Person (gender VARCHAR, age INTEGER)
Question: What is the average age for each gender?
Here is the SQLite query to answer to the question: What is the average age for e... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR)
Question: What is the score when november 15 is the date?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR)
Question: What is the score when november 15 is the date?
Here is the SQLite query to answer to the question: What is the sco... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)
Question: How many averages were listed for the couple who had 12 dances?
[/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_23662356_3 (average VARCHAR, number_of_dances VARCHAR)
Question: How many averages were listed for the couple who had 12 dances?
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_75 (parts_per_example VARCHAR, value_of_quantity VARCHAR)
Question: What is the Parts-per example of 2×10 −6?
[/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_75 (parts_per_example VARCHAR, value_of_quantity VARCHAR)
Question: What is the Parts-per example of 2×10 −6?
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_25459168_2 (pole_position VARCHAR, supporting VARCHAR)
Question: Who got the pole position if the supporting is USAC National Midget Series?
[/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_25459168_2 (pole_position VARCHAR, supporting VARCHAR)
Question: Who got the pole position if the supporting is USAC National Midget Series?
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_27722408_2 (high_assists VARCHAR, date VARCHAR)
Question: Who had the most assists and how many did they have on October 7?
[/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_27722408_2 (high_assists VARCHAR, date VARCHAR)
Question: Who had the most assists and how many did they have on October 7?
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_21 (time VARCHAR, elimination VARCHAR)
Question: What time is listed against Elimination number 2?
[/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_21 (time VARCHAR, elimination VARCHAR)
Question: What time is listed against Elimination number 2?
Here is the SQLite query to answer to the question: What ti... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Ref_Shipping_Agents (shipping_agent_code VARCHAR, shipping_agent_name VARCHAR)
Question: What is the shipping agent code of shipping agent UPS?
[/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 Ref_Shipping_Agents (shipping_agent_code VARCHAR, shipping_agent_name VARCHAR)
Question: What is the shipping agent code of shipping agent UPS?
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_17779448_1 (attendance VARCHAR, opponent VARCHAR)
Question: How many attended game(s) against the boston patriots?
[/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_17779448_1 (attendance VARCHAR, opponent VARCHAR)
Question: How many attended game(s) against the boston patriots?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (d_43_√ VARCHAR, d_42_√ VARCHAR)
Question: What is the value of D 43 √ when the value of D 42 √ is d 42 √?
[/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_58 (d_43_√ VARCHAR, d_42_√ VARCHAR)
Question: What is the value of D 43 √ when the value of D 42 √ is d 42 √?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (draw INTEGER, match VARCHAR, lost VARCHAR, team VARCHAR)
Question: What is the average draw that has a lost less than 4, gwardia bydgoszcz as the tea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (draw INTEGER, match VARCHAR, lost VARCHAR, team VARCHAR)
Question: What is the average draw that has a lost less than 4, gwardia bydgoszcz as the team, wit... | bugdaryan/sql-create-context-instruction | |
[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 (pick__number INTEGER, name VARCHAR, overall VARCHAR)
Question: Which highest pick number's name was Adam Podlesh, when the overall was less than 101?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (pick__number INTEGER, name VARCHAR, overall VARCHAR)
Question: Which highest pick number's name was Adam Podlesh, when the overall was less than 101?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (bulls VARCHAR, venue VARCHAR)
Question: What was the total number for the Bulls when they were at Old Trafford?
[/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_27 (bulls VARCHAR, venue VARCHAR)
Question: What was the total number for the Bulls when they were at Old Trafford?
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_3 (total INTEGER, rank VARCHAR, bronze VARCHAR)
Question: What is the average Total with a Rank greater than 1, and a Bronze larger than 8?
[/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 (total INTEGER, rank VARCHAR, bronze VARCHAR)
Question: What is the average Total with a Rank greater than 1, and a Bronze larger than 8?
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_25691838_6 (the_wørd VARCHAR, episode__number VARCHAR)
Question: What was the number of "The Word" segments for episode number 727?
[/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_25691838_6 (the_wørd VARCHAR, episode__number VARCHAR)
Question: What was the number of "The Word" segments for episode number 727?
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_77 (score VARCHAR, date VARCHAR)
Question: What was the score on may 19?
[/INST]
Here is the SQLite query to answer to the question: What was the score o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR)
Question: What was the score on may 19?
Here is the SQLite query to answer to the question: What was the score on may 19?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (races INTEGER, wins VARCHAR, podiums VARCHAR, series VARCHAR)
Question: What is the largest number of races when there are less than 6 podiums, the se... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (races INTEGER, wins VARCHAR, podiums VARCHAR, series VARCHAR)
Question: What is the largest number of races when there are less than 6 podiums, the series 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_46 (ebit__us_ VARCHAR, year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)
Question: Name the total number of EBIT (US $m) in 2011 and a Earnings per ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (ebit__us_ VARCHAR, year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)
Question: Name the total number of EBIT (US $m) in 2011 and a Earnings per share ... | bugdaryan/sql-create-context-instruction | |
[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 (frequency_mhz INTEGER, city_of_license VARCHAR)
Question: What is the average Frequency MHz that is on farwell, texas?
[/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_name_72 (frequency_mhz INTEGER, city_of_license VARCHAR)
Question: What is the average Frequency MHz that is on farwell, texas?
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_84 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR)
Question: When phonetic realisation is [[[|u]]], what is the variant with niqqud?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR)
Question: When phonetic realisation is [[[|u]]], what is the variant with niqqud?
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_22410780_1 (performance_liaison VARCHAR, dramaturge VARCHAR)
Question: Who were the performance liaisons for the dramaturge Chrisena Ricci?
[/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_22410780_1 (performance_liaison VARCHAR, dramaturge VARCHAR)
Question: Who were the performance liaisons for the dramaturge Chrisena Ricci?
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_2899987_2 (region VARCHAR, owner VARCHAR)
Question: Which regions are owned by estado de tabasco?
[/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_2899987_2 (region VARCHAR, owner VARCHAR)
Question: Which regions are owned by estado de tabasco?
Here is the SQLite query to answer to the question: Which regions... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1007688_1 (smallpox INTEGER, typhoid_fever VARCHAR)
Question: what is the number of smallpox when typhoid fever is 293
[/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_1007688_1 (smallpox INTEGER, typhoid_fever VARCHAR)
Question: what is the number of smallpox when typhoid fever is 293
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 country (Country_name VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR)
Question: What are the names of countries that hav... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR)
Question: What are the names of countries that have both... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_103084_4 (year INTEGER, bbc_two_total_viewing VARCHAR)
Question: What year was the BBC two total viewing 7,530,000?
[/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_103084_4 (year INTEGER, bbc_two_total_viewing VARCHAR)
Question: What year was the BBC two total viewing 7,530,000?
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_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR)
Question: How much Voltage (kV) has a Country of argentina, and a Po... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR)
Question: How much Voltage (kV) has a Country of argentina, and a Power (M... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, team VARCHAR)
Question: For the game with team of @ Chicago, what was the final score?
[/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_19 (score VARCHAR, team VARCHAR)
Question: For the game with team of @ Chicago, what was the final score?
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_56 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR)
Question: When the communities name is Balmoral and the area is over 43.51 kilometers s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR)
Question: When the communities name is Balmoral and the area is over 43.51 kilometers squared... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)
Question: What is the average goals less than 41 that goalkeeper Claudio Bravo had?
[/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_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)
Question: What is the average goals less than 41 that goalkeeper Claudio Bravo had?
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_43 (wins INTEGER, club VARCHAR, draws VARCHAR)
Question: What is the average number of wins for the Terang Club, when there are less than 0 draws?
[/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 (wins INTEGER, club VARCHAR, draws VARCHAR)
Question: What is the average number of wins for the Terang Club, when there are less than 0 draws?
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_97 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR)
Question: Which Spoofed title had Mort Drucker as the artist in issue 88?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR)
Question: Which Spoofed title had Mort Drucker as the artist in issue 88?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (week_4 VARCHAR, week_2 VARCHAR)
Question: What Week 4 has a Week 2 of samantha speer?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (week_4 VARCHAR, week_2 VARCHAR)
Question: What Week 4 has a Week 2 of samantha speer?
Here is the SQLite query to answer to the question: What Week 4 has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (winning_score VARCHAR, tournament VARCHAR)
Question: What was the winning score of the Valero Texas Open?
[/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_99 (winning_score VARCHAR, tournament VARCHAR)
Question: What was the winning score of the Valero Texas Open?
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_170958_2 (official_name VARCHAR, area_km_2 VARCHAR)
Question: What is the official name of the land with an area of 276.84 km2?
[/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_170958_2 (official_name VARCHAR, area_km_2 VARCHAR)
Question: What is the official name of the land with an area of 276.84 km2?
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_69 (laps INTEGER, grid VARCHAR)
Question: What is the average number of laps for grid 8?
[/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_69 (laps INTEGER, grid VARCHAR)
Question: What is the average number of laps for grid 8?
Here is the SQLite query to answer to the question: What is the avera... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)
Question: Which Electricity Grid started its Commercial Operation of 24.03.1973?
[/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_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)
Question: Which Electricity Grid started its Commercial Operation of 24.03.1973?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[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 (school VARCHAR, height VARCHAR)
Question: What school did the player that is 6-6 go to?
[/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_69 (school VARCHAR, height VARCHAR)
Question: What school did the player that is 6-6 go to?
Here is the SQLite query to answer to the question: What school di... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20967430_2 (prod_code VARCHAR, original_air_date VARCHAR)
Question: Name the production code for november 08, 1985
[/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_20967430_2 (prod_code VARCHAR, original_air_date VARCHAR)
Question: Name the production code for november 08, 1985
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_23916462_3 (attendance VARCHAR, date VARCHAR)
Question: How many values for attendance on the date of August 26?
[/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_23916462_3 (attendance VARCHAR, date VARCHAR)
Question: How many values for attendance on the date of August 26?
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_29542147_2 (w INTEGER, l VARCHAR)
Question: What is the highest W of the 0 L?
[/INST]
Here is the SQLite query to answer to the question: What is the highest ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29542147_2 (w INTEGER, l VARCHAR)
Question: What is the highest W of the 0 L?
Here is the SQLite query to answer to the question: What is the highest W of the 0 L?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
Question: Which language has Programming from India... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
Question: Which language has Programming from India, gene... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (playoffs_1 VARCHAR, season VARCHAR)
Question: What is the playoffs 1 result of season 2004-05?
[/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_41 (playoffs_1 VARCHAR, season VARCHAR)
Question: What is the playoffs 1 result of season 2004-05?
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_27871460_2 (channel_number INTEGER)
Question: What is the highest channel number?
[/INST]
Here is the SQLite query to answer to the question: What is the high... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27871460_2 (channel_number INTEGER)
Question: What is the highest channel number?
Here is the SQLite query to answer to the question: What is the highest channel n... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
Question: What manner of departure is listed with an appointment date of 13 march 2008
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
Question: What manner of departure is listed with an appointment date of 13 march 2008
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_87 (founded INTEGER, coach VARCHAR, location VARCHAR)
Question: What is the average year that the club located in enfield was founded with an unknown coa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (founded INTEGER, coach VARCHAR, location VARCHAR)
Question: What is the average year that the club located in enfield was founded with an unknown coach?
H... | 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.