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_91 (opponents_in_the_final VARCHAR, partner VARCHAR) Question: Which Opponents in the final have a Partner of daniella dominikovic? [/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_91 (opponents_in_the_final VARCHAR, partner VARCHAR) Question: Which Opponents in the final have a Partner of daniella dominikovic? 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_16 (record VARCHAR, date VARCHAR) Question: What was the record for July 26? [/INST] Here is the SQLite query to answer to the question: What was the rec...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (record VARCHAR, date VARCHAR) Question: What was the record for July 26? Here is the SQLite query to answer to the question: What was the record for July ...
bugdaryan/sql-create-context-instruction
[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 (season VARCHAR, player VARCHAR) Question: What Season is listed for the Player of Jon Stefansson? [/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_82 (season VARCHAR, player VARCHAR) Question: What Season is listed for the Player of Jon Stefansson? 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_54 (nationality VARCHAR, player VARCHAR) Question: What is Michael Del Zotto's nationality? [/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_54 (nationality VARCHAR, player VARCHAR) Question: What is Michael Del Zotto's nationality? Here is the SQLite query to answer to the question: What is Michae...
bugdaryan/sql-create-context-instruction
[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 (crowd INTEGER, away_team VARCHAR) Question: What was the biggest crowd when South Melbourne was an away team? [/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_94 (crowd INTEGER, away_team VARCHAR) Question: What was the biggest crowd when South Melbourne was an away team? 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_name_52 (finals INTEGER, pre_season INTEGER) Question: Which Finals have a Pre-Season larger than 0? [/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_52 (finals INTEGER, pre_season INTEGER) Question: Which Finals have a Pre-Season larger than 0? Here is the SQLite query to answer to the question: Which Fina...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (time VARCHAR, notes VARCHAR, country VARCHAR) Question: What is the Time of the Great Britain players with Notes of SA/B? [/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_66 (time VARCHAR, notes VARCHAR, country VARCHAR) Question: What is the Time of the Great Britain players with Notes of SA/B? Here is the SQLite query to answ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (date VARCHAR, builder VARCHAR, number VARCHAR) Question: How many Dates have a Builder of laconia car company, and a Number of 63-68? [/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_8 (date VARCHAR, builder VARCHAR, number VARCHAR) Question: How many Dates have a Builder of laconia car company, and a Number of 63-68? 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_53 (score VARCHAR, tie_no VARCHAR) Question: What is the score when the tie is 8? [/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_name_53 (score VARCHAR, tie_no VARCHAR) Question: What is the score when the tie is 8? Here is the SQLite query to answer to the question: What is the score when t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (first_day_cover_cancellation VARCHAR, denomination VARCHAR, date_of_issue VARCHAR) Question: What's the First Day Cover Cancellation with Denominatio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (first_day_cover_cancellation VARCHAR, denomination VARCHAR, date_of_issue VARCHAR) Question: What's the First Day Cover Cancellation with Denomination 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_14342210_6 (points INTEGER, player VARCHAR) Question: What is the least amount of points made by Herrnstein? [/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_14342210_6 (points INTEGER, player VARCHAR) Question: What is the least amount of points made by Herrnstein? 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 authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR); CREATE TABLE inst (instid VARCHAR, name VARCHAR) Q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR); CREATE TABLE inst (instid VARCHAR, name VARCHAR) 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_27734286_1 (score VARCHAR, high_points VARCHAR) Question: What's the score in al jefferson (24) high points? [/INST] Here is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27734286_1 (score VARCHAR, high_points VARCHAR) Question: What's the score in al jefferson (24) high points? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (date_to VARCHAR, name VARCHAR, date_from VARCHAR) Question: When was febian brandy loaned out until, when was loaned out on 2 february 2009.? [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (date_to VARCHAR, name VARCHAR, date_from VARCHAR) Question: When was febian brandy loaned out until, when was loaned out on 2 february 2009.? 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_64 (away_team VARCHAR, attendance VARCHAR) Question: Who was the away team when the attendance was 7,891? [/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_64 (away_team VARCHAR, attendance VARCHAR) Question: Who was the away team when the attendance was 7,891? 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_76 (year_introduced_mrwa VARCHAR, wheel_arrangement VARCHAR) Question: What was the year the MRWA with a wheel arrangement of 4-6-2 was introduced? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (year_introduced_mrwa VARCHAR, wheel_arrangement VARCHAR) Question: What was the year the MRWA with a wheel arrangement of 4-6-2 was introduced? 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_16 (total INTEGER, tally VARCHAR) Question: What is the average total of the 0-8 tally? [/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 (total INTEGER, tally VARCHAR) Question: What is the average total of the 0-8 tally? Here is the SQLite query to answer to the question: What is the averag...
bugdaryan/sql-create-context-instruction
[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 (winner VARCHAR, country VARCHAR) Question: What is Scotland's winner? [/INST] Here is the SQLite query to answer to the question: What is Scotland's ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (winner VARCHAR, country VARCHAR) Question: What is Scotland's winner? Here is the SQLite query to answer to the question: What is Scotland's winner?: ``` ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27218002_2 (originalairdate VARCHAR, written_by VARCHAR) Question: What date did the episode that was written by Fintan Ryan originally air? [/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_27218002_2 (originalairdate VARCHAR, written_by VARCHAR) Question: What date did the episode that was written by Fintan Ryan originally air? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (date VARCHAR, crowd INTEGER) Question: Which Date has a Crowd smaller than 4,485? [/INST] Here is the SQLite query to answer to the question: Which D...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (date VARCHAR, crowd INTEGER) Question: Which Date has a Crowd smaller than 4,485? Here is the SQLite query to answer to the question: Which Date has a Cro...
bugdaryan/sql-create-context-instruction
[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 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR) Question: How many matches did goalkeeper Wilfredo Caballero have an average less than 1.11? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR) Question: How many matches did goalkeeper Wilfredo Caballero have an average less than 1.11? 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_76 (since VARCHAR, transfer_fee VARCHAR) Question: What the since year of the player with a transfer fee of £ 75k? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (since VARCHAR, transfer_fee VARCHAR) Question: What the since year of the player with a transfer fee of £ 75k? Here is the SQLite query to answer to the q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR) Question: What is the largest crowd at princes park? [/INST] Here is the SQLite query to answer to the question: What i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR) Question: What is the largest crowd at princes park? Here is the SQLite query to answer to the question: What is the largest...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Apartments (apt_type_code VARCHAR, room_count INTEGER) Question: Show the top 3 apartment type codes sorted by the average number of rooms in descending order. [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Apartments (apt_type_code VARCHAR, room_count INTEGER) Question: Show the top 3 apartment type codes sorted by the average number of rooms in descending order. 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_45 (record VARCHAR, home VARCHAR, date VARCHAR) Question: What's the record for home team ottawa senators on march 6? [/INST] Here is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (record VARCHAR, home VARCHAR, date VARCHAR) Question: What's the record for home team ottawa senators on march 6? 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_2 (roll VARCHAR, area VARCHAR) Question: Which roll has an Area of mahia? [/INST] Here is the SQLite query to answer to the question: Which roll has an A...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (roll VARCHAR, area VARCHAR) Question: Which roll has an Area of mahia? Here is the SQLite query to answer to the question: Which roll has an Area of mahia?...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18950570_4 (brazil_100_percentage__percent_of_the_population_ VARCHAR, age_group VARCHAR) Question: what ae all of the brazil 100% where the age group is 15-1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18950570_4 (brazil_100_percentage__percent_of_the_population_ VARCHAR, age_group VARCHAR) Question: what ae all of the brazil 100% where the age group is 15-17? 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_2140071_12 (episode VARCHAR, coach VARCHAR) Question: Name the episode summary for torae carr [/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_2140071_12 (episode VARCHAR, coach VARCHAR) Question: Name the episode summary for torae carr Here is the SQLite query to answer to the question: Name the episode ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (events INTEGER, top_25 VARCHAR, cuts_made VARCHAR) Question: How many events have a Top-25 of 1 and made less than 1 cut? [/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_38 (events INTEGER, top_25 VARCHAR, cuts_made VARCHAR) Question: How many events have a Top-25 of 1 and made less than 1 cut? 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_29 (against INTEGER, points VARCHAR, lost VARCHAR) Question: What is the lowest against value with less than 9 points and more than 6 lost? [/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_29 (against INTEGER, points VARCHAR, lost VARCHAR) Question: What is the lowest against value with less than 9 points and more than 6 lost? 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 Assessment_Notes (date_of_notes VARCHAR) Question: List all information about the assessment notes sorted by date in ascending order. [/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 Assessment_Notes (date_of_notes VARCHAR) Question: List all information about the assessment notes sorted by date in ascending order. 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_22815568_6 (market_income_per_capita VARCHAR, poverty_rate VARCHAR) Question: If the poverty rate is 12.9%, what is the market income per capita? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22815568_6 (market_income_per_capita VARCHAR, poverty_rate VARCHAR) Question: If the poverty rate is 12.9%, what is the market income per capita? 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_39 (attendance INTEGER, opponent VARCHAR) Question: What was the average attendance for games played at Atlanta Falcons? [/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_39 (attendance INTEGER, opponent VARCHAR) Question: What was the average attendance for games played at Atlanta Falcons? 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_39 (province VARCHAR, name VARCHAR) Question: Which province has Michael Kirby? [/INST] Here is the SQLite query to answer to the question: Which provinc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (province VARCHAR, name VARCHAR) Question: Which province has Michael Kirby? Here is the SQLite query to answer to the question: Which province has Michael...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29126507_1 (date VARCHAR, home_team VARCHAR) Question: When did Fitzroy play as the home team? [/INST] Here is the SQLite query to answer to the question: Whe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29126507_1 (date VARCHAR, home_team VARCHAR) Question: When did Fitzroy play as the home team? Here is the SQLite query to answer to the question: When did Fitzroy...
bugdaryan/sql-create-context-instruction
[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 (withdrawn VARCHAR, gsr_class VARCHAR) Question: What is withdrawn with a GSR Class of 296? [/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_72 (withdrawn VARCHAR, gsr_class VARCHAR) Question: What is withdrawn with a GSR Class of 296? Here is the SQLite query to answer to the question: What is 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_261954_1 (joined VARCHAR, institution VARCHAR) Question: How many values for joined occur at Guilford College? [/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_261954_1 (joined VARCHAR, institution VARCHAR) Question: How many values for joined occur at Guilford College? 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_41 (stadium VARCHAR, opponent VARCHAR) Question: What was the Stadium against Bye? [/INST] Here is the SQLite query to answer to the question: What was t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (stadium VARCHAR, opponent VARCHAR) Question: What was the Stadium against Bye? Here is the SQLite query to answer to the question: What was the Stadium ag...
bugdaryan/sql-create-context-instruction
[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 (crowd INTEGER, home_team VARCHAR) Question: When the Home team of geelong played, what was their lowest Crowd number? [/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_23 (crowd INTEGER, home_team VARCHAR) Question: When the Home team of geelong played, what was their lowest Crowd number? 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_6 (away_team VARCHAR, attendance VARCHAR) Question: Who was the away team at the game attended by 81? [/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_6 (away_team VARCHAR, attendance VARCHAR) Question: Who was the away team at the game attended by 81? Here is the SQLite query to answer to the question: Who ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12275654_1 (year VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR) Question: How many times did Niels Christian Kaldau win the men's single and Pi Hongya...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12275654_1 (year VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR) Question: How many times did Niels Christian Kaldau win the men's single and Pi Hongyan win ...
bugdaryan/sql-create-context-instruction
[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 (losing_bonus VARCHAR, try_bonus VARCHAR) Question: Which Losing Bonus has a Try Bonus of 8? [/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_29 (losing_bonus VARCHAR, try_bonus VARCHAR) Question: Which Losing Bonus has a Try Bonus of 8? Here is the SQLite query to answer to the question: Which Losi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11404452_1 (episode_title VARCHAR, director VARCHAR) Question: What are the titles of the episodes where Rodman Flender is the director? [/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_11404452_1 (episode_title VARCHAR, director VARCHAR) Question: What are the titles of the episodes where Rodman Flender is the director? 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_49 (venue VARCHAR, opponent VARCHAR) Question: What is the venue of the match with the cronulla sharks as the opponent? [/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_49 (venue VARCHAR, opponent VARCHAR) Question: What is the venue of the match with the cronulla sharks as the opponent? 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 candidate (poll_source VARCHAR, oppose_rate VARCHAR) Question: which poll source does the highest oppose rate come from? [/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 candidate (poll_source VARCHAR, oppose_rate VARCHAR) Question: which poll source does the highest oppose rate come from? 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_56 (result VARCHAR, date VARCHAR) Question: What is the Result of the game on September 1, 1996? [/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_56 (result VARCHAR, date VARCHAR) Question: What is the Result of the game on September 1, 1996? Here is the SQLite query to answer to the question: What is t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26368963_1 (year VARCHAR, under_15 VARCHAR, under_19 VARCHAR) Question: How many years are there where the the under-15 is Arturo Salazar Martinez and the und...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26368963_1 (year VARCHAR, under_15 VARCHAR, under_19 VARCHAR) Question: How many years are there where the the under-15 is Arturo Salazar Martinez and the under-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_7 (founded INTEGER, nickname VARCHAR) Question: What is the most recent year founded that has a nickname of bruins? [/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_7 (founded INTEGER, nickname VARCHAR) Question: What is the most recent year founded that has a nickname of bruins? 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_14286908_1 (school VARCHAR, finalists VARCHAR) Question: What are the names that had a finalist score of 2? [/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_14286908_1 (school VARCHAR, finalists VARCHAR) Question: What are the names that had a finalist score of 2? 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_23 (score VARCHAR, tie_no VARCHAR) Question: What is the score of the game with tie number 65? [/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_23 (score VARCHAR, tie_no VARCHAR) Question: What is the score of the game with tie number 65? 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_261954_1 (institution VARCHAR, nickname VARCHAR) Question: What is every institution with the nickname of Quakers? [/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_261954_1 (institution VARCHAR, nickname VARCHAR) Question: What is every institution with the nickname of Quakers? 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_10 (result VARCHAR, loser VARCHAR) Question: What is the Result when the memphis grizzlies ( 2) were the loser? [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (result VARCHAR, loser VARCHAR) Question: What is the Result when the memphis grizzlies ( 2) were the loser? Here is the SQLite query to answer to the ques...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (loses INTEGER, draws VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR) Question: What is the lowest number of loses of the club with more than 4...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (loses INTEGER, draws VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR) Question: What is the lowest number of loses of the club with more than 42 goal...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR) Question: what is а а [a] when гь гь [ɡʲ] is л л [l]? [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR) Question: what is а а [a] when гь гь [ɡʲ] is л л [l]? Here is the SQLite query to answer to the ques...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR) Question: Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals sm...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR) Question: Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_first_name VARCHAR, staff_last_name VARCHAR, staff_id VARCHAR); CREATE TABLE problems (prod...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_first_name VARCHAR, staff_last_name VARCHAR, staff_id VARCHAR); CREATE TABLE problems (product_id...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26842217_18 (broadcast VARCHAR, site VARCHAR) Question: Name the broadcast for davis-wade stadium • starkville ms [/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_26842217_18 (broadcast VARCHAR, site VARCHAR) Question: Name the broadcast for davis-wade stadium • starkville ms 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_71 (total INTEGER, gold VARCHAR, nation VARCHAR) Question: What is the average Total, when Gold is 0, and when Nation is Iran? [/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_71 (total INTEGER, gold VARCHAR, nation VARCHAR) Question: What is the average Total, when Gold is 0, and when Nation is Iran? 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_30018460_1 (manhunt_international VARCHAR, country_territory VARCHAR) Question: How many manhunt beauty contets have been held in france? [/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_30018460_1 (manhunt_international VARCHAR, country_territory VARCHAR) Question: How many manhunt beauty contets have been held in france? 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_59 (home_arena VARCHAR, joined_tschl VARCHAR, team_nickname VARCHAR) Question: what is the home arena that joined tschl in 2010 and the team nickname is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (home_arena VARCHAR, joined_tschl VARCHAR, team_nickname VARCHAR) Question: what is the home arena that joined tschl in 2010 and the team nickname is bearca...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (value___usd__ VARCHAR, country VARCHAR, date VARCHAR, business VARCHAR) Question: In New Zealand, what's the value that has an unknown date and is an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (value___usd__ VARCHAR, country VARCHAR, date VARCHAR, business VARCHAR) Question: In New Zealand, what's the value that has an unknown date and is an energ...
bugdaryan/sql-create-context-instruction
[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 (tournament VARCHAR, score VARCHAR) Question: Which Tournament has a Score of 6(4)–7 2–6? [/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_73 (tournament VARCHAR, score VARCHAR) Question: Which Tournament has a Score of 6(4)–7 2–6? Here is the SQLite query to answer to the question: Which Tournam...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, venue VARCHAR) Question: When did the VFL pay at Victoria Park? [/INST] Here is the SQLite query to answer to the question: When did th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (date VARCHAR, venue VARCHAR) Question: When did the VFL pay at Victoria Park? Here is the SQLite query to answer to the question: When did the VFL pay at ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (rowers VARCHAR, rank VARCHAR, country VARCHAR) Question: Who were the rowers from china wh had a rank smaller than 4? [/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_51 (rowers VARCHAR, rank VARCHAR, country VARCHAR) Question: Who were the rowers from china wh had a rank smaller than 4? 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_28 (year INTEGER, points VARCHAR) Question: Which is the highest year that has 3 points? [/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_28 (year INTEGER, points VARCHAR) Question: Which is the highest year that has 3 points? Here is the SQLite query to answer to the question: Which is the high...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (week VARCHAR, opponent VARCHAR, attendance VARCHAR) Question: How many weeks have an Opponent of at san francisco 49ers, and an Attendance 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_12 (week VARCHAR, opponent VARCHAR, attendance VARCHAR) Question: How many weeks have an Opponent of at san francisco 49ers, and an Attendance smaller than 34,...
bugdaryan/sql-create-context-instruction
[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 (format VARCHAR, date VARCHAR) Question: What format is dated October 29, 2004? [/INST] Here is the SQLite query to answer to the question: What format...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (format VARCHAR, date VARCHAR) Question: What format is dated October 29, 2004? Here is the SQLite query to answer to the question: What format is dated Oct...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (gold VARCHAR, nation VARCHAR) Question: How many golds does Germany have? [/INST] Here is the SQLite query to answer to the question: How many golds ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (gold VARCHAR, nation VARCHAR) Question: How many golds does Germany have? Here is the SQLite query to answer to the question: How many golds does Germany ...
bugdaryan/sql-create-context-instruction
[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 (home_ground VARCHAR, coach VARCHAR) Question: What is home ground for coach Andrej Lemanis? [/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_68 (home_ground VARCHAR, coach VARCHAR) Question: What is home ground for coach Andrej Lemanis? Here is the SQLite query to answer to the question: What is ho...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (acquisition_via VARCHAR, number VARCHAR, season VARCHAR) Question: What is the Acquisition that has less than 22, in the 2002 season? [/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_41 (acquisition_via VARCHAR, number VARCHAR, season VARCHAR) Question: What is the Acquisition that has less than 22, in the 2002 season? 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_60 (fatalities VARCHAR, location VARCHAR, aircraft VARCHAR) Question: Which fatality was at ankara for the aircraft douglas c-47? [/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_60 (fatalities VARCHAR, location VARCHAR, aircraft VARCHAR) Question: Which fatality was at ankara for the aircraft douglas c-47? 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_21 (position INTEGER, drawn VARCHAR, lost VARCHAR, team VARCHAR) Question: What is the lowest Position, when Lost is greater than 15, when Team is Cheadl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (position INTEGER, drawn VARCHAR, lost VARCHAR, team VARCHAR) Question: What is the lowest Position, when Lost is greater than 15, when Team is Cheadle Town...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, opponent VARCHAR, loss VARCHAR) Question: What was the score when the opponent was the Orioles and the loss shows morehead (5–4)? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (score VARCHAR, opponent VARCHAR, loss VARCHAR) Question: What was the score when the opponent was the Orioles and the loss shows morehead (5–4)? 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_83 (left_office VARCHAR, party VARCHAR) Question: What is Left Office, when Party is Vacant (1999-2001)? [/INST] Here is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (left_office VARCHAR, party VARCHAR) Question: What is Left Office, when Party is Vacant (1999-2001)? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (score_in_final VARCHAR, opponents_in_final VARCHAR) Question: What was the score when the Shingo Kunieda Satoshi Saida were the opponents? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (score_in_final VARCHAR, opponents_in_final VARCHAR) Question: What was the score when the Shingo Kunieda Satoshi Saida were the opponents? Here is the SQL...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (player VARCHAR, position VARCHAR, overall VARCHAR) Question: What is the name of the player in position lb and an overall of 128? [/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_65 (player VARCHAR, position VARCHAR, overall VARCHAR) Question: What is the name of the player in position lb and an overall of 128? 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_27973624_1 (main_date VARCHAR, round VARCHAR) Question: What is the main date when the round is third round qualifying? [/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_27973624_1 (main_date VARCHAR, round VARCHAR) Question: What is the main date when the round is third round qualifying? Here is the SQLite query to answer to the q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (enrollment VARCHAR, school VARCHAR) Question: How much Enrollment has a School of indianapolis tindley? [/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_32 (enrollment VARCHAR, school VARCHAR) Question: How much Enrollment has a School of indianapolis tindley? 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_4 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR) Question: What is the Primary Sponsor for the team owned by Randy Humphrey? [/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_4 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR) Question: What is the Primary Sponsor for the team owned by Randy Humphrey? 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 student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR) Q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (competition VARCHAR, year VARCHAR, score VARCHAR) Question: What competition in 2003 has a score of 2–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_81 (competition VARCHAR, year VARCHAR, score VARCHAR) Question: What competition in 2003 has a score of 2–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_name_96 (former_local_authority VARCHAR, name VARCHAR) Question: What is the Former local authority for Ecclesfield? [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (former_local_authority VARCHAR, name VARCHAR) Question: What is the Former local authority for Ecclesfield? Here is the SQLite query to answer to the ques...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30058355_2 (mon_22_aug VARCHAR, wed_24_aug VARCHAR) Question: What shows for mon 22 aug whenwed 24 aug is 19' 56.16 113.553mph? [/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_30058355_2 (mon_22_aug VARCHAR, wed_24_aug VARCHAR) Question: What shows for mon 22 aug whenwed 24 aug is 19' 56.16 113.553mph? 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_19 (crowd INTEGER, home_team VARCHAR) Question: What was the largest crowd where the home team was Fitzroy? [/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_19 (crowd INTEGER, home_team VARCHAR) Question: What was the largest crowd where the home team was Fitzroy? 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_13337302_16 (innings VARCHAR, catches VARCHAR, stumpings VARCHAR) Question: How many innings had a total of 2 catches and 0 stumpings? [/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_13337302_16 (innings VARCHAR, catches VARCHAR, stumpings VARCHAR) Question: How many innings had a total of 2 catches and 0 stumpings? 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_22 (writer VARCHAR, film_title VARCHAR) Question: Who wrote Toy Story? [/INST] Here is the SQLite query to answer to the question: Who wrote Toy Story?: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (writer VARCHAR, film_title VARCHAR) Question: Who wrote Toy Story? Here is the SQLite query to answer to the question: Who wrote Toy Story?: ``` SELECT wr...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_206217_2 (epoch__utc_ VARCHAR, periselene__km_ VARCHAR) Question: What is every entry for epoch if periselene is 2,291.250? [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_206217_2 (epoch__utc_ VARCHAR, periselene__km_ VARCHAR) Question: What is every entry for epoch if periselene is 2,291.250? Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (gold_coast VARCHAR, adelaide VARCHAR, melbourne VARCHAR, perth VARCHAR) Question: What is the result for Gold Coast when Melbourne and Adelaide are y...
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_coast VARCHAR, adelaide VARCHAR, melbourne VARCHAR, perth VARCHAR) Question: What is the result for Gold Coast when Melbourne and Adelaide are yes, bu...
bugdaryan/sql-create-context-instruction
[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 (rank INTEGER, name VARCHAR, birth VARCHAR) Question: What rank is He Yingqin who was born before 1890? [/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_75 (rank INTEGER, name VARCHAR, birth VARCHAR) Question: What rank is He Yingqin who was born before 1890? 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_42 (election VARCHAR) Question: Which 1st Party has an Election of 1849 by-election? [/INST] Here is the SQLite query to answer to the question: Which 1s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (election VARCHAR) Question: Which 1st Party has an Election of 1849 by-election? Here is the SQLite query to answer to the question: Which 1st Party has a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15081939_4 (average VARCHAR, evening_gown VARCHAR) Question: How many averages for the province with evening gown score of 8.00 [/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_15081939_4 (average VARCHAR, evening_gown VARCHAR) Question: How many averages for the province with evening gown score of 8.00 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_2159547_3 (date_successor_seated VARCHAR, vacator VARCHAR) Question: On what date was James P. Buchanan (d)'s successor seated? [/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_2159547_3 (date_successor_seated VARCHAR, vacator VARCHAR) Question: On what date was James P. Buchanan (d)'s successor seated? 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_71 (bronze INTEGER, gold VARCHAR, silver VARCHAR) Question: What is the highest Bronze medal count when the Gold medals are larger than 1 and the silver ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (bronze INTEGER, gold VARCHAR, silver VARCHAR) Question: What is the highest Bronze medal count when the Gold medals are larger than 1 and the silver are sm...
bugdaryan/sql-create-context-instruction
[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 (region VARCHAR, reported_age VARCHAR) Question: what is the region when the reported age is 111 years, 107 days? [/INST] Here is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (region VARCHAR, reported_age VARCHAR) Question: what is the region when the reported age is 111 years, 107 days? 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 election (Date VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) Question: What are the names of representa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE election (Date VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) Question: What are the names of representatives ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19744915_3 (order VARCHAR, public_vote VARCHAR) Question: what is the order when public vote was 18.155% [/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_19744915_3 (order VARCHAR, public_vote VARCHAR) Question: what is the order when public vote was 18.155% Here is the SQLite query to answer to the question: what i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (seats INTEGER, share_of_votes VARCHAR, total_seats VARCHAR) Question: with shares of 45.3% and total seats less than 166. what is the greatest number...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (seats INTEGER, share_of_votes VARCHAR, total_seats VARCHAR) Question: with shares of 45.3% and total seats less than 166. what is the greatest number of se...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (away_team VARCHAR, venue VARCHAR) Question: What was the away score at the Princes Park game? [/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_28 (away_team VARCHAR, venue VARCHAR) Question: What was the away score at the Princes Park game? Here is the SQLite query to answer to the question: What was...
bugdaryan/sql-create-context-instruction
[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 (game VARCHAR, opponent VARCHAR, january VARCHAR) Question: What is the total number of games of the team against the Los Angeles Kings after January ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (game VARCHAR, opponent VARCHAR, january VARCHAR) Question: What is the total number of games of the team against the Los Angeles Kings after January 5? 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 artist (age VARCHAR, year_join VARCHAR) Question: How many artists are above age 46 and joined after 1990? [/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 artist (age VARCHAR, year_join VARCHAR) Question: How many artists are above age 46 and joined after 1990? Here is the SQLite query to answer to the question: How many a...
bugdaryan/sql-create-context-instruction