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_75 (round_of_16 VARCHAR, quarterfinal VARCHAR, round_of_32 VARCHAR)
Question: When the round of 32 was n/a and quarterfinal was did not advance, what was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (round_of_16 VARCHAR, quarterfinal VARCHAR, round_of_32 VARCHAR)
Question: When the round of 32 was n/a and quarterfinal was did not advance, what was the 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_22 (city VARCHAR, result VARCHAR)
Question: What city has a Result of brisbane broncos def. halifax blue sox?
[/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_22 (city VARCHAR, result VARCHAR)
Question: What city has a Result of brisbane broncos def. halifax blue sox?
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_42 (location VARCHAR, college_name VARCHAR)
Question: Where is the location of the coimbatore medical college?
[/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_42 (location VARCHAR, college_name VARCHAR)
Question: Where is the location of the coimbatore medical college?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (against VARCHAR, venue VARCHAR, date VARCHAR)
Question: What is the total number of Against that were played in the H Venue on 26 february 1949?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (against VARCHAR, venue VARCHAR, date VARCHAR)
Question: What is the total number of Against that were played in the H Venue on 26 february 1949?
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_65 (date VARCHAR, venue VARCHAR)
Question: When is Cadott Rock Fest taken place?
[/INST]
Here is the SQLite query to answer to the question: When is Ca... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (date VARCHAR, venue VARCHAR)
Question: When is Cadott Rock Fest taken place?
Here is the SQLite query to answer to the question: When is Cadott Rock Fes... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Ref_Shipping_Agents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_status_code VA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Ref_Shipping_Agents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_status_code VARCHAR,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (score VARCHAR, home VARCHAR, visitor VARCHAR)
Question: What was the score from the game where Dallas played Home and Edmonton was visiting?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (score VARCHAR, home VARCHAR, visitor VARCHAR)
Question: What was the score from the game where Dallas played Home and Edmonton was visiting?
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_name_45 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance like for week 8?
[/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_45 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance like for week 8?
Here is the SQLite query to answer to the question: What was the atte... | bugdaryan/sql-create-context-instruction | |
[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 (exaltation VARCHAR, detriment VARCHAR, sign VARCHAR)
Question: Which exaltation has a detriment of Saturn and Cancer as a sign?
[/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_75 (exaltation VARCHAR, detriment VARCHAR, sign VARCHAR)
Question: Which exaltation has a detriment of Saturn and Cancer as a sign?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (team VARCHAR, position VARCHAR, pick VARCHAR)
Question: What is Team, when Position is "LHP", and when Pick is "23"?
[/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_16 (team VARCHAR, position VARCHAR, pick VARCHAR)
Question: What is Team, when Position is "LHP", and when Pick is "23"?
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_16575609_4 (pick__number INTEGER, cfl_team VARCHAR)
Question: Name the most pick number for cfl team being edmonton eskimos
[/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_16575609_4 (pick__number INTEGER, cfl_team VARCHAR)
Question: Name the most pick number for cfl team being edmonton eskimos
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (home_team VARCHAR)
Question: What was South Melbourne's score as the home team?
[/INST]
Here is the SQLite query to answer to the question: What was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (home_team VARCHAR)
Question: What was South Melbourne's score as the home team?
Here is the SQLite query to answer to the question: What was South Melbour... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (overall VARCHAR, name VARCHAR, pick__number VARCHAR)
Question: Name the total number of overall for brent hawkins and pick # more than 28
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (overall VARCHAR, name VARCHAR, pick__number VARCHAR)
Question: Name the total number of overall for brent hawkins and pick # more than 28
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 department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TAB... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE emp... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
Question: Name the total number of awardees for best screenplay
[/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_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
Question: Name the total number of awardees for best screenplay
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_84 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
Question: Which Nationality has a College/Junior/Club Team (League) of swift current ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
Question: Which Nationality has a College/Junior/Club Team (League) of swift current bronco... | bugdaryan/sql-create-context-instruction | |
[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 (english_title VARCHAR, chinese__simplified_ VARCHAR)
Question: What is 你 朋友's English title?
[/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_11 (english_title VARCHAR, chinese__simplified_ VARCHAR)
Question: What is 你 朋友's English title?
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_95 (original_title VARCHAR, year VARCHAR, country VARCHAR)
Question: What is the original title of the film from Japan/Taiwan before 2003?
[/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_95 (original_title VARCHAR, year VARCHAR, country VARCHAR)
Question: What is the original title of the film from Japan/Taiwan before 2003?
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_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR)
Question: What's the number of touchdowns that Snow ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR)
Question: What's the number of touchdowns that Snow made 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_89 (result VARCHAR, opponent_number VARCHAR)
Question: What is the result for opponent TCU?
[/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_89 (result VARCHAR, opponent_number VARCHAR)
Question: What is the result for opponent TCU?
Here is the SQLite query to answer to the question: What is the re... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR)
Question: hat was Hawthorn's score as the away team?
[/INST]
Here is the SQLite query to answer to the question: hat was Hawthorn'... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (away_team VARCHAR)
Question: hat was Hawthorn's score as the away team?
Here is the SQLite query to answer to the question: hat was Hawthorn's score as 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_57 (record VARCHAR, method VARCHAR, opponent VARCHAR)
Question: Which record has tko (strikes) as the method, and daan kooiman as the opponent?
[/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_57 (record VARCHAR, method VARCHAR, opponent VARCHAR)
Question: Which record has tko (strikes) as the method, and daan kooiman as the opponent?
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_11647327_2 (head_of_household VARCHAR, single VARCHAR)
Question: What is the range of the head of household whereas single is $171,551–$372,950?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11647327_2 (head_of_household VARCHAR, single VARCHAR)
Question: What is the range of the head of household whereas single is $171,551–$372,950?
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 park (state VARCHAR)
Question: How many parks are there in the state of NY?
[/INST]
Here is the SQLite query to answer to the question: How many parks are there in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE park (state VARCHAR)
Question: How many parks are there in the state of NY?
Here is the SQLite query to answer to the question: How many parks are there in the state 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_4 (tournament VARCHAR, week VARCHAR)
Question: What is the Tournament, on the Week of May 5?
[/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_4 (tournament VARCHAR, week VARCHAR)
Question: What is the Tournament, on the Week of May 5?
Here is the SQLite query to answer to the question: What is the T... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (period INTEGER, element VARCHAR)
Question: Which lowest period's element is ruthenium?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (period INTEGER, element VARCHAR)
Question: Which lowest period's element is ruthenium?
Here is the SQLite query to answer to the question: Which lowest pe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rooms (bedType VARCHAR, basePrice INTEGER)
Question: What is the average base price of different bed type? List bed type and average base price.
[/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 Rooms (bedType VARCHAR, basePrice INTEGER)
Question: What is the average base price of different bed type? List bed type and average base price.
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_93 (player VARCHAR, place VARCHAR, score VARCHAR)
Question: What T9 Player had a Score of 70-74-69-70=283?
[/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_93 (player VARCHAR, place VARCHAR, score VARCHAR)
Question: What T9 Player had a Score of 70-74-69-70=283?
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 jobs (job_title VARCHAR, max_salary INTEGER, min_salary VARCHAR)
Question: display job Title, the difference between minimum and maximum salaries for those jobs whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE jobs (job_title VARCHAR, max_salary INTEGER, min_salary VARCHAR)
Question: display job Title, the difference between minimum and maximum salaries for those jobs which max... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (tyre VARCHAR, driver VARCHAR)
Question: Which tyre is on the car driven by Pedro de la Rosa?
[/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_35 (tyre VARCHAR, driver VARCHAR)
Question: Which tyre is on the car driven by Pedro de la Rosa?
Here is the SQLite query to answer to the question: Which tyr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17304621_14 (upstream VARCHAR, downstream VARCHAR, bandwidth VARCHAR)
Question: How many upstream speeds are there for downstream of 20 mbit/s and bandwidth o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17304621_14 (upstream VARCHAR, downstream VARCHAR, bandwidth VARCHAR)
Question: How many upstream speeds are there for downstream of 20 mbit/s and bandwidth of 40 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_94 (producer_s_ VARCHAR, writer_s_ VARCHAR)
Question: Which producer worked with Robert Sproul-cran as writer?
[/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_94 (producer_s_ VARCHAR, writer_s_ VARCHAR)
Question: Which producer worked with Robert Sproul-cran as writer?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (position VARCHAR, school_club_team VARCHAR)
Question: What is Position, when School/Club Team is McMaster?
[/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_34 (position VARCHAR, school_club_team VARCHAR)
Question: What is Position, when School/Club Team is McMaster?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28138035_20 (mens_doubles VARCHAR, womens_singles VARCHAR)
Question: How many people are shown for mens doubles when guo yue played womens singles?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28138035_20 (mens_doubles VARCHAR, womens_singles VARCHAR)
Question: How many people are shown for mens doubles when guo yue played womens singles?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17190012_7 (record VARCHAR, score VARCHAR)
Question: how many records were made on the game that ended with score w 121–119 (ot)
[/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_17190012_7 (record VARCHAR, score VARCHAR)
Question: how many records were made on the game that ended with score w 121–119 (ot)
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_7 (points VARCHAR, entrant VARCHAR)
Question: Total points for a bs automotive entrant?
[/INST]
Here is the SQLite query to answer to the question: Total... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (points VARCHAR, entrant VARCHAR)
Question: Total points for a bs automotive entrant?
Here is the SQLite query to answer to the question: Total points for 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_93 (event VARCHAR, name VARCHAR)
Question: Name the Event of sudesh peiris?
[/INST]
Here is the SQLite query to answer to the question: Name the Event of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (event VARCHAR, name VARCHAR)
Question: Name the Event of sudesh peiris?
Here is the SQLite query to answer to the question: Name the Event of sudesh peiri... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, points VARCHAR, attendance VARCHAR)
Question: What is the Opponent of the game with more than 13,567 in Attendance with more than 5 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR)
Question: What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE course (title VARCHAR)
Question: Find the title of the course that is offered by more than one department.
[/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 course (title VARCHAR)
Question: Find the title of the course that is offered by more than one department.
Here is the SQLite query to answer to the question: Find the 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_84 (tournament VARCHAR)
Question: Which 2008 has a 2002 of a, and a Tournament of australian open?
[/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_84 (tournament VARCHAR)
Question: Which 2008 has a 2002 of a, and a Tournament of australian open?
Here is the SQLite query to answer to the question: Which 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23292220_7 (seans_team VARCHAR, first_broadcast VARCHAR)
Question: Name the seans team being 13 november 2008
[/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_23292220_7 (seans_team VARCHAR, first_broadcast VARCHAR)
Question: Name the seans team being 13 november 2008
Here is the SQLite query to answer to the question: 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_11167610_1 (turbo VARCHAR, trim VARCHAR)
Question: what's the turbo where trim is 2.0 20v
[/INST]
Here is the SQLite query to answer to the question: what's... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11167610_1 (turbo VARCHAR, trim VARCHAR)
Question: what's the turbo where trim is 2.0 20v
Here is the SQLite query to answer to the question: what's the turbo 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_9 (current_club VARCHAR, player VARCHAR)
Question: What is the club for Sam Magri?
[/INST]
Here is the SQLite query to answer to the question: What 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_9 (current_club VARCHAR, player VARCHAR)
Question: What is the club for Sam Magri?
Here is the SQLite query to answer to the question: What is the club for Sa... | bugdaryan/sql-create-context-instruction | |
[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 (production_company VARCHAR, rank VARCHAR, film VARCHAR)
Question: What was the production company for the nominated film, Badmouth?
[/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_33 (production_company VARCHAR, rank VARCHAR, film VARCHAR)
Question: What was the production company for the nominated film, Badmouth?
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_37 (assets__usd__millions INTEGER, bank VARCHAR, number_of_branches VARCHAR)
Question: What is the highest Assets (USD) Millions from Equity Bank and les... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (assets__usd__millions INTEGER, bank VARCHAR, number_of_branches VARCHAR)
Question: What is the highest Assets (USD) Millions from Equity Bank and less than... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12562214_1 (notes VARCHAR, date__to_ VARCHAR)
Question: how many times is the date (to) 1919?
[/INST]
Here is the SQLite query to answer to the question: how ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12562214_1 (notes VARCHAR, date__to_ VARCHAR)
Question: how many times is the date (to) 1919?
Here is the SQLite query to answer to the question: how many times 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_26986076_6 (sat_21_aug VARCHAR, tues_24_aug VARCHAR)
Question: What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26986076_6 (sat_21_aug VARCHAR, tues_24_aug VARCHAR)
Question: What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph?
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_2112025_3 (surface VARCHAR, year VARCHAR)
Question: What was the court surface on year 1971?
[/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_2112025_3 (surface VARCHAR, year VARCHAR)
Question: What was the court surface on year 1971?
Here is the SQLite query to answer to the question: What was the court... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, rider VARCHAR)
Question: How many ranks have michael russell as the rider?
[/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_71 (rank INTEGER, rider VARCHAR)
Question: How many ranks have michael russell as the rider?
Here is the SQLite query to answer to the question: How many rank... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (product_name VARCHAR, product_type_code VARCHAR, product_price VARCHAR)
Question: Find the name of the most expensive hardware product.
[/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 products (product_name VARCHAR, product_type_code VARCHAR, product_price VARCHAR)
Question: Find the name of the most expensive hardware product.
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_49 (opponent VARCHAR, attendance VARCHAR)
Question: Who was the opponent when 48,121 people attended?
[/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_49 (opponent VARCHAR, attendance VARCHAR)
Question: Who was the opponent when 48,121 people attended?
Here is the SQLite query to answer to the question: Who ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)
Question: What was the score in the September 20 game?
[/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_57 (score VARCHAR, date VARCHAR)
Question: What was the score in the September 20 game?
Here is the SQLite query to answer to the question: What was the 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_225095_4 (reason_for_change VARCHAR, successor VARCHAR)
Question: How many reasons for change were listed when Edward Hempstead was the successor?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_225095_4 (reason_for_change VARCHAR, successor VARCHAR)
Question: How many reasons for change were listed when Edward Hempstead was the successor?
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_91 (license VARCHAR, name VARCHAR)
Question: What is the license for Jriver Media Center?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (license VARCHAR, name VARCHAR)
Question: What is the license for Jriver Media Center?
Here is the SQLite query to answer to the question: What is the lice... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR)
Question: List the rank of the player that left the tournament due to right foot injury
[/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_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR)
Question: List the rank of the player that left the tournament due to right foot injury
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_75 (tickets_available_since VARCHAR, venue VARCHAR, date VARCHAR)
Question: How many tickets were available at Halle Tony Garnier on June 15, 2009?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (tickets_available_since VARCHAR, venue VARCHAR, date VARCHAR)
Question: How many tickets were available at Halle Tony Garnier on June 15, 2009?
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_15823956_1 (series VARCHAR)
Question: When was series premiere on the pilot episode
[/INST]
Here is the SQLite query to answer to the question: When was serie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15823956_1 (series VARCHAR)
Question: When was series premiere on the pilot episode
Here is the SQLite query to answer to the question: When was series premiere on... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16331025_2 (sellout___percentage_ VARCHAR, gross_sales VARCHAR)
Question: What is the sellout % when the gross sales is $1,727,400?
[/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_16331025_2 (sellout___percentage_ VARCHAR, gross_sales VARCHAR)
Question: What is the sellout % when the gross sales is $1,727,400?
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_46 (combined VARCHAR, super_g VARCHAR, overall VARCHAR)
Question: What is Combined, when Super G is less than 10, and when Overall is less than 4?
[/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 (combined VARCHAR, super_g VARCHAR, overall VARCHAR)
Question: What is Combined, when Super G is less than 10, and when Overall is less than 4?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (rank INTEGER, lane VARCHAR)
Question: What's the lowest rank of Lane 3?
[/INST]
Here is the SQLite query to answer to the question: What's the lowest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (rank INTEGER, lane VARCHAR)
Question: What's the lowest rank of Lane 3?
Here is the SQLite query to answer to the question: What's the lowest rank of Lane... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR)
Question: Which opponent has 32194 as the attendance?
[/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_23466021_4 (opponent VARCHAR, attendance VARCHAR)
Question: Which opponent has 32194 as the attendance?
Here is the SQLite query to answer to the question: Which o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (date VARCHAR, opponent VARCHAR)
Question: when indiana pacers were the opponent what was the date?
[/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_89 (date VARCHAR, opponent VARCHAR)
Question: when indiana pacers were the opponent what was the date?
Here is the SQLite query to answer to the question: whe... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, location_attendance VARCHAR)
Question: Which Date has a Location/Attendance of verizon center 7,587?
[/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_66 (date VARCHAR, location_attendance VARCHAR)
Question: Which Date has a Location/Attendance of verizon center 7,587?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (driver VARCHAR, time_retired VARCHAR)
Question: Which driver has a Time/Retired of 2:45:46.2?
[/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_44 (driver VARCHAR, time_retired VARCHAR)
Question: Which driver has a Time/Retired of 2:45:46.2?
Here is the SQLite query to answer to the question: Which dr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Residents (date_moved_in INTEGER)
Question: When is the last day any resident moved in?
[/INST]
Here is the SQLite query to answer to the question: When is the last... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Residents (date_moved_in INTEGER)
Question: When is the last day any resident moved in?
Here is the SQLite query to answer to the question: When is the last day any resi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21100348_10 (period VARCHAR, average VARCHAR)
Question: During what period was the career average 44.10?
[/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_21100348_10 (period VARCHAR, average VARCHAR)
Question: During what period was the career average 44.10?
Here is the SQLite query to answer to the question: During... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (total__kg_ INTEGER, bodyweight VARCHAR, snatch VARCHAR)
Question: What is the total for the person with 73.28 bodyweight and fewer snatches than 75?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (total__kg_ INTEGER, bodyweight VARCHAR, snatch VARCHAR)
Question: What is the total for the person with 73.28 bodyweight and fewer snatches than 75?
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_228973_5 (title VARCHAR, original_air_date VARCHAR)
Question: What is the name of the episode that aired originally on November 10, 1998?
[/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_228973_5 (title VARCHAR, original_air_date VARCHAR)
Question: What is the name of the episode that aired originally on November 10, 1998?
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_87 (forward_caste VARCHAR, scheduled_tribe VARCHAR)
Question: WHAT IS THE FORWARD CASTE WITH A SCHEDULED TRIBE OF 0.90%?
[/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_87 (forward_caste VARCHAR, scheduled_tribe VARCHAR)
Question: WHAT IS THE FORWARD CASTE WITH A SCHEDULED TRIBE OF 0.90%?
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_1281200_1 (phase VARCHAR, new_entries_this_round VARCHAR)
Question: The new entries this round was shown to be 12, in which phase would you find this?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1281200_1 (phase VARCHAR, new_entries_this_round VARCHAR)
Question: The new entries this round was shown to be 12, in which phase would you find this?
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_10705060_1 (points VARCHAR, season VARCHAR)
Question: How many points for 2005?
[/INST]
Here is the SQLite query to answer to the question: How many points fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10705060_1 (points VARCHAR, season VARCHAR)
Question: How many points for 2005?
Here is the SQLite query to answer to the question: How many points for 2005?:
```
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (rank INTEGER, nationality VARCHAR, time VARCHAR)
Question: What's the lowest rank of the United States with a time less than 24.63?
[/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_74 (rank INTEGER, nationality VARCHAR, time VARCHAR)
Question: What's the lowest rank of the United States with a time less than 24.63?
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_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)
Question: Which team has fewer than 4 rounds for Jan Van Breda Kolff?
[/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_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)
Question: Which team has fewer than 4 rounds for Jan Van Breda Kolff?
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_63 (date VARCHAR, attendance VARCHAR)
Question: Which Date has an Attendance of 30,612?
[/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_63 (date VARCHAR, attendance VARCHAR)
Question: Which Date has an Attendance of 30,612?
Here is the SQLite query to answer to the question: Which Date has an ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
Question: What's the score at the October 30, 1996 1998 fifa world cup qualificatio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
Question: What's the score at the October 30, 1996 1998 fifa world cup qualification with... | bugdaryan/sql-create-context-instruction | |
[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 (designer VARCHAR, restaurant_name VARCHAR)
Question: What designer has a restaurant named The Citizen?
[/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_42 (designer VARCHAR, restaurant_name VARCHAR)
Question: What designer has a restaurant named The Citizen?
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_29 (venue VARCHAR, home_team VARCHAR)
Question: Where was the game played where the home team was Collingwood?
[/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_29 (venue VARCHAR, home_team VARCHAR)
Question: Where was the game played where the home team was Collingwood?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (game VARCHAR, road_team VARCHAR, result VARCHAR)
Question: Road Team of utah jazz, and a Result of 81-83 (3-2) involved what game?
[/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_27 (game VARCHAR, road_team VARCHAR, result VARCHAR)
Question: Road Team of utah jazz, and a Result of 81-83 (3-2) involved what game?
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_72 (location VARCHAR, capacity VARCHAR)
Question: Which location has 101,119 as the capacity?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (location VARCHAR, capacity VARCHAR)
Question: Which location has 101,119 as the capacity?
Here is the SQLite query to answer to the question: Which locati... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, format VARCHAR)
Question: When did the season with 1 team format premiere?
[/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_1949994_7 (premiere_air_dates VARCHAR, format VARCHAR)
Question: When did the season with 1 team format premiere?
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_13741576_4 (drawn VARCHAR, club VARCHAR)
Question: Name the drawn for llandaff rfc
[/INST]
Here is the SQLite query to answer to the question: Name the drawn ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13741576_4 (drawn VARCHAR, club VARCHAR)
Question: Name the drawn for llandaff rfc
Here is the SQLite query to answer to the question: Name the drawn for llandaff ... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, accolade VARCHAR, rank VARCHAR)
Question: How many years have an accolade of 50 best albums of the year, with #3 as the rank?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (year INTEGER, accolade VARCHAR, rank VARCHAR)
Question: How many years have an accolade of 50 best albums of the year, with #3 as the rank?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (date_of_official_foundation_of_municipality INTEGER, rank VARCHAR, province VARCHAR)
Question: What is the sum of Date of Official Foundation of Muni... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (date_of_official_foundation_of_municipality INTEGER, rank VARCHAR, province VARCHAR)
Question: What is the sum of Date of Official Foundation of Municipali... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE VISITS (Visit_Date VARCHAR, Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE Tourist... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE VISITS (Visit_Date VARCHAR, Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE Tourist_Attra... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, home_team VARCHAR)
Question: What is the lowest crowd of the west coast home team?
[/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_86 (crowd INTEGER, home_team VARCHAR)
Question: What is the lowest crowd of the west coast home team?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, callback_venue VARCHAR)
Question: When were the callback auditions at Hilton Riverside Hotel held?
[/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_27455867_1 (callback_audition_date VARCHAR, callback_venue VARCHAR)
Question: When were the callback auditions at Hilton Riverside Hotel held?
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_30018460_1 (country_territory VARCHAR)
Question: How many first place participants where from croatia?
[/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_30018460_1 (country_territory VARCHAR)
Question: How many first place participants where from croatia?
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 players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)
Question: Find the average ranking for each player and their first name.
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)
Question: Find the average ranking for each player and their first name.
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_38 (premiere VARCHAR, rating VARCHAR)
Question: What was the date of the premiere that had a 20.9 rating?
[/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_38 (premiere VARCHAR, rating VARCHAR)
Question: What was the date of the premiere that had a 20.9 rating?
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_224672_2 (term_ended VARCHAR, term_began VARCHAR)
Question: When did the term end that began December 4, 1978?
[/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_224672_2 (term_ended VARCHAR, term_began VARCHAR)
Question: When did the term end that began December 4, 1978?
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_13399573_3 (points_against VARCHAR, won VARCHAR)
Question: What was the number of points against when the amount won is 10?
[/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_13399573_3 (points_against VARCHAR, won VARCHAR)
Question: What was the number of points against when the amount won is 10?
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_11664625_2 (no_in_season INTEGER, directed_by VARCHAR)
Question: Where is the first season that Anthony Hemingway appears?
[/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_11664625_2 (no_in_season INTEGER, directed_by VARCHAR)
Question: Where is the first season that Anthony Hemingway appears?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (bp_2nd_comp__ INTEGER, bp_azeo__˚c_ VARCHAR)
Question: Tell me the sum of bp 2nd comp with bp azeo of 57.5
[/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_33 (bp_2nd_comp__ INTEGER, bp_azeo__˚c_ VARCHAR)
Question: Tell me the sum of bp 2nd comp with bp azeo of 57.5
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE tweets (Id VARCHAR)
Question: Find the number of tweets in record.
[/INST]
Here is the SQLite query to answer to the question: Find the number of tweets in record.:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE tweets (Id VARCHAR)
Question: Find the number of tweets in record.
Here is the SQLite query to answer to the question: Find the number of tweets in record.:
```
SELECT 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_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, operational_owner_s_ VARCHAR)
Question: How many wheels does the train owned by Texas and New Orleans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, operational_owner_s_ VARCHAR)
Question: How many wheels does the train owned by Texas and New Orleans Railr... | bugdaryan/sql-create-context-instruction | |
[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 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR)
Question: Which school/club has a pick smaller than 196, a round higher than 5... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR)
Question: Which school/club has a pick smaller than 196, a round higher than 5 and 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_87 (bats_throws VARCHAR, players VARCHAR)
Question: What side does Clayton Allison Bat/Throw from?
[/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_87 (bats_throws VARCHAR, players VARCHAR)
Question: What side does Clayton Allison Bat/Throw from?
Here is the SQLite query to answer to the question: What si... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, record VARCHAR)
Question: Which opponent has a record of 3–1?
[/INST]
Here is the SQLite query to answer to the question: Which opp... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR)
Question: Which opponent has a record of 3–1?
Here is the SQLite query to answer to the question: Which opponent has a r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (game INTEGER, date VARCHAR)
Question: What is the lowest Game, when Date is March 21?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (game INTEGER, date VARCHAR)
Question: What is the lowest Game, when Date is March 21?
Here is the SQLite query to answer to the question: What is the lowe... | bugdaryan/sql-create-context-instruction | |
[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 (lost INTEGER, team VARCHAR, draw VARCHAR)
Question: what the most lost for Alianza with a draw less than 6?
[/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_26 (lost INTEGER, team VARCHAR, draw VARCHAR)
Question: what the most lost for Alianza with a draw less than 6?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.