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 Project_Staff (project_id VARCHAR); CREATE TABLE Projects (project_id VARCHAR) Question: How many staff does each project has? List the project id and the number in...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Project_Staff (project_id VARCHAR); CREATE TABLE Projects (project_id VARCHAR) Question: How many staff does each project has? List the project id and the number in an as...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17869717_1 (week VARCHAR, date VARCHAR) Question: In how many weeks was the game played on November 3 played? [/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_17869717_1 (week VARCHAR, date VARCHAR) Question: In how many weeks was the game played on November 3 played? Here is the SQLite query to answer to the question: I...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (week INTEGER, attendance VARCHAR) Question: What week had 58,025 in attendance? [/INST] Here is the SQLite query to answer to the question: What week...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (week INTEGER, attendance VARCHAR) Question: What week had 58,025 in attendance? Here is the SQLite query to answer to the question: What week had 58,025 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 (date VARCHAR, opponent VARCHAR, venue VARCHAR) Question: When was Leyton Orient an away team? [/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_68 (date VARCHAR, opponent VARCHAR, venue VARCHAR) Question: When was Leyton Orient an away team? Here is the SQLite query to answer to the question: When 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 airports (name VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR) Question: Find the number of routes for each source airport and the airport name. [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE airports (name VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR) Question: Find the number of routes for each source airport and the airport name. Here is t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR) Question: Who was Footscray's opponent on June 15th of 1968? [/INST] Here is the SQLite query to answer to the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR) Question: Who was Footscray's opponent on June 15th of 1968? Here is the SQLite query to answer to the question: Who...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE player_college (college_id VARCHAR); CREATE TABLE college (name_full VARCHAR, college_id VARCHAR) Question: what is the full name and id of the college with the lar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE player_college (college_id VARCHAR); CREATE TABLE college (name_full VARCHAR, college_id VARCHAR) Question: what is the full name and id of the college with the largest 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_26 (manufacturer VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) Question: Name the manufacturer for grid more than 18 and laps more than 1 wi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (manufacturer VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) Question: Name the manufacturer for grid more than 18 and laps more than 1 with tir...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24143253_2 (cause_of_death VARCHAR, name VARCHAR) Question: How did Stella Farentino die? [/INST] Here is the SQLite query to answer to the question: How did ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24143253_2 (cause_of_death VARCHAR, name VARCHAR) Question: How did Stella Farentino die? Here is the SQLite query to answer to the question: How did Stella Farent...
bugdaryan/sql-create-context-instruction
[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 (driver VARCHAR, entrant VARCHAR) Question: Who is the drive for an Entrant of Scuderia Ambrosiana? [/INST] Here is the SQLite query to answer to the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (driver VARCHAR, entrant VARCHAR) Question: Who is the drive for an Entrant of Scuderia Ambrosiana? Here is the SQLite query to answer to the question: Who...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE trip (bike_id VARCHAR) Question: From the trip record, find the number of unique bikes. [/INST] Here is the SQLite query to answer to the question: From the trip re...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE trip (bike_id VARCHAR) Question: From the trip record, find the number of unique bikes. Here is the SQLite query to answer to the question: From the trip record, find 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_66 (artist VARCHAR, draw VARCHAR, english_translation VARCHAR) Question: Can you tell me the Artist that has the Draw smaller than 16, and the English tr...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (artist VARCHAR, draw VARCHAR, english_translation VARCHAR) Question: Can you tell me the Artist that has the Draw smaller than 16, and the English translat...
bugdaryan/sql-create-context-instruction
[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 (population INTEGER, area__km²_ VARCHAR) Question: What is the smallest population with an Area (km²) of 1115.4? [/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_72 (population INTEGER, area__km²_ VARCHAR) Question: What is the smallest population with an Area (km²) of 1115.4? 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_14563349_11 (opponent VARCHAR, location VARCHAR) Question: Who was the opposing team played at Riverfront Stadium? [/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_14563349_11 (opponent VARCHAR, location VARCHAR) Question: Who was the opposing team played at Riverfront Stadium? 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_17928023_1 (attendance VARCHAR, week VARCHAR) Question: What is the attendance record for week 6? [/INST] Here is the SQLite query to answer to the question: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17928023_1 (attendance VARCHAR, week VARCHAR) Question: What is the attendance record for week 6? Here is the SQLite query to answer to the question: What is the 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_77 (competition VARCHAR, total VARCHAR) Question: Which competition led to a total weight of 428kg? [/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_77 (competition VARCHAR, total VARCHAR) Question: Which competition led to a total weight of 428kg? Here is the SQLite query to answer to the question: Which ...
bugdaryan/sql-create-context-instruction
[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 (rank VARCHAR, floors VARCHAR) Question: What ranking is the structure with 01.0 87 floors? [/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_51 (rank VARCHAR, floors VARCHAR) Question: What ranking is the structure with 01.0 87 floors? Here is the SQLite query to answer to the question: What rankin...
bugdaryan/sql-create-context-instruction
[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 (title VARCHAR, label VARCHAR) Question: What was the title for the label mother / mvp / polydor? [/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_80 (title VARCHAR, label VARCHAR) Question: What was the title for the label mother / mvp / polydor? 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_254234_1 (abbreviation_symbol VARCHAR, chinese_name VARCHAR) Question: What is the abbreviation/symbol of 辽宁省 liáoníng shěng? [/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_254234_1 (abbreviation_symbol VARCHAR, chinese_name VARCHAR) Question: What is the abbreviation/symbol of 辽宁省 liáoníng shěng? 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_64 (opponent VARCHAR, result VARCHAR) Question: Who was the opponent when the result was L 0-14? [/INST] Here is the SQLite query to answer to the questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR) Question: Who was the opponent when the result was L 0-14? Here is the SQLite query to answer to the question: Who was 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_77 (song VARCHAR, place VARCHAR, draw VARCHAR) Question: What song is later than place 2 and has a draw number of 1? [/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_77 (song VARCHAR, place VARCHAR, draw VARCHAR) Question: What song is later than place 2 and has a draw number of 1? 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_28628309_6 (average VARCHAR, totals VARCHAR) Question: How many items appear in the average column when the totals were 105-161? [/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_28628309_6 (average VARCHAR, totals VARCHAR) Question: How many items appear in the average column when the totals were 105-161? 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_2562572_54 (population__2011_ INTEGER, settlement VARCHAR) Question: What is the lowest population in 2011 for the settlement of čortanovci? [/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_2562572_54 (population__2011_ INTEGER, settlement VARCHAR) Question: What is the lowest population in 2011 for the settlement of čortanovci? 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_7 (icao VARCHAR, country VARCHAR, iata VARCHAR) Question: What is the ICAO for Denmark, and the IATA is bll? [/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_7 (icao VARCHAR, country VARCHAR, iata VARCHAR) Question: What is the ICAO for Denmark, and the IATA is bll? 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_25 (score VARCHAR, date VARCHAR) Question: What was the score on January 16, 2010? [/INST] Here is the SQLite query to answer to the question: What was t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR) Question: What was the score on January 16, 2010? Here is the SQLite query to answer to the question: What was the score on J...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15366768_1 (element VARCHAR, isotopic_mass___u__ VARCHAR) Question: What is the name of the element with isotopic mass of 158.925 34(2)? [/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_15366768_1 (element VARCHAR, isotopic_mass___u__ VARCHAR) Question: What is the name of the element with isotopic mass of 158.925 34(2)? 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_43 (high_rebounds VARCHAR, team VARCHAR) Question: What is the High rebounds of washington Team? [/INST] Here is the SQLite query to answer to the questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (high_rebounds VARCHAR, team VARCHAR) Question: What is the High rebounds of washington Team? 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_17900317_5 (Id VARCHAR) Question: Name the most 4/inns [/INST] Here is the SQLite query to answer to the question: Name the most 4/inns: ``` SELECT MAX(4 AS _...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17900317_5 (Id VARCHAR) Question: Name the most 4/inns Here is the SQLite query to answer to the question: Name the most 4/inns: ``` SELECT MAX(4 AS _inns) FROM ta...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1558077_2 (mass__kg_ INTEGER) Question: What is the largest mass(kg)? [/INST] Here is the SQLite query to answer to the question: What is the largest mass(kg)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1558077_2 (mass__kg_ INTEGER) Question: What is the largest mass(kg)? Here is the SQLite query to answer to the question: What is the largest mass(kg)?: ``` 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_1 (score VARCHAR, date VARCHAR) Question: Name th score for may 11, 2003 [/INST] Here is the SQLite query to answer to the question: Name th score for ma...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR) Question: Name th score for may 11, 2003 Here is the SQLite query to answer to the question: Name th score for may 11, 2003: `...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19130829_4 (team__number1 VARCHAR) Question: What's the 1st leg result in the round where team #1 is Iraklis? [/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_19130829_4 (team__number1 VARCHAR) Question: What's the 1st leg result in the round where team #1 is Iraklis? 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_20 (plural_word VARCHAR, singular_word VARCHAR) Question: The singular word of hand uses what plural word? [/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_20 (plural_word VARCHAR, singular_word VARCHAR) Question: The singular word of hand uses what plural word? 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_2512935_8 (original_language VARCHAR, book_series VARCHAR) Question: What is every original language for book series Little House on the Prairie? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2512935_8 (original_language VARCHAR, book_series VARCHAR) Question: What is every original language for book series Little House on the Prairie? 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_29 (nhl_team VARCHAR, player VARCHAR) Question: What is the NHL team of dave murphy? [/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_29 (nhl_team VARCHAR, player VARCHAR) Question: What is the NHL team of dave murphy? Here is the SQLite query to answer to the question: What is the NHL team ...
bugdaryan/sql-create-context-instruction
[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 (country VARCHAR, swimsuit VARCHAR) Question: What is the country of the contestant with a swimsuit of 9.46? [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (country VARCHAR, swimsuit VARCHAR) Question: What is the country of the contestant with a swimsuit of 9.46? 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_11642945_1 (viewers VARCHAR, director VARCHAR) Question: Which viewers had Matt Gallagher as the director? [/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_11642945_1 (viewers VARCHAR, director VARCHAR) Question: Which viewers had Matt Gallagher as the director? 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_11 (status VARCHAR, monarch VARCHAR, reason VARCHAR) Question: What is the Status when Henry I is the Monarch and the Reason is succession unclear 1100-1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (status VARCHAR, monarch VARCHAR, reason VARCHAR) Question: What is the Status when Henry I is the Monarch and the Reason is succession unclear 1100-1103? ...
bugdaryan/sql-create-context-instruction
[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 (airport VARCHAR, iata VARCHAR) Question: Name the airport with IATA of cxb [/INST] Here is the SQLite query to answer to the question: Name the airpo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (airport VARCHAR, iata VARCHAR) Question: Name the airport with IATA of cxb Here is the SQLite query to answer to the question: Name the airport with IATA ...
bugdaryan/sql-create-context-instruction
[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 (points VARCHAR, english_translation VARCHAR, draw VARCHAR) Question: What's the total number of points when the English translation is Long Live Life...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (points VARCHAR, english_translation VARCHAR, draw VARCHAR) Question: What's the total number of points when the English translation is Long Live Life and t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (draw INTEGER, place VARCHAR) Question: What is the greatest draw that has 4th for place? [/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_62 (draw INTEGER, place VARCHAR) Question: What is the greatest draw that has 4th for place? Here is the SQLite query to answer to the question: What is the g...
bugdaryan/sql-create-context-instruction
[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 (record VARCHAR, attendance VARCHAR) Question: What was the Indians record during the game that had 19,823 fans attending? [/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_75 (record VARCHAR, attendance VARCHAR) Question: What was the Indians record during the game that had 19,823 fans attending? 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_52 (date VARCHAR, record VARCHAR) Question: When has a Record of 1–0? [/INST] Here is the SQLite query to answer to the question: When has a Record of 1–...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (date VARCHAR, record VARCHAR) Question: When has a Record of 1–0? Here is the SQLite query to answer to the question: When has a Record of 1–0?: ``` 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_30 (location_attendance VARCHAR, game VARCHAR) Question: How many people attended game 42? [/INST] Here is the SQLite query to answer to the question: Ho...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (location_attendance VARCHAR, game VARCHAR) Question: How many people attended game 42? Here is the SQLite query to answer to the question: How many people...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, week VARCHAR, result VARCHAR) Question: Which opponent has a week smaller than 15, and a Result of l 23-17? [/INST] Here is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (opponent VARCHAR, week VARCHAR, result VARCHAR) Question: Which opponent has a week smaller than 15, and a Result of l 23-17? 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 (score_in_the_final VARCHAR, tournament VARCHAR) Question: What score in the final had a tournament of $25,000 Glasgow, Great Britain? [/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_82 (score_in_the_final VARCHAR, tournament VARCHAR) Question: What score in the final had a tournament of $25,000 Glasgow, Great Britain? 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_6 (finish VARCHAR, start VARCHAR, year VARCHAR) Question: WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969? [/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_6 (finish VARCHAR, start VARCHAR, year VARCHAR) Question: WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969? 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 customer_orders (customer_id VARCHAR, order_status VARCHAR) Question: How many customers have at least one order with status "Cancelled"? [/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 customer_orders (customer_id VARCHAR, order_status VARCHAR) Question: How many customers have at least one order with status "Cancelled"? 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_32 (points INTEGER, performer VARCHAR, draw VARCHAR) Question: Which Points has a Performer of rob burke band and a Draw larger than 1? [/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_32 (points INTEGER, performer VARCHAR, draw VARCHAR) Question: Which Points has a Performer of rob burke band and a Draw larger than 1? 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_10360823_1 (overall INTEGER, college VARCHAR) Question: Which overall pick number went to college at Youngstown State? [/INST] Here is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10360823_1 (overall INTEGER, college VARCHAR) Question: Which overall pick number went to college at Youngstown State? Here is the SQLite query to answer to the qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR) Question: Which Grid has a Driver of johnny dumfries? [/INST] Here is the SQLite query to answer to the question: Which...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR) Question: Which Grid has a Driver of johnny dumfries? Here is the SQLite query to answer to the question: Which Grid has a D...
bugdaryan/sql-create-context-instruction
[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 (attendance INTEGER, loss VARCHAR) Question: WHICH Attendance that has a Loss of paniagua (3–3)? [/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_99 (attendance INTEGER, loss VARCHAR) Question: WHICH Attendance that has a Loss of paniagua (3–3)? Here is the SQLite query to answer to the question: WHICH ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11677691_3 (school VARCHAR, position VARCHAR, college VARCHAR) Question: Running back Aaron Green went to Nebraska and what high school? [/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_11677691_3 (school VARCHAR, position VARCHAR, college VARCHAR) Question: Running back Aaron Green went to Nebraska and what high school? 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_16457934_4 (Id VARCHAR) Question: what is the minimum of 60 -64? [/INST] Here is the SQLite query to answer to the question: what is the minimum of 60 -64?: `...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16457934_4 (Id VARCHAR) Question: what is the minimum of 60 -64? Here is the SQLite query to answer to the question: what is the minimum of 60 -64?: ``` SELECT MIN...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (rank VARCHAR, total VARCHAR, silver VARCHAR) Question: Which Rank has a Total larger than 17, and a Silver smaller than 13? [/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_94 (rank VARCHAR, total VARCHAR, silver VARCHAR) Question: Which Rank has a Total larger than 17, and a Silver smaller than 13? 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_25084227_1 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR) Question: If the episode was directed by Michael Offer, how many US Viewers watched it? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25084227_1 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR) Question: If the episode was directed by Michael Offer, how many US Viewers watched it? Here is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341663_26 (first_elected INTEGER, district VARCHAR) Question: When was the first elected for district missouri 7? [/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_1341663_26 (first_elected INTEGER, district VARCHAR) Question: When was the first elected for district missouri 7? 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_85 (bronze INTEGER, silver VARCHAR, gold VARCHAR) Question: What is the total bronze with a Silver of 2, and a Gold smaller than 0? [/INST] Here is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (bronze INTEGER, silver VARCHAR, gold VARCHAR) Question: What is the total bronze with a Silver of 2, and a Gold smaller than 0? 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_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR) Question: What was the report for the Sunday race where the winner had an average speed ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR) Question: What was the report for the Sunday race where the winner had an average speed of 128...
bugdaryan/sql-create-context-instruction
[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 (location VARCHAR, date_of_demolition VARCHAR, church_name VARCHAR) Question: What is the location that has a date of demolition of 1940 and has a chu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (location VARCHAR, date_of_demolition VARCHAR, church_name VARCHAR) Question: What is the location that has a date of demolition of 1940 and has a church 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_20898602_1 (position VARCHAR, player VARCHAR) Question: howe many positions did wallace, mike mike wallace play for [/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_20898602_1 (position VARCHAR, player VARCHAR) Question: howe many positions did wallace, mike mike wallace play for 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_22897967_1 (callback_date VARCHAR, audition_venue VARCHAR) Question: Name the callback date for amway arena [/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_22897967_1 (callback_date VARCHAR, audition_venue VARCHAR) Question: Name the callback date for amway arena Here is the SQLite query to answer to the question: Nam...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (location_attendance VARCHAR, high_points VARCHAR) Question: What is Location Attendance, when High Points is "Allen Iverson (23)"? [/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_98 (location_attendance VARCHAR, high_points VARCHAR) Question: What is Location Attendance, when High Points is "Allen Iverson (23)"? 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_61 (displacement VARCHAR, year VARCHAR, torque VARCHAR) Question: What displacement is the model in 1999 with a Torque of 280n·m (207lb·ft) @ 1750? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (displacement VARCHAR, year VARCHAR, torque VARCHAR) Question: What displacement is the model in 1999 with a Torque of 280n·m (207lb·ft) @ 1750? Here is th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (loss VARCHAR, opponent VARCHAR, date VARCHAR) Question: Which loss has an Opponent of @ angels, and a Date of august 1? [/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_47 (loss VARCHAR, opponent VARCHAR, date VARCHAR) Question: Which loss has an Opponent of @ angels, and a Date of august 1? 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_51 (week_3_sept_8 VARCHAR, week_2_sept_2 VARCHAR) Question: What is listed for the Week 3 Sept 8 that has a Week 2 Sept 2 of Florida State (2-0) (4)? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (week_3_sept_8 VARCHAR, week_2_sept_2 VARCHAR) Question: What is listed for the Week 3 Sept 8 that has a Week 2 Sept 2 of Florida State (2-0) (4)? Here is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (Id VARCHAR) Question: What is the 2007 value at the 2012 Grand Slam Tournaments? [/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_26 (Id VARCHAR) Question: What is the 2007 value at the 2012 Grand Slam Tournaments? Here is the SQLite query to answer to the question: What is the 2007 valu...
bugdaryan/sql-create-context-instruction
[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 (last_10_meetings VARCHAR, at_norman VARCHAR) Question: What is the Last 10 Meetings when Norman is ou, 18-6? [/INST] Here is the SQLite query to answ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (last_10_meetings VARCHAR, at_norman VARCHAR) Question: What is the Last 10 Meetings when Norman is ou, 18-6? 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_77 (date VARCHAR, loser VARCHAR, result VARCHAR) Question: Which date had a loser of New York Giants and a result of 23-17? [/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_77 (date VARCHAR, loser VARCHAR, result VARCHAR) Question: Which date had a loser of New York Giants and a result of 23-17? 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_28 (draws INTEGER, byes VARCHAR, wins VARCHAR, peel VARCHAR) Question: Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (draws INTEGER, byes VARCHAR, wins VARCHAR, peel VARCHAR) Question: Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0? 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_name_86 (builder VARCHAR, works_number VARCHAR) Question: Which Builder has a Works Number of 16272? [/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_86 (builder VARCHAR, works_number VARCHAR) Question: Which Builder has a Works Number of 16272? Here is the SQLite query to answer to the question: Which Buil...
bugdaryan/sql-create-context-instruction
[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 (first_elected INTEGER, district VARCHAR) Question: What is the average first elected for the district South Carolina 2? [/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_75 (first_elected INTEGER, district VARCHAR) Question: What is the average first elected for the district South Carolina 2? 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_59 (team_from VARCHAR, pick__number VARCHAR) Question: Which Team has a Pick # of 148? [/INST] Here is the SQLite query to answer to the question: Which ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (team_from VARCHAR, pick__number VARCHAR) Question: Which Team has a Pick # of 148? Here is the SQLite query to answer to the question: Which Team has a Pi...
bugdaryan/sql-create-context-instruction
[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 (power__kw_ VARCHAR, location VARCHAR) Question: What is the Davao's power (kW)? [/INST] Here is the SQLite query to answer to the question: What is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (power__kw_ VARCHAR, location VARCHAR) Question: What is the Davao's power (kW)? Here is the SQLite query to answer to the question: What is the Davao's po...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR) Question: Name the greek modern for słyszałeś był / słyszałaś była [/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_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR) Question: Name the greek modern for słyszałeś był / słyszałaś była 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_67 (team VARCHAR, rate VARCHAR) Question: What team has a 94.1 rating? [/INST] Here is the SQLite query to answer to the question: What team has a 94.1 r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (team VARCHAR, rate VARCHAR) Question: What team has a 94.1 rating? Here is the SQLite query to answer to the question: What team has a 94.1 rating?: ``` 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_7 (season VARCHAR, races INTEGER) Question: What is Season, when Races is less than 16? [/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_7 (season VARCHAR, races INTEGER) Question: What is Season, when Races is less than 16? Here is the SQLite query to answer to the question: What is Season, wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (blackpool INTEGER, draw VARCHAR, preston_north_end VARCHAR, competition VARCHAR) Question: Which Blackpool has a Preston North End smaller than 46, a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (blackpool INTEGER, draw VARCHAR, preston_north_end VARCHAR, competition VARCHAR) Question: Which Blackpool has a Preston North End smaller than 46, and a 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_37 (france VARCHAR, _percentage_people_under_18__2005_ VARCHAR) Question: WHAT IS THE FRANCE WITH PEOPLE UNDER 18 OF SUB-SAHARAN AFRICA? [/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_37 (france VARCHAR, _percentage_people_under_18__2005_ VARCHAR) Question: WHAT IS THE FRANCE WITH PEOPLE UNDER 18 OF SUB-SAHARAN AFRICA? 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_12 (position VARCHAR, player VARCHAR) Question: What Position did Aaron Williams play? [/INST] Here is the SQLite query to answer to the question: What P...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (position VARCHAR, player VARCHAR) Question: What Position did Aaron Williams play? Here is the SQLite query to answer to the question: What Position did 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_2 (days_held VARCHAR, reign VARCHAR, wrestlers VARCHAR) Question: What days held has 1 as the reign with eden black as the wrestlers? [/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_2 (days_held VARCHAR, reign VARCHAR, wrestlers VARCHAR) Question: What days held has 1 as the reign with eden black as the wrestlers? Here is the SQLite query...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (runner_s__up VARCHAR, margin_of_victory VARCHAR, date VARCHAR) Question: For the tournament played Nov 13, 1988, ending with a margin of victory of 5...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (runner_s__up VARCHAR, margin_of_victory VARCHAR, date VARCHAR) Question: For the tournament played Nov 13, 1988, ending with a margin of victory of 5 strok...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Guests (gender_code VARCHAR) Question: Show each gender code and the corresponding count of guests sorted by the count in descending order. [/INST] Here is the SQLi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Guests (gender_code VARCHAR) Question: Show each gender code and the corresponding count of guests sorted by the count in descending order. Here is the SQLite query to a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE song (f_id VARCHAR, resolution INTEGER, genre_is VARCHAR) Question: What is ids of the songs whose resolution is higher than the average resolution of songs in mode...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE song (f_id VARCHAR, resolution INTEGER, genre_is VARCHAR) Question: What is ids of the songs whose resolution is higher than the average resolution of songs in modern 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_25691838_8 (guest VARCHAR, original_airdate VARCHAR) Question: Who were the guests on the episode that first aired August 16? [/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_25691838_8 (guest VARCHAR, original_airdate VARCHAR) Question: Who were the guests on the episode that first aired August 16? 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_26 (grid INTEGER, driver VARCHAR, laps VARCHAR) Question: What is the average grid for johnny dumfries with less than 8 laps? [/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_26 (grid INTEGER, driver VARCHAR, laps VARCHAR) Question: What is the average grid for johnny dumfries with less than 8 laps? 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_14 (result VARCHAR, stadium VARCHAR) Question: What was the score of the game at RIch Stadium? [/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_14 (result VARCHAR, stadium VARCHAR) Question: What was the score of the game at RIch Stadium? Here is the SQLite query to answer to the question: What was 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_2683116_1 (communes VARCHAR, enrolled VARCHAR) Question: What communes have enrolled values of 174946? [/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_2683116_1 (communes VARCHAR, enrolled VARCHAR) Question: What communes have enrolled values of 174946? Here is the SQLite query to answer to the question: What com...
bugdaryan/sql-create-context-instruction
[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 (set_4 VARCHAR, set_5 VARCHAR, set_3 VARCHAR) Question: What is Set 4, when Set 5 is NA, and when Set 3 is 19-25? [/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_10 (set_4 VARCHAR, set_5 VARCHAR, set_3 VARCHAR) Question: What is Set 4, when Set 5 is NA, and when Set 3 is 19-25? 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_4 (winners VARCHAR, year VARCHAR) Question: Who were the winners in 2010-2011? [/INST] Here is the SQLite query to answer to the question: Who were the w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (winners VARCHAR, year VARCHAR) Question: Who were the winners in 2010-2011? Here is the SQLite query to answer to the question: Who were the winners in 201...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (byes INTEGER, losses VARCHAR, wins VARCHAR) Question: What is the average number of Byes for the team that had 15 Losses, and less than 1 Win? [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (byes INTEGER, losses VARCHAR, wins VARCHAR) Question: What is the average number of Byes for the team that had 15 Losses, and less than 1 Win? 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_14125006_1 (agency VARCHAR, astronaut VARCHAR) Question: What agency does Anderson Clayton Anderson work for? [/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_14125006_1 (agency VARCHAR, astronaut VARCHAR) Question: What agency does Anderson Clayton Anderson work 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_69 (part_2 VARCHAR, part_4 VARCHAR) Question: What was part 2 when part 4 was *haldanaz? [/INST] Here is the SQLite query to answer to the question: What...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (part_2 VARCHAR, part_4 VARCHAR) Question: What was part 2 when part 4 was *haldanaz? Here is the SQLite query to answer to the question: What was part 2 w...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (round VARCHAR, res VARCHAR, method VARCHAR) Question: How many total rounds have the results of win, and n/a as the method? [/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_12 (round VARCHAR, res VARCHAR, method VARCHAR) Question: How many total rounds have the results of win, and n/a as the method? 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_27257896_2 (salary_range VARCHAR, indians VARCHAR) Question: If the Indians are 8.2%, what is the salary range? [/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_27257896_2 (salary_range VARCHAR, indians VARCHAR) Question: If the Indians are 8.2%, what is the salary range? 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_55 (matches VARCHAR, rank VARCHAR, years VARCHAR) Question: Can you tell me the Matches that has the Rank smaller than 6, and the Years of 1943-62? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (matches VARCHAR, rank VARCHAR, years VARCHAR) Question: Can you tell me the Matches that has the Rank smaller than 6, and the Years of 1943-62? Here is th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (yacht VARCHAR, syndicate VARCHAR) Question: Which Yacht Club is part of the America 3 Foundation syndicate on the America 3 yacht? [/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_84 (yacht VARCHAR, syndicate VARCHAR) Question: Which Yacht Club is part of the America 3 Foundation syndicate on the America 3 yacht? 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_86 (upper_stage VARCHAR, launches_to_date VARCHAR, version VARCHAR) Question: What Upper stage has Launches to date of 0, and Version of 532? [/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_86 (upper_stage VARCHAR, launches_to_date VARCHAR, version VARCHAR) Question: What Upper stage has Launches to date of 0, and Version of 532? 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_80 (game VARCHAR, location VARCHAR, date VARCHAR) Question: What Game has a Location of Philadelphia Spectrum and a Date of April 1? [/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_80 (game VARCHAR, location VARCHAR, date VARCHAR) Question: What Game has a Location of Philadelphia Spectrum and a Date of April 1? 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_15700367_4 (runs_conceded INTEGER) Question: Name the most runs conceded [/INST] Here is the SQLite query to answer to the question: Name the most runs conced...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15700367_4 (runs_conceded INTEGER) Question: Name the most runs conceded Here is the SQLite query to answer to the question: Name the most runs conceded: ``` 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_78 (player VARCHAR, to_par VARCHAR) Question: What Player had a To Par of +2? [/INST] Here is the SQLite query to answer to the question: What Player 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 (player VARCHAR, to_par VARCHAR) Question: What Player had a To Par of +2? Here is the SQLite query to answer to the question: What Player had a To Par of ...
bugdaryan/sql-create-context-instruction