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_33 (date VARCHAR, location VARCHAR)
Question: Name the date for faro
[/INST]
Here is the SQLite query to answer to the question: Name the date for faro:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR)
Question: Name the date for faro
Here is the SQLite query to answer to the question: Name the date for faro:
```
SELECT da... | bugdaryan/sql-create-context-instruction | |
[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 (against INTEGER, team VARCHAR, drawn VARCHAR)
Question: How many games against for team guarani with under 3 draws?
[/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_84 (against INTEGER, team VARCHAR, drawn VARCHAR)
Question: How many games against for team guarani with under 3 draws?
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_26614365_5 (spanish VARCHAR, portuguese VARCHAR)
Question: How many Spanish word is there for the Portuguese bem-vindo?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26614365_5 (spanish VARCHAR, portuguese VARCHAR)
Question: How many Spanish word is there for the Portuguese bem-vindo?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (date VARCHAR, game_site VARCHAR, week VARCHAR)
Question: Which date has rich stadium as the game site for week 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_13 (date VARCHAR, game_site VARCHAR, week VARCHAR)
Question: Which date has rich stadium as the game site for week 1?
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_27 (date VARCHAR, home_team VARCHAR)
Question: When did Hawthorn play at home?
[/INST]
Here is the SQLite query to answer to the question: When did Hawth... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (date VARCHAR, home_team VARCHAR)
Question: When did Hawthorn play at home?
Here is the SQLite query to answer to the question: When did Hawthorn play at 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_45 (established INTEGER, venue VARCHAR)
Question: When was the venue named nassau veterans memorial coliseum established??
[/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_45 (established INTEGER, venue VARCHAR)
Question: When was the venue named nassau veterans memorial coliseum established??
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_29 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR)
Question: Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR)
Question: Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (goals_for INTEGER, wins INTEGER)
Question: What is the average Goals For for a team that has more Wins than 8?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (goals_for INTEGER, wins INTEGER)
Question: What is the average Goals For for a team that has more Wins than 8?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (founded VARCHAR, school VARCHAR)
Question: What is the year Airds High School was founded?
[/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_65 (founded VARCHAR, school VARCHAR)
Question: What is the year Airds High School was founded?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14260687_3 (other VARCHAR, total VARCHAR)
Question: How man "other" millions of smartphones were shipped when 181.1 million total were shipped?
[/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_14260687_3 (other VARCHAR, total VARCHAR)
Question: How man "other" millions of smartphones were shipped when 181.1 million total were shipped?
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_24143253_1 (deceased_spouse VARCHAR, name VARCHAR)
Question: Name the decease spouse for carol deluise
[/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_24143253_1 (deceased_spouse VARCHAR, name VARCHAR)
Question: Name the decease spouse for carol deluise
Here is the SQLite query to answer to the question: Name 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_37 (laps INTEGER, rider VARCHAR, grid VARCHAR)
Question: What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24?
[/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_37 (laps INTEGER, rider VARCHAR, grid VARCHAR)
Question: What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24?
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_13 (district VARCHAR, constituency_number VARCHAR)
Question: What is the district with 79 constituency number?
[/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_13 (district VARCHAR, constituency_number VARCHAR)
Question: What is the district with 79 constituency number?
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_32 (country VARCHAR, density__per_km²_ VARCHAR)
Question: Which country has a density (per km²) of 6,814?
[/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_32 (country VARCHAR, density__per_km²_ VARCHAR)
Question: Which country has a density (per km²) of 6,814?
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_98 (score VARCHAR, year VARCHAR, category VARCHAR)
Question: What was the Score after 1991 in Category IVA?
[/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_98 (score VARCHAR, year VARCHAR, category VARCHAR)
Question: What was the Score after 1991 in Category IVA?
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 student (stu_fname VARCHAR, stu_lname VARCHAR, stu_gpa INTEGER, stu_dob VARCHAR)
Question: What is the first, last name, gpa of the youngest one among students whos... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_gpa INTEGER, stu_dob VARCHAR)
Question: What is the first, last name, gpa of the youngest one among students whose GPA ... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR, winner_and_score VARCHAR)
Question: Which Tournament has a Winner and score of goran ivanišević 6–4, 6–2, 7–6(2)?
[/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_33 (tournament VARCHAR, winner_and_score VARCHAR)
Question: Which Tournament has a Winner and score of goran ivanišević 6–4, 6–2, 7–6(2)?
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_99 (location_attendance VARCHAR, game VARCHAR, team VARCHAR)
Question: What is the location and attendance after game 2, and the team New Orleans?
[/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 (location_attendance VARCHAR, game VARCHAR, team VARCHAR)
Question: What is the location and attendance after game 2, and the team New Orleans?
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_19283982_4 (_number_of_total_votes VARCHAR, _number_of_seats_won VARCHAR)
Question: Name the number of total votes for # of seats won being 30
[/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_19283982_4 (_number_of_total_votes VARCHAR, _number_of_seats_won VARCHAR)
Question: Name the number of total votes for # of seats won being 30
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_47 (class__old__to_1868 VARCHAR, quantity INTEGER)
Question: Can you tell me the Class (old) to 1868 that has the Quantity larger than 8?
[/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_47 (class__old__to_1868 VARCHAR, quantity INTEGER)
Question: Can you tell me the Class (old) to 1868 that has the Quantity larger than 8?
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_1 (laps INTEGER, rider VARCHAR)
Question: What is the lowest laps that Vittorio Iannuzzo completed?
[/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_1 (laps INTEGER, rider VARCHAR)
Question: What is the lowest laps that Vittorio Iannuzzo completed?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (competition VARCHAR, date VARCHAR)
Question: Tell me the competition for 25 march 2001
[/INST]
Here is the SQLite query to answer to the question: Te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (competition VARCHAR, date VARCHAR)
Question: Tell me the competition for 25 march 2001
Here is the SQLite query to answer to the question: Tell me the 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 Visits_Restaurant (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)
Question: At which restaurant did the students spend the least amount of time? List restaurant ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)
Question: At which restaurant did the students spend the least amount of time? List restaurant and 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_25527255_2 (captain VARCHAR, kit_manufacturer VARCHAR)
Question: Who is the captain of the team whose kit manufacturer is Nike?
[/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_25527255_2 (captain VARCHAR, kit_manufacturer VARCHAR)
Question: Who is the captain of the team whose kit manufacturer is Nike?
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_5 (season_1 VARCHAR, season_7 VARCHAR)
Question: Which Season 1 has a Season 7 of david chilton?
[/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_5 (season_1 VARCHAR, season_7 VARCHAR)
Question: Which Season 1 has a Season 7 of david chilton?
Here is the SQLite query to answer to the question: Which Sea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR)
Question: What away team has 7 as the tie no.?
[/INST]
Here is the SQLite query to answer to the question: What aw... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR)
Question: What away team has 7 as the tie no.?
Here is the SQLite query to answer to the question: What away team has 7... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (role VARCHAR, year VARCHAR, direction VARCHAR)
Question: Which role did joemon play before 1991?
[/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_34 (role VARCHAR, year VARCHAR, direction VARCHAR)
Question: Which role did joemon play before 1991?
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_13 (tonnage INTEGER, nationality VARCHAR, ship VARCHAR)
Question: What is the highest tonnage for a ship from Great Britain named Newton Ash?
[/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_13 (tonnage INTEGER, nationality VARCHAR, ship VARCHAR)
Question: What is the highest tonnage for a ship from Great Britain named Newton Ash?
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_41 (people_per_km² INTEGER, regions VARCHAR, area VARCHAR)
Question: What is the sum of people per km2 for the sandoy region with an area of 112.1?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (people_per_km² INTEGER, regions VARCHAR, area VARCHAR)
Question: What is the sum of people per km2 for the sandoy region with an area of 112.1?
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_24160890_3 (conference VARCHAR, tournament_venue__city_ VARCHAR)
Question: When madison square garden ( new york city, new york ) is the tournament venue (cit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_venue__city_ VARCHAR)
Question: When madison square garden ( new york city, new york ) is the tournament venue (city) wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (score VARCHAR, goal VARCHAR)
Question: What is the score of the game with 4 goals?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (score VARCHAR, goal VARCHAR)
Question: What is the score of the game with 4 goals?
Here is the SQLite query to answer to the question: What is the score 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_93 (result VARCHAR, award VARCHAR, film VARCHAR)
Question: What was the result associated with the cinemaa awards, and gabbar singh film?
[/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_93 (result VARCHAR, award VARCHAR, film VARCHAR)
Question: What was the result associated with the cinemaa awards, and gabbar singh film?
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_11190568_7 (date_of_appointment VARCHAR, team VARCHAR)
Question: When are team Galway's dates of appointment?
[/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_11190568_7 (date_of_appointment VARCHAR, team VARCHAR)
Question: When are team Galway's dates of appointment?
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_5 (surface VARCHAR, opponent_in_the_final VARCHAR)
Question: Which Surface has an Opponent in the final of daniella dominikovic?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (surface VARCHAR, opponent_in_the_final VARCHAR)
Question: Which Surface has an Opponent in the final of daniella dominikovic?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (winning_team VARCHAR, score VARCHAR)
Question: who won by a score of 4-1?
[/INST]
Here is the SQLite query to answer to the question: who won by a sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (winning_team VARCHAR, score VARCHAR)
Question: who won by a score of 4-1?
Here is the SQLite query to answer to the question: who won by a score of 4-1?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (average VARCHAR, evening_gown VARCHAR, preliminaries VARCHAR, interview VARCHAR)
Question: How many average scores have preliminary scores over 9.25,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (average VARCHAR, evening_gown VARCHAR, preliminaries VARCHAR, interview VARCHAR)
Question: How many average scores have preliminary scores over 9.25, inter... | bugdaryan/sql-create-context-instruction | |
[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 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the time of the game after week 4 against the Baltimore Ravens?
[/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_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the time of the game after week 4 against the Baltimore Ravens?
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_25548630_1 (podiums INTEGER)
Question: What is the least amount of podiums?
[/INST]
Here is the SQLite query to answer to the question: What is the least amou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25548630_1 (podiums INTEGER)
Question: What is the least amount of podiums?
Here is the SQLite query to answer to the question: What is the least amount of podiums... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, runner_s__up VARCHAR)
Question: Which Year has a Runner(s)-up of tammie green?
[/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_71 (year INTEGER, runner_s__up VARCHAR)
Question: Which Year has a Runner(s)-up of tammie green?
Here is the SQLite query to answer to the question: Which Yea... | bugdaryan/sql-create-context-instruction | |
[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 (established INTEGER, country_territory VARCHAR)
Question: What is the average year that the medical school in dominican republic was established?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (established INTEGER, country_territory VARCHAR)
Question: What is the average year that the medical school in dominican republic was established?
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_26160007_1 (total_trade VARCHAR, exports VARCHAR)
Question: Where the exports is 13,608.65, what is the total trade?
[/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_26160007_1 (total_trade VARCHAR, exports VARCHAR)
Question: Where the exports is 13,608.65, what is the total trade?
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_2866509_1 (written_by VARCHAR, production_code VARCHAR)
Question: who are the writers of the episode whose production code is 176206?
[/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_2866509_1 (written_by VARCHAR, production_code VARCHAR)
Question: who are the writers of the episode whose production code is 176206?
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_41 (loss VARCHAR, record VARCHAR)
Question: Who lost the game with a record of 20-13?
[/INST]
Here is the SQLite query to answer to the question: Who los... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (loss VARCHAR, record VARCHAR)
Question: Who lost the game with a record of 20-13?
Here is the SQLite query to answer to the question: Who lost the game wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (Id VARCHAR)
Question: What is the 2002 result when 2006 is A and 2010 is Q1?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (Id VARCHAR)
Question: What is the 2002 result when 2006 is A and 2010 is Q1?
Here is the SQLite query to answer to the question: What is the 2002 result 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_9 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What nation has 1 bronze and 3 silvers?
[/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_9 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What nation has 1 bronze and 3 silvers?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (in_malayalam VARCHAR, saka_era VARCHAR)
Question: WHAT IS THE IN MALAYALAM WITH kartika–agrahayana?
[/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_61 (in_malayalam VARCHAR, saka_era VARCHAR)
Question: WHAT IS THE IN MALAYALAM WITH kartika–agrahayana?
Here is the SQLite query to answer to the question: 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 Player (weight INTEGER)
Question: What is the maximum and minimum height of all players?
[/INST]
Here is the SQLite query to answer to the question: What is the max... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Player (weight INTEGER)
Question: What is the maximum and minimum height of all players?
Here is the SQLite query to answer to the question: What is the maximum and mini... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE INVOICE (BillingCountry VARCHAR)
Question: What are the distinct billing countries of the invoices?
[/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 INVOICE (BillingCountry VARCHAR)
Question: What are the distinct billing countries of the invoices?
Here is the SQLite query to answer to the question: What are the dist... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23018775_3 (pos VARCHAR, total_time VARCHAR)
Question: How many positions have a total time of 1:30.4135?
[/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_23018775_3 (pos VARCHAR, total_time VARCHAR)
Question: How many positions have a total time of 1:30.4135?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (planetary_mass___m INTEGER, rv__cm_s_ VARCHAR, period__days_ VARCHAR)
Question: What is the highest planetary mass having an RV (cm/s) of 65 and a Per... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (planetary_mass___m INTEGER, rv__cm_s_ VARCHAR, period__days_ VARCHAR)
Question: What is the highest planetary mass having an RV (cm/s) of 65 and a Period (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_18 (league VARCHAR, away VARCHAR)
Question: What league has 2-3 as the away?
[/INST]
Here is the SQLite query to answer to the question: What league has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR)
Question: What league has 2-3 as the away?
Here is the SQLite query to answer to the question: What league has 2-3 as the aw... | bugdaryan/sql-create-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 (start_station_id VARCHAR, duration VARCHAR); CREATE TABLE station (lat VARCHAR, long VARCHAR, city VARCHAR, id VARCHAR)
Question: What is the latitude, longit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE trip (start_station_id VARCHAR, duration VARCHAR); CREATE TABLE station (lat VARCHAR, long VARCHAR, city VARCHAR, id VARCHAR)
Question: What is the latitude, longitude, 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_14903627_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
Question: WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILU... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14903627_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
Question: WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILUP?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (date VARCHAR, pole_position VARCHAR)
Question: What date was Joakim Bonnier in the pole position?
[/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_21 (date VARCHAR, pole_position VARCHAR)
Question: What date was Joakim Bonnier in the pole position?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (grid VARCHAR, time_retired VARCHAR)
Question: What's the total grid for someone with a time/retire of +44.831
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (grid VARCHAR, time_retired VARCHAR)
Question: What's the total grid for someone with a time/retire of +44.831
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (rogers_cable__ottawa_ VARCHAR, digital_psip VARCHAR, vidéotron__gatineau_ VARCHAR)
Question: What's the total number of Rogers Cable (Ottawa) channel... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (rogers_cable__ottawa_ VARCHAR, digital_psip VARCHAR, vidéotron__gatineau_ VARCHAR)
Question: What's the total number of Rogers Cable (Ottawa) channels that... | bugdaryan/sql-create-context-instruction | |
[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 (winner VARCHAR)
Question: What was the amount of the 1st prize when paul azinger (9) was the winner?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (winner VARCHAR)
Question: What was the amount of the 1st prize when paul azinger (9) was the winner?
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_58 (round VARCHAR, club VARCHAR)
Question: What round did the maccabi haifa fc club have?
[/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_58 (round VARCHAR, club VARCHAR)
Question: What round did the maccabi haifa fc club have?
Here is the SQLite query to answer to the question: What round did 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_52 (parent VARCHAR, height__m_ VARCHAR, prom__m_ VARCHAR)
Question: Which Parent has height smaller than 756 and a Prom of 39?
[/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_52 (parent VARCHAR, height__m_ VARCHAR, prom__m_ VARCHAR)
Question: Which Parent has height smaller than 756 and a Prom of 39?
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_12 (year VARCHAR, runner_up VARCHAR, winner VARCHAR, venue VARCHAR)
Question: When is the winner olympiacos, the venue is georgios karaiskakis stadium an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (year VARCHAR, runner_up VARCHAR, winner VARCHAR, venue VARCHAR)
Question: When is the winner olympiacos, the venue is georgios karaiskakis stadium and 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_31 (player VARCHAR, nationality VARCHAR, pick VARCHAR)
Question: Which player is Pick 33 and has a Nationality of USA?
[/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_31 (player VARCHAR, nationality VARCHAR, pick VARCHAR)
Question: Which player is Pick 33 and has a Nationality of USA?
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_35 (result VARCHAR, score VARCHAR, date VARCHAR)
Question: What is the Result with a Score of 1–0, and a Date with 18 april 2009?
[/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_35 (result VARCHAR, score VARCHAR, date VARCHAR)
Question: What is the Result with a Score of 1–0, and a Date with 18 april 2009?
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_38 (races VARCHAR, points VARCHAR)
Question: Which races did they accumulate at least 125 points?
[/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_38 (races VARCHAR, points VARCHAR)
Question: Which races did they accumulate at least 125 points?
Here is the SQLite query to answer to the question: Which ra... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: Which 2009 has a 2008 of A, and a 2010 of 4r?
[/INST]
Here is the SQLite query to answer to the question: Which 2009 has a 2008... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (Id VARCHAR)
Question: Which 2009 has a 2008 of A, and a 2010 of 4r?
Here is the SQLite query to answer to the question: Which 2009 has a 2008 of A, and 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_90 (losses VARCHAR, wins INTEGER)
Question: How many losses when there are less than 0 wins?
[/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_90 (losses VARCHAR, wins INTEGER)
Question: How many losses when there are less than 0 wins?
Here is the SQLite query to answer to the question: How many loss... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28461589_2 (passes INTEGER, starting VARCHAR)
Question: What is the largest number of passes for players starting exactly 34 games?
[/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_28461589_2 (passes INTEGER, starting VARCHAR)
Question: What is the largest number of passes for players starting exactly 34 games?
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_60 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR)
Question: What time was the kickoff on week 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_60 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR)
Question: What time was the kickoff on week 5?
Here is the SQLite query to answer to the question: What time 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_46 (score VARCHAR, record VARCHAR)
Question: Record of 22–20 involved what score?
[/INST]
Here is the SQLite query to answer to the question: Record of 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR)
Question: Record of 22–20 involved what score?
Here is the SQLite query to answer to the question: Record of 22–20 involved... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28885977_1 (location VARCHAR, built_for VARCHAR)
Question: In what location was a stadium built for the St Kilda Football Club?
[/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_28885977_1 (location VARCHAR, built_for VARCHAR)
Question: In what location was a stadium built for the St Kilda Football Club?
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_24307126_3 (assets_2013__bil$_ VARCHAR, rank_2013 VARCHAR)
Question: Name the assets when the rank is 1435
[/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_24307126_3 (assets_2013__bil$_ VARCHAR, rank_2013 VARCHAR)
Question: Name the assets when the rank is 1435
Here is the SQLite query to answer to the question: Name... | bugdaryan/sql-create-context-instruction | |
[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 (episode INTEGER, performer_4 VARCHAR, performer_2 VARCHAR)
Question: What is the sum of the episode numbers where chip esten is the 4th performer and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (episode INTEGER, performer_4 VARCHAR, performer_2 VARCHAR)
Question: What is the sum of the episode numbers where chip esten is the 4th performer and chris... | bugdaryan/sql-create-context-instruction | |
[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 (event VARCHAR, long_course_short_course VARCHAR, year_set VARCHAR)
Question: What event had a short course in 2010?
[/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_77 (event VARCHAR, long_course_short_course VARCHAR, year_set VARCHAR)
Question: What event had a short course in 2010?
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_1499791_2 (southern_lakota VARCHAR, yankton_yanktonai VARCHAR)
Question: Name the southern lakota for wakȟáŋyeža
[/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_1499791_2 (southern_lakota VARCHAR, yankton_yanktonai VARCHAR)
Question: Name the southern lakota for wakȟáŋyeža
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_75 (winning_team VARCHAR, winning_driver VARCHAR, circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
Question: Which Winning Team has the Faste... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (winning_team VARCHAR, winning_driver VARCHAR, circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
Question: Which Winning Team has the Fastest Lap... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (Id VARCHAR)
Question: What is the 2001 statistic for the product that had 2,360,000 tonnes in 2002?
[/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_91 (Id VARCHAR)
Question: What is the 2001 statistic for the product that had 2,360,000 tonnes in 2002?
Here is the SQLite query to answer to the question: 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_47 (opponent VARCHAR, score VARCHAR)
Question: WHAT OPPONENT HAD A SCORE OF 5:5?
[/INST]
Here is the SQLite query to answer to the question: WHAT OPPONEN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (opponent VARCHAR, score VARCHAR)
Question: WHAT OPPONENT HAD A SCORE OF 5:5?
Here is the SQLite query to answer to the question: WHAT OPPONENT HAD A 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_11960944_4 (high_assists VARCHAR, date VARCHAR)
Question: Who had the high assists on the date December 12?
[/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_11960944_4 (high_assists VARCHAR, date VARCHAR)
Question: Who had the high assists on the date December 12?
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_1137702_3 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
Question: Who was the winning driver when the pole position was held by Ayrton ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137702_3 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
Question: Who was the winning driver when the pole position was held by Ayrton Senna ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR)
Question: When 13,895 (27.3) is the percentage against what is the toll poll perc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR)
Question: When 13,895 (27.3) is the percentage against what is the toll poll percentage... | bugdaryan/sql-create-context-instruction | |
[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 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the total amount of gold medals when there were more than 20 silvers and there were 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the total amount of gold medals when there were more than 20 silvers and there were 135 bro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_261642_3 (frequency__hz_ VARCHAR, g__μs_km_ VARCHAR)
Question: what is the frequency (hz) when the g (μs/km) is 53.205?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_261642_3 (frequency__hz_ VARCHAR, g__μs_km_ VARCHAR)
Question: what is the frequency (hz) when the g (μs/km) is 53.205?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2101431_1 (episode VARCHAR, run_time VARCHAR)
Question: What episode had a run time of 24:18?
[/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_2101431_1 (episode VARCHAR, run_time VARCHAR)
Question: What episode had a run time of 24:18?
Here is the SQLite query to answer to the question: What episode had ... | bugdaryan/sql-create-context-instruction | |
[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 (events VARCHAR, cuts_made VARCHAR, top_10 VARCHAR)
Question: What is the total number of events that had 34 cuts and 3 in the top 10?
[/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_58 (events VARCHAR, cuts_made VARCHAR, top_10 VARCHAR)
Question: What is the total number of events that had 34 cuts and 3 in the top 10?
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_30 (featuring VARCHAR, doctor VARCHAR, series_sorted VARCHAR)
Question: who is the featuring when the doctor is the 6th and the series sorted is 6y/ak?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (featuring VARCHAR, doctor VARCHAR, series_sorted VARCHAR)
Question: who is the featuring when the doctor is the 6th and the series sorted is 6y/ak?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (date VARCHAR, opponent VARCHAR)
Question: What is the date against the Tampa bay Storm?
[/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_63 (date VARCHAR, opponent VARCHAR)
Question: What is the date against the Tampa bay Storm?
Here is the SQLite query to answer to the question: What is the da... | bugdaryan/sql-create-context-instruction | |
[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 (rtm_build VARCHAR, name VARCHAR)
Question: What is the RTM build of the Windows Home Server 2011?
[/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_74 (rtm_build VARCHAR, name VARCHAR)
Question: What is the RTM build of the Windows Home Server 2011?
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_19643196_1 (fleet__number VARCHAR, transmission VARCHAR, engine VARCHAR)
Question: What is the fleet number when the transmission is Voith D863.4 and the engi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19643196_1 (fleet__number VARCHAR, transmission VARCHAR, engine VARCHAR)
Question: What is the fleet number when the transmission is Voith D863.4 and the engine 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_91 (bronze VARCHAR, total INTEGER)
Question: What is the value of bronze with less than 2 in total?
[/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_91 (bronze VARCHAR, total INTEGER)
Question: What is the value of bronze with less than 2 in total?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (fuel_propulsion VARCHAR, numbers__quantity_ordered_ VARCHAR)
Question: Which Fuel Propulsion has Numbers (Quantity Ordered) of 7124-7156 (33 buses)?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (fuel_propulsion VARCHAR, numbers__quantity_ordered_ VARCHAR)
Question: Which Fuel Propulsion has Numbers (Quantity Ordered) of 7124-7156 (33 buses)?
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_25 (northumberland_senior_benevolent_bowl VARCHAR, northumberland_minor_cup VARCHAR)
Question: Who won the Northumberland Senior Benevolent Bowl, when th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (northumberland_senior_benevolent_bowl VARCHAR, northumberland_minor_cup VARCHAR)
Question: Who won the Northumberland Senior Benevolent Bowl, when the Nort... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29273243_1 (written_by VARCHAR, no_in_season VARCHAR)
Question: Who wrote episode number 11?
[/INST]
Here is the SQLite query to answer to the question: Who w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29273243_1 (written_by VARCHAR, no_in_season VARCHAR)
Question: Who wrote episode number 11?
Here is the SQLite query to answer to the question: Who wrote episode ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (against INTEGER, byes INTEGER)
Question: How many Against has Byes smaller than 2?
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (against INTEGER, byes INTEGER)
Question: How many Against has Byes smaller than 2?
Here is the SQLite query to answer to the question: How many Against ha... | bugdaryan/sql-create-context-instruction | |
[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 (day_pass VARCHAR, base_fares VARCHAR)
Question: Which 30-day Pass has a Base Fare of $3?
[/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_74 (day_pass VARCHAR, base_fares VARCHAR)
Question: Which 30-day Pass has a Base Fare of $3?
Here is the SQLite query to answer to the question: Which 30-day ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23308178_9 (attendance VARCHAR, record VARCHAR)
Question: How many times was there a record of 49-15-11?
[/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_23308178_9 (attendance VARCHAR, record VARCHAR)
Question: How many times was there a record of 49-15-11?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21304131_2 (survivor_count VARCHAR, directed_by VARCHAR)
Question: What was the survivor count for the episode directed by Gwyneth Horder-Payton?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21304131_2 (survivor_count VARCHAR, directed_by VARCHAR)
Question: What was the survivor count for the episode directed by Gwyneth Horder-Payton?
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_90 (pick__number INTEGER, player VARCHAR, reg_gp VARCHAR)
Question: What is the lowest Pick # with michael grabner and less than 20 Reg GP?
[/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_90 (pick__number INTEGER, player VARCHAR, reg_gp VARCHAR)
Question: What is the lowest Pick # with michael grabner and less than 20 Reg GP?
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_57 (outcome VARCHAR, tournament VARCHAR)
Question: Name the outcome with tournament of mexico f12, obregón
[/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_57 (outcome VARCHAR, tournament VARCHAR)
Question: Name the outcome with tournament of mexico f12, obregón
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_73 (money___£__ VARCHAR, country VARCHAR)
Question: Name the money for ireland
[/INST]
Here is the SQLite query to answer to the question: Name the money... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (money___£__ VARCHAR, country VARCHAR)
Question: Name the money for ireland
Here is the SQLite query to answer to the question: Name the money for ireland:... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, score VARCHAR, player VARCHAR)
Question: Which To Par has a Score smaller than 70, and a Player of matt kowal?
[/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_33 (to_par VARCHAR, score VARCHAR, player VARCHAR)
Question: Which To Par has a Score smaller than 70, and a Player of matt kowal?
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_75 (date VARCHAR, event VARCHAR)
Question: On what date was a record set in the team pursuit (8 laps) event?
[/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_75 (date VARCHAR, event VARCHAR)
Question: On what date was a record set in the team pursuit (8 laps) event?
Here is the SQLite query to answer to the questio... | 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.