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_16 (circuit VARCHAR, class VARCHAR, date VARCHAR) Question: What circuit was on June 1 with a class of both? [/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_16 (circuit VARCHAR, class VARCHAR, date VARCHAR) Question: What circuit was on June 1 with a class of both? 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_6 (part_4 VARCHAR, part_1 VARCHAR) Question: What is the part 4 with *hlaupaną *stautaną in part 1? [/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_6 (part_4 VARCHAR, part_1 VARCHAR) Question: What is the part 4 with *hlaupaną *stautaną in part 1? 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_68 (outcome VARCHAR, opponent VARCHAR) Question: WHICH Outcome has aN Opponent of pascale paradis-mangon? [/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_68 (outcome VARCHAR, opponent VARCHAR) Question: WHICH Outcome has aN Opponent of pascale paradis-mangon? 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_1139835_1 (venue VARCHAR, margin VARCHAR) Question: what is the venue where the margin is 4? [/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_1139835_1 (venue VARCHAR, margin VARCHAR) Question: what is the venue where the margin is 4? Here is the SQLite query to answer to the question: what is the venue ...
bugdaryan/sql-create-context-instruction
[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 (support_category VARCHAR, round VARCHAR) Question: Which Support Category had a Round score of 9? [/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_67 (support_category VARCHAR, round VARCHAR) Question: Which Support Category had a Round score of 9? Here is the SQLite query to answer to the question: Whic...
bugdaryan/sql-create-context-instruction
[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 (gold INTEGER, total VARCHAR, silver VARCHAR) Question: When the total was 11 and silver was greater than 4 what was the highest gold? [/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_15 (gold INTEGER, total VARCHAR, silver VARCHAR) Question: When the total was 11 and silver was greater than 4 what was the highest gold? 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_26 (name VARCHAR, first_performance VARCHAR) Question: who had the first performance on 3 july 2011? [/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_26 (name VARCHAR, first_performance VARCHAR) Question: who had the first performance on 3 july 2011? Here is the SQLite query to answer to the question: who h...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_170958_2 (population INTEGER, area_km_2 VARCHAR) Question: What is the maximum population of the land with an area of 276.84 km2? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_170958_2 (population INTEGER, area_km_2 VARCHAR) Question: What is the maximum population of the land with an area of 276.84 km2? Here is the SQLite query to answe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (date_of_release INTEGER, title VARCHAR) Question: WHAT IS THE AVERAGE DATE OF RELEASE FOR THICKSKIN? [/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_33 (date_of_release INTEGER, title VARCHAR) Question: WHAT IS THE AVERAGE DATE OF RELEASE FOR THICKSKIN? 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_98 (date VARCHAR, loser VARCHAR, year VARCHAR) Question: On what date was the game that the Indianapolis Colts lost in 2004? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (date VARCHAR, loser VARCHAR, year VARCHAR) Question: On what date was the game that the Indianapolis Colts lost in 2004? Here is the SQLite query to answe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR) Question: Which Away team has a Tie no of 4? [/INST] Here is the SQLite query to answer to the question: Which Awa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR) Question: Which Away team has a Tie no of 4? Here is the SQLite query to answer to the question: Which Away team has a ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (country VARCHAR, player VARCHAR) Question: What is Country, when Player is "Dutch Harrison"? [/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_8 (country VARCHAR, player VARCHAR) Question: What is Country, when Player is "Dutch Harrison"? Here is the SQLite query to answer to the question: What is Co...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11254821_2 (points_awarded__platinum_ VARCHAR, points_awarded__silver_ VARCHAR) Question: How many platinum points were awarded when 70 silver points were awa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11254821_2 (points_awarded__platinum_ VARCHAR, points_awarded__silver_ VARCHAR) Question: How many platinum points were awarded when 70 silver points were awarded? ...
bugdaryan/sql-create-context-instruction
[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 (team VARCHAR, qual_1 VARCHAR) Question: What team had a qual 1 of 1:02.755? [/INST] Here is the SQLite query to answer to the question: What team had...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (team VARCHAR, qual_1 VARCHAR) Question: What team had a qual 1 of 1:02.755? Here is the SQLite query to answer to the question: What team had a qual 1 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_49 (score VARCHAR, player VARCHAR) Question: What did Sam Torrance score? [/INST] Here is the SQLite query to answer to the question: What did Sam Torran...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR) Question: What did Sam Torrance score? Here is the SQLite query to answer to the question: What did Sam Torrance 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_64 (home_team VARCHAR) Question: What is north melbourne's home team score? [/INST] Here is the SQLite query to answer to the question: What is north mel...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (home_team VARCHAR) Question: What is north melbourne's home team score? Here is the SQLite query to answer to the question: What is north melbourne's home...
bugdaryan/sql-create-context-instruction
[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, race_number VARCHAR, country VARCHAR) Question: What is the average number of laps when the country was NL and the race number was smal...
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, race_number VARCHAR, country VARCHAR) Question: What is the average number of laps when the country was NL and the race number was smaller 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_26702078_1 (writer_s_ VARCHAR, no_in_series VARCHAR) Question: Name the writers for 46 in series [/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_26702078_1 (writer_s_ VARCHAR, no_in_series VARCHAR) Question: Name the writers for 46 in series Here is the SQLite query to answer to the question: Name the write...
bugdaryan/sql-create-context-instruction
[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 (stadium VARCHAR, city VARCHAR) Question: What is the name of the stadium for the city of melfi? [/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_7 (stadium VARCHAR, city VARCHAR) Question: What is the name of the stadium for the city of melfi? Here is the SQLite query to answer to the question: What is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (date VARCHAR, game VARCHAR) Question: What is Date, when Game is "8"? [/INST] Here is the SQLite query to answer to the question: What is Date, when ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (date VARCHAR, game VARCHAR) Question: What is Date, when Game is "8"? Here is the SQLite query to answer to the question: What is Date, when Game is "8"?:...
bugdaryan/sql-create-context-instruction
[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 (state VARCHAR, preliminary VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) Question: What state has a swimsuit less than 9.277, gown more than 8.944...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (state VARCHAR, preliminary VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) Question: What state has a swimsuit less than 9.277, gown more than 8.944 and p...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11545282_11 (position VARCHAR, school_club_team VARCHAR) Question: How many positions are for creighton? [/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_11545282_11 (position VARCHAR, school_club_team VARCHAR) Question: How many positions are for creighton? 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_name_66 (athlete VARCHAR, data VARCHAR) Question: Who has a walking data of 214.061km? [/INST] Here is the SQLite query to answer to the question: Who has a w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (athlete VARCHAR, data VARCHAR) Question: Who has a walking data of 214.061km? Here is the SQLite query to answer to the question: Who has a walking data 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_17118657_8 (game INTEGER, record VARCHAR) Question: What number was the game resulting in a 5-11 record? [/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_17118657_8 (game INTEGER, record VARCHAR) Question: What number was the game resulting in a 5-11 record? Here is the SQLite query to answer to the question: What 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_19763199_3 (total_votes VARCHAR, artist VARCHAR) Question: How many votes does Carlos Ferrer Eai have? [/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_19763199_3 (total_votes VARCHAR, artist VARCHAR) Question: How many votes does Carlos Ferrer Eai have? Here is the SQLite query to answer to the question: How many...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18018214_2 (goals_conceded INTEGER, points VARCHAR) Question: List the number of goals scored to equal 58. [/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_18018214_2 (goals_conceded INTEGER, points VARCHAR) Question: List the number of goals scored to equal 58. Here is the SQLite query to answer to the question: List...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23265433_2 (offensive VARCHAR, overall VARCHAR) Question: Name the total number of offensive for colin doyle [/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_23265433_2 (offensive VARCHAR, overall VARCHAR) Question: Name the total number of offensive for colin doyle Here is the SQLite query to answer to the question: Na...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Person (name VARCHAR, age VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR) Question: Find the name and age of the person who is a friend of Dan or...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Person (name VARCHAR, age VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR) Question: Find the name and age of the person who is a friend of Dan or Alice...
bugdaryan/sql-create-context-instruction
[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 (school_year VARCHAR, cross_country VARCHAR) Question: What is School Year, when Cross Country is Wooster? [/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_19 (school_year VARCHAR, cross_country VARCHAR) Question: What is School Year, when Cross Country is Wooster? 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_1342218_6 (first_elected VARCHAR, incumbent VARCHAR) Question: What year was clair engle first elected? [/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_1342218_6 (first_elected VARCHAR, incumbent VARCHAR) Question: What year was clair engle first elected? Here is the SQLite query to answer to the question: What ye...
bugdaryan/sql-create-context-instruction
[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 (points VARCHAR, grid VARCHAR, time_retired VARCHAR) Question: Name the points with grid more than 8 and time/retired of +47.487 secs [/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_74 (points VARCHAR, grid VARCHAR, time_retired VARCHAR) Question: Name the points with grid more than 8 and time/retired of +47.487 secs 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_38 (week INTEGER, result VARCHAR) Question: What is the highest week with a w 33-14 result? [/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_38 (week INTEGER, result VARCHAR) Question: What is the highest week with a w 33-14 result? Here is the SQLite query to answer to the question: What is the hi...
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR, venue VARCHAR) Question: I want to know the home team for mcg venue [/INST] Here is the SQLite query to answer to the question: I ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (home_team VARCHAR, venue VARCHAR) Question: I want to know the home team for mcg venue Here is the SQLite query to answer to the question: I want to know ...
bugdaryan/sql-create-context-instruction
[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 (total__kg_ INTEGER, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR) Question: Which Total (kg) has a Clean & Jerk smaller than 153, and a Snatch small...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (total__kg_ INTEGER, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR) Question: Which Total (kg) has a Clean & Jerk smaller than 153, and a Snatch smaller tha...
bugdaryan/sql-create-context-instruction
[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 (open_cup VARCHAR, playoffs VARCHAR, year VARCHAR) Question: In 2012, which round in the Open Cup did Real Colorado Foxes make it to the conference se...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (open_cup VARCHAR, playoffs VARCHAR, year VARCHAR) Question: In 2012, which round in the Open Cup did Real Colorado Foxes make it to the conference semifina...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (date VARCHAR, tournament VARCHAR) Question: On what date was the gte north classic tournament? [/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_81 (date VARCHAR, tournament VARCHAR) Question: On what date was the gte north classic tournament? Here is the SQLite query to answer to the question: On what...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (date VARCHAR, winner VARCHAR) Question: When did Scott Hoch (2) win? [/INST] Here is the SQLite query to answer to the question: When did Scott Hoch ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (date VARCHAR, winner VARCHAR) Question: When did Scott Hoch (2) win? Here is the SQLite query to answer to the question: When did Scott Hoch (2) win?: ```...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (record VARCHAR, high_rebounds VARCHAR) Question: What is the Record when antonio davis (14) had the high rebounds? [/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_name_37 (record VARCHAR, high_rebounds VARCHAR) Question: What is the Record when antonio davis (14) had the high rebounds? 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_29217650_1 (movies VARCHAR, december_25 VARCHAR) Question: What film earmed p3.2 million on December 25? [/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_29217650_1 (movies VARCHAR, december_25 VARCHAR) Question: What film earmed p3.2 million on December 25? Here is the SQLite query to answer to the question: What 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_29 (silver INTEGER, rank VARCHAR, bronze VARCHAR) Question: How much Silver has a Rank of 1, and a Bronze smaller than 3? [/INST] Here is the SQLite quer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (silver INTEGER, rank VARCHAR, bronze VARCHAR) Question: How much Silver has a Rank of 1, and a Bronze smaller than 3? Here is the SQLite query to answer t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) Question: Who did Collingwood play at home? [/INST] Here is the SQLite query to answer to the question: Who did...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) Question: Who did Collingwood play at home? Here is the SQLite query to answer to the question: Who did Collingwood ...
bugdaryan/sql-create-context-instruction
[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 (round INTEGER, position VARCHAR) Question: What is the lowest round that a pick had a position of ls? [/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_26 (round INTEGER, position VARCHAR) Question: What is the lowest round that a pick had a position of ls? 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_1341577_50 (candidates VARCHAR, first_elected VARCHAR) Question: Who were the candidates that ran when Jim Moody was up for reelection after 1982? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341577_50 (candidates VARCHAR, first_elected VARCHAR) Question: Who were the candidates that ran when Jim Moody was up for reelection after 1982? 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_name_54 (year VARCHAR, binibining_pilipinas_international VARCHAR) Question: Which Year has a Binibining Pilipinas International of alma concepcion? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (year VARCHAR, binibining_pilipinas_international VARCHAR) Question: Which Year has a Binibining Pilipinas International of alma concepcion? Here is the SQ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (high_points VARCHAR, team VARCHAR) Question: Name the high points for charlotte [/INST] Here is the SQLite query to answer to the question: Name the h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (high_points VARCHAR, team VARCHAR) Question: Name the high points for charlotte Here is the SQLite query to answer to the question: Name the high points fo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21284653_1 (name VARCHAR, population_density VARCHAR) Question: What is the only city name with a population density of 200? [/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_21284653_1 (name VARCHAR, population_density VARCHAR) Question: What is the only city name with a population density of 200? 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_83 (silver INTEGER, total VARCHAR) Question: How many silvers are there with a total of 11? [/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_83 (silver INTEGER, total VARCHAR) Question: How many silvers are there with a total of 11? Here is the SQLite query to answer to the question: How many silve...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21350772_2 (gas_name VARCHAR) Question: What is the 20 year for Sulfur Hexafluoride? [/INST] Here is the SQLite query to answer to the question: What is the 2...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21350772_2 (gas_name VARCHAR) Question: What is the 20 year for Sulfur Hexafluoride? Here is the SQLite query to answer to the question: What is the 20 year for Su...
bugdaryan/sql-create-context-instruction
[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 (votes VARCHAR, notes VARCHAR) Question: How many votes were cast when the notes reported lost to incumbent vic gilliam? [/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_name_51 (votes VARCHAR, notes VARCHAR) Question: How many votes were cast when the notes reported lost to incumbent vic gilliam? 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_95 (goals_for INTEGER, played INTEGER) Question: Which lowest goals for number had a played number of less than 34? [/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_95 (goals_for INTEGER, played INTEGER) Question: Which lowest goals for number had a played number of less than 34? 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_19 (goals_for INTEGER, played VARCHAR, lost VARCHAR, drawn VARCHAR, goals_against VARCHAR) Question: What are the average goals for with a drawn higher t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (goals_for INTEGER, played VARCHAR, lost VARCHAR, drawn VARCHAR, goals_against VARCHAR) Question: What are the average goals for with a drawn higher than 7 ...
bugdaryan/sql-create-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 (Gender VARCHAR, Occupation VARCHAR) Question: What are the gender and occupation of players? [/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 player (Gender VARCHAR, Occupation VARCHAR) Question: What are the gender and occupation of players? Here is the SQLite query to answer to the question: What are the gen...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30062172_3 (gt3_winner VARCHAR, pole_position VARCHAR) Question: When tim bridgman gregor fisken is the pole position who is the gt3 winner? [/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_30062172_3 (gt3_winner VARCHAR, pole_position VARCHAR) Question: When tim bridgman gregor fisken is the pole position who is the gt3 winner? 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_96 (class VARCHAR, city_of_license VARCHAR) Question: What was the class for Appleton, Wisconsin? [/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_96 (class VARCHAR, city_of_license VARCHAR) Question: What was the class for Appleton, Wisconsin? Here is the SQLite query to answer to the question: What was...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25794532_1 (series VARCHAR, points VARCHAR) Question: Name the series for 68 [/INST] Here is the SQLite query to answer to the question: Name the series for 6...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25794532_1 (series VARCHAR, points VARCHAR) Question: Name the series for 68 Here is the SQLite query to answer to the question: Name the series for 68: ``` 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_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR) Question: Name the average econ for runs more than 703 and ovrs more than 25.5 [/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_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR) Question: Name the average econ for runs more than 703 and ovrs more than 25.5 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_42 (rank_points VARCHAR, score_points VARCHAR) Question: Which Rank points has a Score points of olympic silver medalist? [/INST] Here is the SQLite quer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (rank_points VARCHAR, score_points VARCHAR) Question: Which Rank points has a Score points of olympic silver medalist? Here is the SQLite query to answer t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (record VARCHAR, nationality VARCHAR) Question: What's the record of Barbados? [/INST] Here is the SQLite query to answer to the question: What's the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (record VARCHAR, nationality VARCHAR) Question: What's the record of Barbados? Here is the SQLite query to answer to the question: What's the record of Bar...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (Id VARCHAR) Question: What was the 2007 result for a 2008 result of 1R and 2009 result of 2R? [/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_47 (Id VARCHAR) Question: What was the 2007 result for a 2008 result of 1R and 2009 result of 2R? Here is the SQLite query to answer to the question: What was...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR) Question: What's the version of the 1.0.12 release? [/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_28540539_2 (version VARCHAR, release VARCHAR) Question: What's the version of the 1.0.12 release? Here is the SQLite query to answer to the question: What's the ve...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (name VARCHAR, type VARCHAR) Question: What bridge is a pratt pony through truss tyoe bridge? [/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_4 (name VARCHAR, type VARCHAR) Question: What bridge is a pratt pony through truss tyoe bridge? Here is the SQLite query to answer to the question: What bridg...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17311759_4 (score VARCHAR, team VARCHAR) Question: What are the scores made by Charlotte team [/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_17311759_4 (score VARCHAR, team VARCHAR) Question: What are the scores made by Charlotte team Here is the SQLite query to answer to the question: What are the scor...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23649244_2 (mix_pack VARCHAR, artist_2 VARCHAR) Question: What is the mix pack when the artist 2 is Eminem? [/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_23649244_2 (mix_pack VARCHAR, artist_2 VARCHAR) Question: What is the mix pack when the artist 2 is Eminem? 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_8 (place INTEGER, country VARCHAR, time VARCHAR) Question: When the United Kingdom had a time of 1:30.51.2, what was the lowest that they ranked? [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (place INTEGER, country VARCHAR, time VARCHAR) Question: When the United Kingdom had a time of 1:30.51.2, what was the lowest that they ranked? 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_27374740_1 (no_in_season INTEGER, directed_by VARCHAR) Question: What number episode in the season was directed by Paul Adelstein? [/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_27374740_1 (no_in_season INTEGER, directed_by VARCHAR) Question: What number episode in the season was directed by Paul Adelstein? 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_26 (tie_no VARCHAR, away_team VARCHAR) Question: What is the Tie no for Away Team Ipswich Town? [/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_26 (tie_no VARCHAR, away_team VARCHAR) Question: What is the Tie no for Away Team Ipswich Town? Here is the SQLite query to answer to the question: What is th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR) Question: What League's Round is Sup and Position is Right Wing? [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR) Question: What League's Round is Sup and Position is Right Wing? Here is the S...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29012710_1 (province VARCHAR, number_of_dairy_farms VARCHAR) Question: what is the location where there are over 200 cattle businesses [/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_29012710_1 (province VARCHAR, number_of_dairy_farms VARCHAR) Question: what is the location where there are over 200 cattle businesses 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_11 (height VARCHAR, player VARCHAR) Question: How tall is nerlens noel? [/INST] Here is the SQLite query to answer to the question: How tall is nerlens n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (height VARCHAR, player VARCHAR) Question: How tall is nerlens noel? Here is the SQLite query to answer to the question: How tall is nerlens noel?: ``` SEL...
bugdaryan/sql-create-context-instruction
[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 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR, time_retired VARCHAR) Question: What constructor has under 62 laps, a Time/Retired o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR, time_retired VARCHAR) Question: What constructor has under 62 laps, a Time/Retired of gear...
bugdaryan/sql-create-context-instruction
[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 (time_retired VARCHAR, driver VARCHAR) Question: What was John Watson's time/retired? [/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_46 (time_retired VARCHAR, driver VARCHAR) Question: What was John Watson's time/retired? Here is the SQLite query to answer to the question: What was John Wat...
bugdaryan/sql-create-context-instruction
[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 (fleet_number_s_ VARCHAR, quantity_made VARCHAR) Question: What is the fleet number of the locomotive with 1 quantity made? [/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_59 (fleet_number_s_ VARCHAR, quantity_made VARCHAR) Question: What is the fleet number of the locomotive with 1 quantity made? 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_8 (median_family_income VARCHAR, median_household_income VARCHAR) Question: What is the Median family income when the Median household income is $38,137?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (median_family_income VARCHAR, median_household_income VARCHAR) Question: What is the Median family income when the Median household income is $38,137? 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_14 (selsdon VARCHAR, coombe_road VARCHAR) Question: What is the Selsdon for the 17:19 Coombe Road? [/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_14 (selsdon VARCHAR, coombe_road VARCHAR) Question: What is the Selsdon for the 17:19 Coombe Road? Here is the SQLite query to answer to the question: What is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (round INTEGER, pick VARCHAR, nationality VARCHAR, draft VARCHAR) Question: What round had Canada with a draft of 1970 and a pick of 7? [/INST] Here i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (round INTEGER, pick VARCHAR, nationality VARCHAR, draft VARCHAR) Question: What round had Canada with a draft of 1970 and a pick of 7? 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_8 (language VARCHAR, percentage___percentage_ VARCHAR) Question: Which language has the percentage of 2.54? [/INST] Here is the SQLite query to answer to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (language VARCHAR, percentage___percentage_ VARCHAR) Question: Which language has the percentage of 2.54? 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_97 (other_mozilla VARCHAR, opera VARCHAR) Question: What percentage of users were using other Mozilla browsers during the period in which 2.29% were usin...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (other_mozilla VARCHAR, opera VARCHAR) Question: What percentage of users were using other Mozilla browsers during the period in which 2.29% were using Oper...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE GENRE (Name VARCHAR) Question: List the names of all music genres. [/INST] Here is the SQLite query to answer to the question: List the names of all music genres.: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE GENRE (Name VARCHAR) Question: List the names of all music genres. Here is the SQLite query to answer to the question: List the names of all music genres.: ``` SELECT Na...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (date VARCHAR, home_team VARCHAR) Question: What day is essendon the home team? [/INST] Here is the SQLite query to answer to the question: What day i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (date VARCHAR, home_team VARCHAR) Question: What day is essendon the home team? Here is the SQLite query to answer to the question: What day is essendon 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_85 (visitor VARCHAR, date VARCHAR) Question: What team was visiting on February 15? [/INST] Here is the SQLite query to answer to the question: What team...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (visitor VARCHAR, date VARCHAR) Question: What team was visiting on February 15? Here is the SQLite query to answer to the question: What team was visiting...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, year VARCHAR, mID VARCHAR) Question: What are the names and years of the movies that has the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, year VARCHAR, mID VARCHAR) Question: What are the names and years of the movies that has the top 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_80 (driver VARCHAR, grid VARCHAR) Question: what driver has 12 in grid? [/INST] Here is the SQLite query to answer to the question: what driver has 12 in...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (driver VARCHAR, grid VARCHAR) Question: what driver has 12 in grid? Here is the SQLite query to answer to the question: what driver has 12 in grid?: ``` 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_56 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the average total of Italy and has a bronze larger than 1? [/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_56 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the average total of Italy and has a bronze larger than 1? 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_52 (games INTEGER, years VARCHAR, ranking VARCHAR) Question: What is the average Games for 1965–1981, and a Ranking larger than 4? [/INST] Here is the SQ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (games INTEGER, years VARCHAR, ranking VARCHAR) Question: What is the average Games for 1965–1981, and a Ranking larger than 4? 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_58 (champion VARCHAR, city VARCHAR) Question: Which player from Tucson, Arizona won the Championship? [/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_58 (champion VARCHAR, city VARCHAR) Question: Which player from Tucson, Arizona won the Championship? Here is the SQLite query to answer to the question: Whic...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent on april 26, 2003? [/INST] Here is the SQLite query to answer to the question: Who was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent on april 26, 2003? Here is the SQLite query to answer to the question: Who was the opponent...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR) Question: What is the home team's score when richmond is away? [/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_87 (home_team VARCHAR, away_team VARCHAR) Question: What is the home team's score when richmond is away? 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 professor (prof_office VARCHAR, emp_num VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CRE...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (wins VARCHAR, year VARCHAR) Question: How many wins in 1992? [/INST] Here is the SQLite query to answer to the question: How many wins in 1992?: ``` ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (wins VARCHAR, year VARCHAR) Question: How many wins in 1992? Here is the SQLite query to answer to the question: How many wins in 1992?: ``` SELECT wins 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 airlines (country VARCHAR) Question: How many airlines does Russia has? [/INST] Here is the SQLite query to answer to the question: How many airlines does Russia ha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE airlines (country VARCHAR) Question: How many airlines does Russia has? Here is the SQLite query to answer to the question: How many airlines does Russia has?: ``` SELEC...
bugdaryan/sql-create-context-instruction
[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 (name VARCHAR, score VARCHAR) Question: What is the name with a Score of 6–3, 6–3? [/INST] Here is the SQLite query to answer to the question: What is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (name VARCHAR, score VARCHAR) Question: What is the name with a Score of 6–3, 6–3? Here is the SQLite query to answer to the question: What is the name wit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (bowling_style VARCHAR, first_class_team VARCHAR, date_of_birth VARCHAR) Question: What is the bowling style of the player whose first class team is I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (bowling_style VARCHAR, first_class_team VARCHAR, date_of_birth VARCHAR) Question: What is the bowling style of the player whose first class team is Islamab...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27537518_6 (first_star VARCHAR, record VARCHAR) Question: Who was the first star of the game with record of 17-11-5? [/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_27537518_6 (first_star VARCHAR, record VARCHAR) Question: Who was the first star of the game with record of 17-11-5? 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_22903773_2 (date VARCHAR, record VARCHAR) Question: What game date had a record of 17-7? [/INST] Here is the SQLite query to answer to the question: What game...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22903773_2 (date VARCHAR, record VARCHAR) Question: What game date had a record of 17-7? Here is the SQLite query to answer to the question: What game date had 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_name_55 (site VARCHAR, date VARCHAR) Question: Where was the sport played on September 10, 2010? [/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_55 (site VARCHAR, date VARCHAR) Question: Where was the sport played on September 10, 2010? Here is the SQLite query to answer to the question: Where was the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11254821_2 (points_awarded__platinum_ VARCHAR, points_awarded__gold_ VARCHAR) Question: How many platinum points were awarded when 9 gold points were awarded?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11254821_2 (points_awarded__platinum_ VARCHAR, points_awarded__gold_ VARCHAR) Question: How many platinum points were awarded when 9 gold points were awarded? 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_28466323_2 (written_by VARCHAR, production_code VARCHAR) Question: Who wrote the episode with production code 2j5568? [/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_28466323_2 (written_by VARCHAR, production_code VARCHAR) Question: Who wrote the episode with production code 2j5568? 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_8 (date VARCHAR, crowd INTEGER) Question: On what Date is the Crowd larger than 17,000? [/INST] Here is the SQLite query to answer to the question: On wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (date VARCHAR, crowd INTEGER) Question: On what Date is the Crowd larger than 17,000? Here is the SQLite query to answer to the question: On what Date 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_50 (points_for VARCHAR, points_against VARCHAR) Question: With a club that has 400 Points against, what are the points? [/INST] Here is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (points_for VARCHAR, points_against VARCHAR) Question: With a club that has 400 Points against, what are the points? 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_50 (pba_team VARCHAR, college VARCHAR) Question: What is the pba team for the player who went to santo tomas college? [/INST] Here is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (pba_team VARCHAR, college VARCHAR) Question: What is the pba team for the player who went to santo tomas college? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction