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 Ref_Document_Status (document_status_code VARCHAR)
Question: What document status codes do we have?
[/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 Ref_Document_Status (document_status_code VARCHAR)
Question: What document status codes do we have?
Here is the SQLite query to answer to the question: What document sta... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR)
Question: what type of record was made where result/games is 10 games (29,606 avg.)
[/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_21436373_12 (type_of_record VARCHAR, result_games VARCHAR)
Question: what type of record was made where result/games is 10 games (29,606 avg.)
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_65 (attendance VARCHAR, tie_no VARCHAR)
Question: How many attended the game when the score was tie at 4?
[/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_65 (attendance VARCHAR, tie_no VARCHAR)
Question: How many attended the game when the score was tie at 4?
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_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR)
Question: What is the q1+q2 time in which q1 is 1:18.574?
[/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_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR)
Question: What is the q1+q2 time in which q1 is 1:18.574?
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_62 (score VARCHAR, opponents VARCHAR)
Question: Tell me the score of misa eguchi eri hozumi
[/INST]
Here is the SQLite query to answer to the question: T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (score VARCHAR, opponents VARCHAR)
Question: Tell me the score of misa eguchi eri hozumi
Here is the SQLite query to answer to the question: Tell me the sc... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, laid_down VARCHAR)
Question: What boat was laid down on 25 april 1887?
[/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_26 (name VARCHAR, laid_down VARCHAR)
Question: What boat was laid down on 25 april 1887?
Here is the SQLite query to answer to the question: What boat was lai... | bugdaryan/sql-create-context-instruction | |
[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 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)
Question: Pick larger than 229, and a Round smaller than 12, and a Position ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)
Question: Pick larger than 229, and a Round smaller than 12, and a Position of def... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, college VARCHAR)
Question: Which player went to the college of Western Washington?
[/INST]
Here is the SQLite query to answer to the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (player VARCHAR, college VARCHAR)
Question: Which player went to the college of Western Washington?
Here is the SQLite query to answer to the question: Whi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR)
Question: What did the Victoria park home team score?
[/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_1 (home_team VARCHAR, venue VARCHAR)
Question: What did the Victoria park home team score?
Here is the SQLite query to answer to the question: What did the Vi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (horsepower VARCHAR, Id VARCHAR, cylinders VARCHAR)
Question: What is the maximum horsepower and th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (horsepower VARCHAR, Id VARCHAR, cylinders VARCHAR)
Question: What is the maximum horsepower and the make... | bugdaryan/sql-create-context-instruction | |
[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 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR)
Question: What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR)
Question: What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (total_matches INTEGER, total_w_l_h VARCHAR)
Question: Which Total matches is the lowest one that has a Total W-L-H of 1-2-0?
[/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_33 (total_matches INTEGER, total_w_l_h VARCHAR)
Question: Which Total matches is the lowest one that has a Total W-L-H of 1-2-0?
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_18424435_4 (_number VARCHAR, production_code VARCHAR)
Question: What is the total number of episodes listed with a production code of 306?
[/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_18424435_4 (_number VARCHAR, production_code VARCHAR)
Question: What is the total number of episodes listed with a production code of 306?
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_2538117_7 (founding_date VARCHAR, letters VARCHAR)
Question: What is the founding date if the letters are κψκ?
[/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_2538117_7 (founding_date VARCHAR, letters VARCHAR)
Question: What is the founding date if the letters are κψκ?
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_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR)
Question: What is the lowest value of average attendance when average on previous season is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR)
Question: What is the lowest value of average attendance when average on previous season is -459?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR)
Question: What home team played Fitzroy?
[/INST]
Here is the SQLite query to answer to the question: What home ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR)
Question: What home team played Fitzroy?
Here is the SQLite query to answer to the question: What home team played F... | bugdaryan/sql-create-context-instruction | |
[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 (nickname VARCHAR, age___ma__ VARCHAR)
Question: Name the nickname with age of 4.9
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (nickname VARCHAR, age___ma__ VARCHAR)
Question: Name the nickname with age of 4.9
Here is the SQLite query to answer to the question: Name the nickname wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR)
Question: Find all the songs that do not have a back vocal.
[/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 songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR)
Question: Find all the songs that do not have a back vocal.
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 people (Name VARCHAR, Nationality VARCHAR)
Question: Show names of people whose nationality is not "Russia".
[/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 people (Name VARCHAR, Nationality VARCHAR)
Question: Show names of people whose nationality is not "Russia".
Here is the SQLite query to answer to the question: Show nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, crossing VARCHAR, preferred_foot VARCHAR)
Question: List... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, crossing VARCHAR, preferred_foot VARCHAR)
Question: List the 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_name_14 (class VARCHAR, part_2 VARCHAR)
Question: Which class has a part 2 of halp warþ?
[/INST]
Here is the SQLite query to answer to the question: Which cla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (class VARCHAR, part_2 VARCHAR)
Question: Which class has a part 2 of halp warþ?
Here is the SQLite query to answer to the question: Which class has a part... | bugdaryan/sql-create-context-instruction | |
[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 (laps INTEGER, bike VARCHAR, grid VARCHAR)
Question: How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?
[/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 (laps INTEGER, bike VARCHAR, grid VARCHAR)
Question: How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?
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 mill (name VARCHAR, built_year VARCHAR, TYPE VARCHAR)
Question: What are the names and year of construction for the mills of 'Grondzeiler' type?
[/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 mill (name VARCHAR, built_year VARCHAR, TYPE VARCHAR)
Question: What are the names and year of construction for the mills of 'Grondzeiler' type?
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_86 (liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR, seats_won VARCHAR, seats_in_house VARCHAR)
Question: Which Liberal leader has Seats won ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR, seats_won VARCHAR, seats_in_house VARCHAR)
Question: Which Liberal leader has Seats won smalle... | bugdaryan/sql-create-context-instruction | |
[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 (sprints_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR)
Question: What Sprints classification has the Points clas... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (sprints_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR)
Question: What Sprints classification has the Points classifica... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (name VARCHAR, roll VARCHAR, years VARCHAR)
Question: Which name has a Roll larger than 297, and Years of 7–13?
[/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_1 (name VARCHAR, roll VARCHAR, years VARCHAR)
Question: Which name has a Roll larger than 297, and Years of 7–13?
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_58 (mdt___6_utc_ VARCHAR, edt___4_utc_ VARCHAR, pdt___7_utc_ VARCHAR)
Question: What time is MDT when EDT is set and PDT is 6:00 a.m.?
[/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_58 (mdt___6_utc_ VARCHAR, edt___4_utc_ VARCHAR, pdt___7_utc_ VARCHAR)
Question: What time is MDT when EDT is set and PDT is 6:00 a.m.?
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_78 (crowd VARCHAR, venue VARCHAR)
Question: What was the attendance at the game played at Moorabbin Oval?
[/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_78 (crowd VARCHAR, venue VARCHAR)
Question: What was the attendance at the game played at Moorabbin Oval?
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_60 (enrollment INTEGER, founded VARCHAR, institution VARCHAR)
Question: what is the least enrollment when founded after 1809 and the institution is unive... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (enrollment INTEGER, founded VARCHAR, institution VARCHAR)
Question: what is the least enrollment when founded after 1809 and the institution is university ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (new_council INTEGER, election_result INTEGER)
Question: What is the average new council number when the election result is smaller than 0?
[/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_57 (new_council INTEGER, election_result INTEGER)
Question: What is the average new council number when the election result is smaller than 0?
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_240936_2 (region_1__can_ VARCHAR, region_1__us_ VARCHAR)
Question: What is the region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_1__us_ VARCHAR)
Question: What is the region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007?
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_64 (result VARCHAR, home_team VARCHAR, date VARCHAR)
Question: What was the result of the game played on April 16 with Philadelphia as home team?
[/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 (result VARCHAR, home_team VARCHAR, date VARCHAR)
Question: What was the result of the game played on April 16 with Philadelphia as home team?
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_17625749_1 (won VARCHAR, tries_against VARCHAR)
Question: Name the won when tries against is 72
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17625749_1 (won VARCHAR, tries_against VARCHAR)
Question: Name the won when tries against is 72
Here is the SQLite query to answer to the question: Name the won wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (suffix VARCHAR, prefix VARCHAR)
Question: Which item has the suffix containing thiocyanato- (-scn) as a prefix?
[/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_77 (suffix VARCHAR, prefix VARCHAR)
Question: Which item has the suffix containing thiocyanato- (-scn) as a prefix?
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_69 (year INTEGER, entrant VARCHAR, points VARCHAR)
Question: What was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (year INTEGER, entrant VARCHAR, points VARCHAR)
Question: What was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 poi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17294353_1 (result VARCHAR, attendance VARCHAR)
Question: In the game with an attendance of 18304, what was the final score?
[/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_17294353_1 (result VARCHAR, attendance VARCHAR)
Question: In the game with an attendance of 18304, what was the final score?
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_60 (win__percentage VARCHAR)
Question: What is 2012 that has a winning % of 67%?
[/INST]
Here is the SQLite query to answer to the question: What is 2012... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (win__percentage VARCHAR)
Question: What is 2012 that has a winning % of 67%?
Here is the SQLite query to answer to the question: What is 2012 that has a 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_42 (year INTEGER, start VARCHAR)
Question: What is the average Year, when Start is "11"?
[/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_42 (year INTEGER, start VARCHAR)
Question: What is the average Year, when Start is "11"?
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_53 (total INTEGER, rd_7 INTEGER)
Question: What is the sum of total values for Rd 7 less than 8?
[/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_53 (total INTEGER, rd_7 INTEGER)
Question: What is the sum of total values for Rd 7 less than 8?
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_10710364_2 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)
Question: What is the lowest child sex ratio in groups where employment is 31... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10710364_2 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)
Question: What is the lowest child sex ratio in groups where employment is 31.3%?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (propulsion VARCHAR, year VARCHAR, name VARCHAR)
Question: What is the propulsion for the RB 04 earlier than 1962?
[/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_79 (propulsion VARCHAR, year VARCHAR, name VARCHAR)
Question: What is the propulsion for the RB 04 earlier than 1962?
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_30 (points VARCHAR, home VARCHAR, date VARCHAR)
Question: What points have pittsburgh as the home, and November 29 as the date?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (points VARCHAR, home VARCHAR, date VARCHAR)
Question: What points have pittsburgh as the home, and November 29 as the date?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (spectators INTEGER, time___cest__ VARCHAR, team__number2 VARCHAR)
Question: Name the sum of spectators for time more than 20.05 and team #2 of estoni... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (spectators INTEGER, time___cest__ VARCHAR, team__number2 VARCHAR)
Question: Name the sum of spectators for time more than 20.05 and team #2 of estonia
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_71 (country VARCHAR, icao VARCHAR)
Question: Tell me the country with ICAO of zgha
[/INST]
Here is the SQLite query to answer to the question: Tell me th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (country VARCHAR, icao VARCHAR)
Question: Tell me the country with ICAO of zgha
Here is the SQLite query to answer to the question: Tell me the country 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_1140116_5 (winning_driver VARCHAR, circuit VARCHAR)
Question: Who won the Modena circuit?
[/INST]
Here is the SQLite query to answer to the question: Who won ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1140116_5 (winning_driver VARCHAR, circuit VARCHAR)
Question: Who won the Modena circuit?
Here is the SQLite query to answer to the question: Who won the Modena ci... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, record VARCHAR)
Question: Which Location has a Record of 0-1?
[/INST]
Here is the SQLite query to answer to the question: Which Loc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (location VARCHAR, record VARCHAR)
Question: Which Location has a Record of 0-1?
Here is the SQLite query to answer to the question: Which Location has a R... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22496374_1 (height VARCHAR, high_school VARCHAR)
Question: How many height entries are there for players from bayside high school?
[/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_22496374_1 (height VARCHAR, high_school VARCHAR)
Question: How many height entries are there for players from bayside high school?
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_25 (result VARCHAR, home_away VARCHAR, date VARCHAR)
Question: What is the result of the home game on August 14?
[/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_25 (result VARCHAR, home_away VARCHAR, date VARCHAR)
Question: What is the result of the home game on August 14?
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_2 (revenue_per_capita VARCHAR, state VARCHAR)
Question: What is the Revenue per capita for Vermont?
[/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_2 (revenue_per_capita VARCHAR, state VARCHAR)
Question: What is the Revenue per capita for Vermont?
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_91 (Id VARCHAR)
Question: Which 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80?
[/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_91 (Id VARCHAR)
Question: Which 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80?
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_46 (result VARCHAR, week VARCHAR)
Question: Tell me the result for week of 4
[/INST]
Here is the SQLite query to answer to the question: Tell me the resu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR)
Question: Tell me the result for week of 4
Here is the SQLite query to answer to the question: Tell me the result for week o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (released VARCHAR, series_sorted VARCHAR)
Question: what is the released when the series is sorted 6y/ai?
[/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_68 (released VARCHAR, series_sorted VARCHAR)
Question: what is the released when the series is sorted 6y/ai?
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_11677100_18 (school VARCHAR, hometown VARCHAR)
Question: What school did the player attend who's hometown was Montvale, NJ?
[/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_11677100_18 (school VARCHAR, hometown VARCHAR)
Question: What school did the player attend who's hometown was Montvale, NJ?
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_166346_1 (area__km²_ INTEGER, production___bbl__day_ VARCHAR)
Question: What was the minimum area in square kilometers that produced 3,200,000 (12th) bbl/day?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_166346_1 (area__km²_ INTEGER, production___bbl__day_ VARCHAR)
Question: What was the minimum area in square kilometers that produced 3,200,000 (12th) bbl/day?
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_20026849_1 (winner VARCHAR, destination VARCHAR)
Question: Who won the season with Africa as its destination?
[/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_20026849_1 (winner VARCHAR, destination VARCHAR)
Question: Who won the season with Africa as its destination?
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_96 (country VARCHAR, fis_nordic_world_ski_championships VARCHAR)
Question: Which Country has a FIS Nordic World Ski Championships of 1948, 1950?
[/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 (country VARCHAR, fis_nordic_world_ski_championships VARCHAR)
Question: Which Country has a FIS Nordic World Ski Championships of 1948, 1950?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Player_Attributes (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR); CREATE TABLE Player (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Player_Attributes (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR); CREATE TABLE Player (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR)
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_1341640_39 (party VARCHAR, incumbent VARCHAR)
Question: How many parties does the incumbent Donald A. Bailey a member of?
[/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_1341640_39 (party VARCHAR, incumbent VARCHAR)
Question: How many parties does the incumbent Donald A. Bailey a member of?
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_21 (erp_w INTEGER, call_sign VARCHAR)
Question: When the call sign is wpib, what is lowest ERP W?
[/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_21 (erp_w INTEGER, call_sign VARCHAR)
Question: When the call sign is wpib, what is lowest ERP W?
Here is the SQLite query to answer to the question: When 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_83 (result VARCHAR, western_champion VARCHAR, eastern_champion VARCHAR)
Question: What is the score from the Sacramento monarchs from the west and the Co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (result VARCHAR, western_champion VARCHAR, eastern_champion VARCHAR)
Question: What is the score from the Sacramento monarchs from the west and the Connecti... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, event VARCHAR, method VARCHAR)
Question: Which opponent's event was sb 24 - return of the heavyweights 2, and had a method of TKO (k... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (opponent VARCHAR, event VARCHAR, method VARCHAR)
Question: Which opponent's event was sb 24 - return of the heavyweights 2, and had a method of TKO (knee an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (points INTEGER, game VARCHAR, opponent VARCHAR)
Question: Which Points have a Game larger than 25, and an Opponent of dallas stars?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (points INTEGER, game VARCHAR, opponent VARCHAR)
Question: Which Points have a Game larger than 25, and an Opponent of dallas stars?
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_98 (state VARCHAR, elected_assumed_office VARCHAR)
Question: What state had an elected/assumed office in 2013?
[/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_98 (state VARCHAR, elected_assumed_office VARCHAR)
Question: What state had an elected/assumed office in 2013?
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_92 (tie_no VARCHAR, date VARCHAR)
Question: What tie no has Watford as the date?
[/INST]
Here is the SQLite query to answer to the question: What tie no ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (tie_no VARCHAR, date VARCHAR)
Question: What tie no has Watford as the date?
Here is the SQLite query to answer to the question: What tie no has Watford 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_29799700_2 (series_premiere VARCHAR, alternante_title VARCHAR)
Question: What was the premiere date for the episode whose alternate title was miłość i przezna... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29799700_2 (series_premiere VARCHAR, alternante_title VARCHAR)
Question: What was the premiere date for the episode whose alternate title was miłość i przeznaczenie... | bugdaryan/sql-create-context-instruction | |
[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 (tracks INTEGER, length VARCHAR)
Question: Which tracks have a length of 18:36?
[/INST]
Here is the SQLite query to answer to the question: Which trac... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (tracks INTEGER, length VARCHAR)
Question: Which tracks have a length of 18:36?
Here is the SQLite query to answer to the question: Which tracks have a len... | bugdaryan/sql-create-context-instruction | |
[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 VARCHAR, player VARCHAR)
Question: What is the score for Greg Norman
[/INST]
Here is the SQLite query to answer to the question: What is the sc... | 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 VARCHAR, player VARCHAR)
Question: What is the score for Greg Norman
Here is the SQLite query to answer to the question: What is the score for Greg ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24807774_1 (colombian VARCHAR, bangladeshi VARCHAR)
Question: how many colombia in bangladesh is serbian
[/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_24807774_1 (colombian VARCHAR, bangladeshi VARCHAR)
Question: how many colombia in bangladesh is serbian
Here is the SQLite query to answer to the question: how ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1245148_1 (location VARCHAR, year_opened VARCHAR)
Question: Where is the track that opened in 1995?
[/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_1245148_1 (location VARCHAR, year_opened VARCHAR)
Question: Where is the track that opened in 1995?
Here is the SQLite query to answer to the question: Where 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_83 (structure VARCHAR, year VARCHAR, continent VARCHAR)
Question: Listed with a continent of Africa and before 2009 this structure is called what?
[/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 (structure VARCHAR, year VARCHAR, continent VARCHAR)
Question: Listed with a continent of Africa and before 2009 this structure is called what?
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_3 (loss VARCHAR, date VARCHAR)
Question: What is the lost On August 20
[/INST]
Here is the SQLite query to answer to the question: What is the lost On Au... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (loss VARCHAR, date VARCHAR)
Question: What is the lost On August 20
Here is the SQLite query to answer to the question: What is the lost On August 20:
```
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR)
Question: What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR)
Question: What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?
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_1341577_43 (incumbent VARCHAR, candidates VARCHAR)
Question: Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341577_43 (incumbent VARCHAR, candidates VARCHAR)
Question: Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. cok... | bugdaryan/sql-create-context-instruction | |
[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 (liberal VARCHAR, new_democratic VARCHAR, dates VARCHAR)
Question: According to the August 2008 poll that reported 36% New Demcratic, what percentage ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (liberal VARCHAR, new_democratic VARCHAR, dates VARCHAR)
Question: According to the August 2008 poll that reported 36% New Demcratic, what percentage aligne... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24101118_1 (processor VARCHAR, model__list_ VARCHAR)
Question: what is the name of the processor for model x33x0?
[/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_24101118_1 (processor VARCHAR, model__list_ VARCHAR)
Question: what is the name of the processor for model x33x0?
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_14 (tournament VARCHAR, date VARCHAR)
Question: what is the tournament on august 17, 2008?
[/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_14 (tournament VARCHAR, date VARCHAR)
Question: what is the tournament on august 17, 2008?
Here is the SQLite query to answer to the question: what is the tou... | bugdaryan/sql-create-context-instruction | |
[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 (goals_against INTEGER, losses VARCHAR, wins VARCHAR, goals_for VARCHAR)
Question: Which Goals against has Wins of 13, and Goals for larger than 42, a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (goals_against INTEGER, losses VARCHAR, wins VARCHAR, goals_for VARCHAR)
Question: Which Goals against has Wins of 13, and Goals for larger than 42, and mor... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, score VARCHAR)
Question: Name the opponent with score of 1–6, 6–4, 6–4
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)
Question: Name the opponent with score of 1–6, 6–4, 6–4
Here is the SQLite query to answer to the question: Name the oppon... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE acceptance (Result VARCHAR, Submission_ID VARCHAR); CREATE TABLE submission (Author VARCHAR, Submission_ID VARCHAR)
Question: Show the authors of submissions and th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE acceptance (Result VARCHAR, Submission_ID VARCHAR); CREATE TABLE submission (Author VARCHAR, Submission_ID VARCHAR)
Question: Show the authors of submissions and the acce... | bugdaryan/sql-create-context-instruction | |
[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 (apps INTEGER, rank VARCHAR, goals VARCHAR)
Question: What are the apps for less than 61 goals and before rank 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_51 (apps INTEGER, rank VARCHAR, goals VARCHAR)
Question: What are the apps for less than 61 goals and before rank 6?
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_35 (surface VARCHAR, partner VARCHAR)
Question: What was the surface for the game that was played with partner Tiya Rolle?
[/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_35 (surface VARCHAR, partner VARCHAR)
Question: What was the surface for the game that was played with partner Tiya Rolle?
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_1714685_1 (series VARCHAR, title VARCHAR)
Question: When galaxy angel aa is the title what was the series?
[/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_1714685_1 (series VARCHAR, title VARCHAR)
Question: When galaxy angel aa is the title what was the series?
Here is the SQLite query to answer to the question: When... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28715942_2 (arranger_s_ VARCHAR, vocal_percussionist_s_ VARCHAR)
Question: Who arranged song(s) with tom lyle on the vocal percussion?
[/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_28715942_2 (arranger_s_ VARCHAR, vocal_percussionist_s_ VARCHAR)
Question: Who arranged song(s) with tom lyle on the vocal percussion?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (gold VARCHAR, bronze INTEGER)
Question: What is the value for Gold, when the value for Bronze is less than 0?
[/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_31 (gold VARCHAR, bronze INTEGER)
Question: What is the value for Gold, when the value for Bronze is less than 0?
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_97 (pick INTEGER, school_club_team VARCHAR)
Question: What is the average pick number of Pennsylvania?
[/INST]
Here is the SQLite query to answer to the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (pick INTEGER, school_club_team VARCHAR)
Question: What is the average pick number of Pennsylvania?
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_14 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
Question: Which constructor had laps amounting to more than 21 where the driver was John Surtees?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
Question: Which constructor had laps amounting to more than 21 where the driver was John Surtees?
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_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)
Question: Name the viewers for 1.2/4 rating
[/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_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)
Question: Name the viewers for 1.2/4 rating
Here is the SQLite query to answer to the question: Name the vi... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, opponent VARCHAR)
Question: What was the date of the game against North Carolina?
[/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_10 (date VARCHAR, opponent VARCHAR)
Question: What was the date of the game against North Carolina?
Here is the SQLite query to answer to the question: What 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_3 (location VARCHAR, authors VARCHAR)
Question: Where is wang li duan cheng located?
[/INST]
Here is the SQLite query to answer to the question: Where is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (location VARCHAR, authors VARCHAR)
Question: Where is wang li duan cheng located?
Here is the SQLite query to answer to the question: Where is wang li duan... | bugdaryan/sql-create-context-instruction | |
[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 (rank VARCHAR, country VARCHAR)
Question: What rank is Germany?
[/INST]
Here is the SQLite query to answer to the question: What rank is Germany?:
```... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (rank VARCHAR, country VARCHAR)
Question: What rank is Germany?
Here is the SQLite query to answer to the question: What rank is Germany?:
```
SELECT rank ... | bugdaryan/sql-create-context-instruction | |
[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 (losses INTEGER, byes INTEGER)
Question: What were the highest losses for a byes larger than 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_99 (losses INTEGER, byes INTEGER)
Question: What were the highest losses for a byes larger than 2?
Here is the SQLite query to answer to the question: What we... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1213511_3 (position VARCHAR, nhl_team VARCHAR)
Question: What is the position listed for the team the Philadelphia Flyers?
[/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_1213511_3 (position VARCHAR, nhl_team VARCHAR)
Question: What is the position listed for the team the Philadelphia Flyers?
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_54 (name VARCHAR, position VARCHAR)
Question: what is the name of the player that played position 3b?
[/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_54 (name VARCHAR, position VARCHAR)
Question: what is the name of the player that played position 3b?
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_48 (soap_opera VARCHAR, actor VARCHAR)
Question: what is the soap opera for elin sogn?
[/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_48 (soap_opera VARCHAR, actor VARCHAR)
Question: what is the soap opera for elin sogn?
Here is the SQLite query to answer to the question: what is the soap op... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
Question: Which Area km 2 has an Official Name of southampton, and a Population larger ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
Question: Which Area km 2 has an Official Name of southampton, and a Population larger than 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (opponents VARCHAR, partnering VARCHAR, date VARCHAR)
Question: Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (opponents VARCHAR, partnering VARCHAR, date VARCHAR)
Question: Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005?
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_59 (poles INTEGER, races INTEGER)
Question: What Poles have Races smaller than 4?
[/INST]
Here is the SQLite query to answer to the question: What Poles ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (poles INTEGER, races INTEGER)
Question: What Poles have Races smaller than 4?
Here is the SQLite query to answer to the question: What Poles have Races 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_10 (losses VARCHAR, ballarat_fl VARCHAR, against VARCHAR)
Question: How many Losses have a Ballarat FL of melton south, and an Against larger than 1468?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (losses VARCHAR, ballarat_fl VARCHAR, against VARCHAR)
Question: How many Losses have a Ballarat FL of melton south, and an Against larger than 1468?
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_3 (date VARCHAR, week VARCHAR)
Question: What is the Date of Week 5?
[/INST]
Here is the SQLite query to answer to the question: What is the Date of Week... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR)
Question: What is the Date of Week 5?
Here is the SQLite query to answer to the question: What is the Date of Week 5?:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR)
Question: What is the highest total for players with under 2 Egyptian Premier Leag... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR)
Question: What is the highest total for players with under 2 Egyptian Premier League goa... | 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.