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_36 (hr_no VARCHAR, lms_no VARCHAR) Question: What's the HR number when the LMS number is 14758? [/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_36 (hr_no VARCHAR, lms_no VARCHAR) Question: What's the HR number when the LMS number is 14758? Here is the SQLite query to answer to the question: What's 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 customer (first_name VARCHAR, customer_id VARCHAR, rental_date INTEGER); CREATE TABLE rental (first_name VARCHAR, customer_id VARCHAR, rental_date INTEGER) Question...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE customer (first_name VARCHAR, customer_id VARCHAR, rental_date INTEGER); CREATE TABLE rental (first_name VARCHAR, customer_id VARCHAR, rental_date INTEGER) 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_14688744_2 (arrival VARCHAR, station_code VARCHAR) Question: what is the arrival time where the station code is awy? [/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_14688744_2 (arrival VARCHAR, station_code VARCHAR) Question: what is the arrival time where the station code is awy? 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_49 (crude_birth_rate__per_1000_ INTEGER, natural_change VARCHAR) Question: Natural change of 42 689 has which lowest Crude birth rate (per 1000)? [/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 (crude_birth_rate__per_1000_ INTEGER, natural_change VARCHAR) Question: Natural change of 42 689 has which lowest Crude birth rate (per 1000)? 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_84 (capacity VARCHAR, founded VARCHAR) Question: How much capacity has 1944 as the founded? [/INST] Here is the SQLite query to answer to the question: H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (capacity VARCHAR, founded VARCHAR) Question: How much capacity has 1944 as the founded? Here is the SQLite query to answer to the question: How much capac...
bugdaryan/sql-create-context-instruction
[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 (title VARCHAR, developer VARCHAR, genre VARCHAR) Question: What is Title, when Developer is "2Play Mobile", and when Genre is "Action"? [/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_91 (title VARCHAR, developer VARCHAR, genre VARCHAR) Question: What is Title, when Developer is "2Play Mobile", and when Genre is "Action"? Here is the SQLite...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (year VARCHAR, actor VARCHAR) Question: What year did actor Richard Farnsworth get nominated for an award? [/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_73 (year VARCHAR, actor VARCHAR) Question: What year did actor Richard Farnsworth get nominated for an award? 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_54 (attendance VARCHAR, result VARCHAR) Question: Which Attendance has a Result of l 29–23? [/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 (attendance VARCHAR, result VARCHAR) Question: Which Attendance has a Result of l 29–23? Here is the SQLite query to answer to the question: Which Attendan...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (extras INTEGER, er VARCHAR, runs_conceded VARCHAR) Question: What is the highest Extras with an E.R. of 4.59, and more than 101 Runs Conceded? [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (extras INTEGER, er VARCHAR, runs_conceded VARCHAR) Question: What is the highest Extras with an E.R. of 4.59, and more than 101 Runs Conceded? 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_18 (away_team VARCHAR) Question: What is the score of the Geelong away team? [/INST] Here is the SQLite query to answer to the question: What is the scor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (away_team VARCHAR) Question: What is the score of the Geelong away team? Here is the SQLite query to answer to the question: What is the score of the Geel...
bugdaryan/sql-create-context-instruction
[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 (lost INTEGER, games INTEGER) Question: Which Lost has Games larger than 7? [/INST] Here is the SQLite query to answer to the question: Which Lost has...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (lost INTEGER, games INTEGER) Question: Which Lost has Games larger than 7? Here is the SQLite query to answer to the question: Which Lost has Games larger...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (result VARCHAR, event VARCHAR, method VARCHAR) Question: Which Result has the Event Strikeforce and the Method, Ko (spinning back fist)? [/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_15 (result VARCHAR, event VARCHAR, method VARCHAR) Question: Which Result has the Event Strikeforce and the Method, Ko (spinning back fist)? 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 station (LOCATION VARCHAR, number_of_platforms INTEGER, total_passengers INTEGER) Question: Show all locations and the total number of platforms and passengers for ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE station (LOCATION VARCHAR, number_of_platforms INTEGER, total_passengers INTEGER) Question: Show all locations and the total number of platforms and passengers for all tr...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22460085_1 (character VARCHAR, original_west_end_performer VARCHAR) Question: What character did Richard Fleeshman portray? [/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_22460085_1 (character VARCHAR, original_west_end_performer VARCHAR) Question: What character did Richard Fleeshman portray? 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_46 (team VARCHAR, game VARCHAR) Question: What is the Team in Game 38? [/INST] Here is the SQLite query to answer to the question: What is the Team in Ga...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (team VARCHAR, game VARCHAR) Question: What is the Team in Game 38? Here is the SQLite query to answer to the question: What is the Team in Game 38?: ``` S...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR) Question: Who had a to par of e and scored 71-69=140? [/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_32 (player VARCHAR, to_par VARCHAR, score VARCHAR) Question: Who had a to par of e and scored 71-69=140? 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_1847180_3 (reason_for_change VARCHAR, vacator VARCHAR) Question: How many reasons were given when A. Willis Robertson (D) resigned? [/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_1847180_3 (reason_for_change VARCHAR, vacator VARCHAR) Question: How many reasons were given when A. Willis Robertson (D) resigned? 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_13759592_2 (location VARCHAR, institution VARCHAR) Question: Where is Interlake 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_13759592_2 (location VARCHAR, institution VARCHAR) Question: Where is Interlake located? Here is the SQLite query to answer to the question: Where is Interlake loc...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24935743_2 (school VARCHAR, nickname VARCHAR) Question: What school is nicknamed the panthers? [/INST] Here is the SQLite query to answer to the question: Wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24935743_2 (school VARCHAR, nickname VARCHAR) Question: What school is nicknamed the panthers? Here is the SQLite query to answer to the question: What school is 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_21 (season VARCHAR, staffel_e VARCHAR) Question: Which season has a Staffel E of Stahl Riesa? [/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_21 (season VARCHAR, staffel_e VARCHAR) Question: Which season has a Staffel E of Stahl Riesa? Here is the SQLite query to answer to the question: Which season...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR) Question: Find the names of swimmers who has a result of "win". [/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 record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR) Question: Find the names of swimmers who has a result of "win". 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_82 (new_entries_this_round VARCHAR, clubs VARCHAR) Question: when there were 48 → 32 clubs? [/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_82 (new_entries_this_round VARCHAR, clubs VARCHAR) Question: when there were 48 → 32 clubs? Here is the SQLite query to answer to the question: when there wer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR) Question: Which team has a Reg GP of 0, a pick number under 136 with a p...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR) Question: Which team has a Reg GP of 0, a pick number under 136 with a player ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE useracct (Id VARCHAR) Question: How many users are there? [/INST] Here is the SQLite query to answer to the question: How many users are there?: ``` SELECT COUNT(*)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE useracct (Id VARCHAR) Question: How many users are there? Here is the SQLite query to answer to the question: How many users are there?: ``` SELECT COUNT(*) FROM useracc...
bugdaryan/sql-create-context-instruction
[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 (crowd INTEGER, home_team VARCHAR) Question: What was the crowd when Melbourne was the home team? [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (crowd INTEGER, home_team VARCHAR) Question: What was the crowd when Melbourne was the home team? 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_23466021_4 (attendance INTEGER) Question: What is the attendance? [/INST] Here is the SQLite query to answer to the question: What is the attendance?: ``` SEL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23466021_4 (attendance INTEGER) Question: What is the attendance? Here is the SQLite query to answer to the question: What is the attendance?: ``` SELECT MAX(atten...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_197446_1 (elected VARCHAR, term_began VARCHAR) Question: What year was the congressional service elected for a term beginning on January 3, 1989? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_197446_1 (elected VARCHAR, term_began VARCHAR) Question: What year was the congressional service elected for a term beginning on January 3, 1989? 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_67 (against VARCHAR, position VARCHAR, points VARCHAR) Question: Which Against has a Position larger than 8, and Points larger than 9? [/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_67 (against VARCHAR, position VARCHAR, points VARCHAR) Question: Which Against has a Position larger than 8, and Points larger than 9? 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_85 (stadium VARCHAR, visiting_team VARCHAR) Question: At which stadium did the Los Angeles Raiders play as the visiting team? [/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_85 (stadium VARCHAR, visiting_team VARCHAR) Question: At which stadium did the Los Angeles Raiders play as the visiting team? 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_22 (score VARCHAR, player VARCHAR) Question: What was Paul Runyan's score? [/INST] Here is the SQLite query to answer to the question: What was Paul Runy...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR) Question: What was Paul Runyan's score? Here is the SQLite query to answer to the question: What was Paul Runyan's score?: ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (artist VARCHAR, album VARCHAR) Question: Who is the artist of the album Soul? [/INST] Here is the SQLite query to answer to the question: Who is the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (artist VARCHAR, album VARCHAR) Question: Who is the artist of the album Soul? Here is the SQLite query to answer to the question: Who is the artist of 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_66 (spacecraft VARCHAR, end_time VARCHAR) Question: What spacecraft had an EVA that ended at 17:28? [/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_66 (spacecraft VARCHAR, end_time VARCHAR) Question: What spacecraft had an EVA that ended at 17:28? Here is the SQLite query to answer to the question: What s...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR) Question: Where did Carlton play? [/INST] Here is the SQLite query to answer to the question: Where did Carlton play...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR) Question: Where did Carlton play? Here is the SQLite query to answer to the question: Where did Carlton play?: ``` SELECT...
bugdaryan/sql-create-context-instruction
[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 (constructor VARCHAR, time_retired VARCHAR) Question: Which constructor has a Time/Retired of +37.311? [/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 (constructor VARCHAR, time_retired VARCHAR) Question: Which constructor has a Time/Retired of +37.311? 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_26 (size__steps_ VARCHAR, just_ratio VARCHAR, size__cents_ VARCHAR) Question: What is the value of the size (steps) that has just ratio 10:9 and a size (...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (size__steps_ VARCHAR, just_ratio VARCHAR, size__cents_ VARCHAR) Question: What is the value of the size (steps) that has just ratio 10:9 and a size (cents)...
bugdaryan/sql-create-context-instruction
[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 (season VARCHAR, points VARCHAR, losses VARCHAR) Question: Which season did the Burnaby Lakers have less than 16 points and less than 18 losses? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (season VARCHAR, points VARCHAR, losses VARCHAR) Question: Which season did the Burnaby Lakers have less than 16 points and less than 18 losses? 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_12807904_5 (points VARCHAR, lost VARCHAR) Question: what amount of points were lost by 13? [/INST] Here is the SQLite query to answer to the question: what am...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12807904_5 (points VARCHAR, lost VARCHAR) Question: what amount of points were lost by 13? Here is the SQLite query to answer to the question: what amount of point...
bugdaryan/sql-create-context-instruction
[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 (title VARCHAR, artist VARCHAR, year VARCHAR) Question: What title does Overkill have before 1984? [/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_65 (title VARCHAR, artist VARCHAR, year VARCHAR) Question: What title does Overkill have before 1984? 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_26952212_1 (title VARCHAR, no_in_total VARCHAR) Question: What is the title for episode number 30? [/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_26952212_1 (title VARCHAR, no_in_total VARCHAR) Question: What is the title for episode number 30? Here is the SQLite query to answer to the question: What is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, date VARCHAR) Question: What is the score from September 15 that has the Indians as the opponent? [/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_35 (score VARCHAR, opponent VARCHAR, date VARCHAR) Question: What is the score from September 15 that has the Indians as the opponent? 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_50 (away_team VARCHAR, venue VARCHAR) Question: Which Away team played at the Windy Hill Venue? [/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_50 (away_team VARCHAR, venue VARCHAR) Question: Which Away team played at the Windy Hill Venue? Here is the SQLite query to answer to the question: Which Away...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12251936_1 (live_births_2006 VARCHAR, county VARCHAR) Question: How many live births were there in 2006 in South Yorkshire (met county)? [/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_12251936_1 (live_births_2006 VARCHAR, county VARCHAR) Question: How many live births were there in 2006 in South Yorkshire (met county)? 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 bridge (length_feet INTEGER) Question: What is the average length in feet of the bridges? [/INST] Here is the SQLite query to answer to the question: What is the av...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE bridge (length_feet INTEGER) Question: What is the average length in feet of the bridges? Here is the SQLite query to answer to the question: What is the average length ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14962287_1 (fa_cup VARCHAR, total VARCHAR) Question: which fa cups had a total of 565 (7)? [/INST] Here is the SQLite query to answer to the question: which f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14962287_1 (fa_cup VARCHAR, total VARCHAR) Question: which fa cups had a total of 565 (7)? Here is the SQLite query to answer to the question: which fa cups had 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_12983929_1 (shut_down VARCHAR, commercial_operation VARCHAR) Question: What's the shut down state of the unit that's been in commercial operation since 01.02....
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12983929_1 (shut_down VARCHAR, commercial_operation VARCHAR) Question: What's the shut down state of the unit that's been in commercial operation since 01.02.1984? ...
bugdaryan/sql-create-context-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_8 (stadium VARCHAR, result_games VARCHAR) Question: Which stadium had the result/game montreal 20 @ ottawa 10? [/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_21436373_8 (stadium VARCHAR, result_games VARCHAR) Question: Which stadium had the result/game montreal 20 @ ottawa 10? 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_10 (team VARCHAR, grid VARCHAR) Question: What is the team with grid 9? [/INST] Here is the SQLite query to answer to the question: What is the team with...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (team VARCHAR, grid VARCHAR) Question: What is the team with grid 9? Here is the SQLite query to answer to the question: What is the team with grid 9?: ```...
bugdaryan/sql-create-context-instruction
[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 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) Question: What is the high lap total that has a grid of less than 4 and a Time/Retired of + 1 lap? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) Question: What is the high lap total that has a grid of less than 4 and a Time/Retired of + 1 lap? Here i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR) Question: How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR) Question: How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less?...
bugdaryan/sql-create-context-instruction
[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 (player VARCHAR, tries VARCHAR) Question: which player has 11 tries? [/INST] Here is the SQLite query to answer to the question: which player has 11 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 (player VARCHAR, tries VARCHAR) Question: which player has 11 tries? Here is the SQLite query to answer to the question: which player has 11 tries?: ``` 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_69 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR) Question: What is the Interregnum ended for Count Palatine of Saxony of john george ii, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR) Question: What is the Interregnum ended for Count Palatine of Saxony of john george ii, electo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16494599_5 (school_club_team VARCHAR, player VARCHAR) Question: Which school/club team did blue edwards play for [/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_16494599_5 (school_club_team VARCHAR, player VARCHAR) Question: Which school/club team did blue edwards play for 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_19 (week INTEGER, result VARCHAR) Question: What is the lowest Week when the result was l 6–0? [/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_19 (week INTEGER, result VARCHAR) Question: What is the lowest Week when the result was l 6–0? Here is the SQLite query to answer to the question: What is the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (original_title VARCHAR, director_s_ VARCHAR, year VARCHAR, country VARCHAR) Question: What was the original title that was directed by Alain Resnais ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (original_title VARCHAR, director_s_ VARCHAR, year VARCHAR, country VARCHAR) Question: What was the original title that was directed by Alain Resnais in Fra...
bugdaryan/sql-create-context-instruction
[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, week VARCHAR, opponent VARCHAR) Question: Against the Houston Oilers after week 14, what was the result of the game? [/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_64 (result VARCHAR, week VARCHAR, opponent VARCHAR) Question: Against the Houston Oilers after week 14, what was the result of the game? 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_58 (replication_site VARCHAR, envelopment VARCHAR, family VARCHAR) Question: What is the replication site when the species is enveloped and is of the bun...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (replication_site VARCHAR, envelopment VARCHAR, family VARCHAR) Question: What is the replication site when the species is enveloped and is of the bunyaviri...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE market (Country VARCHAR, Number_cities VARCHAR) Question: List all countries of markets in descending order of number of cities. [/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 market (Country VARCHAR, Number_cities VARCHAR) Question: List all countries of markets in descending order of number of cities. 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 has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR) Question: Find the num...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR) Question: Find the number of...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (year INTEGER, bronze VARCHAR, silver VARCHAR) Question: Which Year is the highest one that has a Bronze of south korea, and a Silver of philippines? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (year INTEGER, bronze VARCHAR, silver VARCHAR) Question: Which Year is the highest one that has a Bronze of south korea, and a Silver of philippines? 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 city (Official_Name VARCHAR, Population VARCHAR) Question: List official names of cities in descending order of population. [/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 city (Official_Name VARCHAR, Population VARCHAR) Question: List official names of cities in descending order of population. 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_36 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR, constructor VARCHAR) Question: what is the time/retired when the grid is less than 13, the construc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR, constructor VARCHAR) Question: what is the time/retired when the grid is less than 13, the constructor 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_41 (total INTEGER, player VARCHAR, to_par VARCHAR) Question: Player of corey pavin, and a To par larger than 5 has what average total? [/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_41 (total INTEGER, player VARCHAR, to_par VARCHAR) Question: Player of corey pavin, and a To par larger than 5 has what average total? 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_136027_2 (district VARCHAR) Question: Who is on the 2002 commission from district 3? [/INST] Here is the SQLite query to answer to the question: Who is on the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_136027_2 (district VARCHAR) Question: Who is on the 2002 commission from district 3? Here is the SQLite query to answer to the question: Who is on the 2002 commiss...
bugdaryan/sql-create-context-instruction
[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 (university_of_dublin INTEGER, industrial_and_commercial_panel VARCHAR, national_university_of_ireland VARCHAR) Question: What is the average for the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (university_of_dublin INTEGER, industrial_and_commercial_panel VARCHAR, national_university_of_ireland VARCHAR) Question: What is the average for the univer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23292220_13 (jons_team VARCHAR, seans_team VARCHAR) Question: Who was on Jon's team when Sean's team had Matthew Crosby and Kimberly Wyatt? [/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_23292220_13 (jons_team VARCHAR, seans_team VARCHAR) Question: Who was on Jon's team when Sean's team had Matthew Crosby and Kimberly Wyatt? 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_2923917_4 (distance VARCHAR, brisbane VARCHAR) Question: What is the distance when brisbane is $4.80? [/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_2923917_4 (distance VARCHAR, brisbane VARCHAR) Question: What is the distance when brisbane is $4.80? 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_name_36 (points VARCHAR, drawn INTEGER) Question: How many Points have a Drawn smaller than 0? [/INST] Here is the SQLite query to answer to the question: How...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (points VARCHAR, drawn INTEGER) Question: How many Points have a Drawn smaller than 0? Here is the SQLite query to answer to the question: How many Points ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (sub_millisecond_cycle VARCHAR) Question: What is the millisecond cycle for the Fieldbus? [/INST] Here is the SQLite query to answer to the question: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (sub_millisecond_cycle VARCHAR) Question: What is the millisecond cycle for the Fieldbus? Here is the SQLite query to answer to the question: What is the m...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (drawn VARCHAR, tied VARCHAR, player VARCHAR) Question: I want to know the drawn that has a tie of 0 and the player is chris cowdrey [/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_25 (drawn VARCHAR, tied VARCHAR, player VARCHAR) Question: I want to know the drawn that has a tie of 0 and the player is chris cowdrey 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_90 (money___$__ VARCHAR, place VARCHAR, score VARCHAR) Question: What is the Money for the T1 Player with a Score of 66-69-70-75=280? [/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_90 (money___$__ VARCHAR, place VARCHAR, score VARCHAR) Question: What is the Money for the T1 Player with a Score of 66-69-70-75=280? 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_1920271_3 (partner VARCHAR, outcome VARCHAR, championship VARCHAR) Question: Who was her partner at the US Open and they were runner-up? [/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_1920271_3 (partner VARCHAR, outcome VARCHAR, championship VARCHAR) Question: Who was her partner at the US Open and they were runner-up? 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_36 (record VARCHAR, time VARCHAR, opponent VARCHAR) Question: What was the record when matt grice fought dennis bermudez with a time of 5:00? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (record VARCHAR, time VARCHAR, opponent VARCHAR) Question: What was the record when matt grice fought dennis bermudez with a time of 5:00? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26335424_86 (round_of_32 VARCHAR, quarterfinals VARCHAR, event VARCHAR) Question: If the event was bantamweight (-63kg), and the quarterfinals did not advance...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26335424_86 (round_of_32 VARCHAR, quarterfinals VARCHAR, event VARCHAR) Question: If the event was bantamweight (-63kg), and the quarterfinals did not advance, then...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (lner_class VARCHAR, wa VARCHAR, no_built VARCHAR) Question: What LINER class has a W.A. of 0-6-0st with a 2 No. Built? [/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_44 (lner_class VARCHAR, wa VARCHAR, no_built VARCHAR) Question: What LINER class has a W.A. of 0-6-0st with a 2 No. Built? 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 Faculty (rank VARCHAR, sex VARCHAR) Question: Show all the ranks and the number of male and female faculty for each rank. [/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 Faculty (rank VARCHAR, sex VARCHAR) Question: Show all the ranks and the number of male and female faculty for each rank. 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_53 (attendance VARCHAR, home_team VARCHAR) Question: What was the attendance for the game with alfreton town as the home team? [/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_53 (attendance VARCHAR, home_team VARCHAR) Question: What was the attendance for the game with alfreton town as the home team? Here is the SQLite query to ans...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (name VARCHAR, a_league VARCHAR) Question: Which player has an A-League of 150 (4)? [/INST] Here is the SQLite query to answer to the question: Which p...
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, a_league VARCHAR) Question: Which player has an A-League of 150 (4)? Here is the SQLite query to answer to the question: Which player has 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_7 (election VARCHAR) Question: Who is the 1st member in the 1884 by-election? [/INST] Here is the SQLite query to answer to the question: Who is the 1st ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (election VARCHAR) Question: Who is the 1st member in the 1884 by-election? Here is the SQLite query to answer to the question: Who is the 1st member in 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_43 (segment_c VARCHAR, netflix VARCHAR) Question: Which Segment C has a Netflix of s08e16? [/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_43 (segment_c VARCHAR, netflix VARCHAR) Question: Which Segment C has a Netflix of s08e16? Here is the SQLite query to answer to the question: Which Segment C...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (wins INTEGER, team VARCHAR) Question: What are the average wins that have great britain as the team? [/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_80 (wins INTEGER, team VARCHAR) Question: What are the average wins that have great britain as the team? 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_1342331_5 (incumbent VARCHAR, candidates VARCHAR) Question: who is the the incumbent with candidates being ben cravens (d) unopposed [/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_1342331_5 (incumbent VARCHAR, candidates VARCHAR) Question: who is the the incumbent with candidates being ben cravens (d) unopposed 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 (result VARCHAR, opponent VARCHAR) Question: What was the final of the New England Patriots game? [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (result VARCHAR, opponent VARCHAR) Question: What was the final of the New England Patriots game? 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_31 (place VARCHAR, player VARCHAR) Question: what is the place for bryce molder? [/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_31 (place VARCHAR, player VARCHAR) Question: what is the place for bryce molder? Here is the SQLite query to answer to the question: what is the place for bry...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (score INTEGER, player VARCHAR) Question: What was Bernhard Langer's highest score? [/INST] Here is the SQLite query to answer to the question: What w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (score INTEGER, player VARCHAR) Question: What was Bernhard Langer's highest score? Here is the SQLite query to answer to the question: What was Bernhard L...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR) Question: What is the name of the stadium which held the most events? [/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 stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR) Question: What is the name of the stadium which held the most events? 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_10138926_1 (_number VARCHAR) Question: How many 2001 censuses are there on number 13? [/INST] Here is the SQLite query to answer to the question: How many 200...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10138926_1 (_number VARCHAR) Question: How many 2001 censuses are there on number 13? Here is the SQLite query to answer to the question: How many 2001 censuses ar...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR) Question: When total goals is 11 what was the league apps (sub)? [/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_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR) Question: When total goals is 11 what was the league apps (sub)? 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_2562572_44 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR) Question: What is the largest ethnic group in the settlement with a 2011 populatio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR) Question: What is the largest ethnic group in the settlement with a 2011 population of 5...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (name VARCHAR, qual_2 VARCHAR) Question: What is Name when Qual 2 is 1:15.582? [/INST] Here is the SQLite query to answer to the question: What is Nam...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (name VARCHAR, qual_2 VARCHAR) Question: What is Name when Qual 2 is 1:15.582? Here is the SQLite query to answer to the question: What is Name when Qual 2...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21538523_1 (shots INTEGER) Question: What is the fewest shots a glazing can handle? [/INST] Here is the SQLite query to answer to the question: What is the fe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21538523_1 (shots INTEGER) Question: What is the fewest shots a glazing can handle? Here is the SQLite query to answer to the question: What is the fewest shots 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_1473672_5 (player VARCHAR, nhl_team VARCHAR) Question: What player was picked by the Minnesota North Stars? [/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_1473672_5 (player VARCHAR, nhl_team VARCHAR) Question: What player was picked by the Minnesota North Stars? 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_61 (position VARCHAR, player VARCHAR) Question: Which position has a Player of chad hutchinson? [/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_61 (position VARCHAR, player VARCHAR) Question: Which position has a Player of chad hutchinson? Here is the SQLite query to answer to the question: Which posi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29842201_1 (lowest_mark VARCHAR, _percentage_pass VARCHAR) Question: How many lowest mark entries are there when % passed is 76? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29842201_1 (lowest_mark VARCHAR, _percentage_pass VARCHAR) Question: How many lowest mark entries are there when % passed is 76? 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_99 (height VARCHAR, sr_no VARCHAR, locale VARCHAR, floors VARCHAR) Question: what is the height when the locale is nepean sea road, floors is more than 3...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (height VARCHAR, sr_no VARCHAR, locale VARCHAR, floors VARCHAR) Question: what is the height when the locale is nepean sea road, floors is more than 30 and ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (opened INTEGER, venue VARCHAR, established VARCHAR) Question: When is the earliest year opened for huff hall that was established after 1974? [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (opened INTEGER, venue VARCHAR, established VARCHAR) Question: When is the earliest year opened for huff hall that was established after 1974? 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 airport (name VARCHAR) Question: Which of the airport names contains the word 'international'? [/INST] Here is the SQLite query to answer to the question: Which of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE airport (name VARCHAR) Question: Which of the airport names contains the word 'international'? Here is the SQLite query to answer to the question: Which of the airport 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_2267857_1 (laps VARCHAR, date VARCHAR) Question: Name the laps of october 26 [/INST] Here is the SQLite query to answer to the question: Name the laps of octo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2267857_1 (laps VARCHAR, date VARCHAR) Question: Name the laps of october 26 Here is the SQLite query to answer to the question: Name the laps of october 26: ``` S...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR) Question: How many game sites are there where the team record is 1–7? [/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_25380472_2 (game_site VARCHAR, team_record VARCHAR) Question: How many game sites are there where the team record is 1–7? 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 (total VARCHAR, nation VARCHAR, silver VARCHAR) Question: What is the total number of Total when Germany is the nation with less than 1 silver? [/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 (total VARCHAR, nation VARCHAR, silver VARCHAR) Question: What is the total number of Total when Germany is the nation with less than 1 silver? 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_25999087_2 (young_rider_classification VARCHAR, combativity_award VARCHAR) Question: Who is every young rider classification if combativity award is Yannick T...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25999087_2 (young_rider_classification VARCHAR, combativity_award VARCHAR) Question: Who is every young rider classification if combativity award is Yannick Talabar...
bugdaryan/sql-create-context-instruction