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_67 (builder VARCHAR, wheels VARCHAR, railway VARCHAR)
Question: Who was the Builder when the wheels were 4-4-0 and the railway was GCR?
[/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_67 (builder VARCHAR, wheels VARCHAR, railway VARCHAR)
Question: Who was the Builder when the wheels were 4-4-0 and the railway was GCR?
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_21831229_3 (original_us_air_date VARCHAR, prod_code VARCHAR)
Question: What was the date that the episode with a production code of 213 was originally aired?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21831229_3 (original_us_air_date VARCHAR, prod_code VARCHAR)
Question: What was the date that the episode with a production code of 213 was originally aired?
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_7 (matches INTEGER, goals VARCHAR, rank VARCHAR)
Question: Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (matches INTEGER, goals VARCHAR, rank VARCHAR)
Question: Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9?
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_29 (network VARCHAR, model VARCHAR)
Question: Which network has model nForce Professional 3400 MCP?
[/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_29 (network VARCHAR, model VARCHAR)
Question: Which network has model nForce Professional 3400 MCP?
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_41 (pba_team VARCHAR, pick VARCHAR, player VARCHAR)
Question: What is the PBA team for roberto jabar who was picked before number 11?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (pba_team VARCHAR, pick VARCHAR, player VARCHAR)
Question: What is the PBA team for roberto jabar who was picked before number 11?
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_54 (division VARCHAR, season VARCHAR, goals VARCHAR)
Question: What's the total number of all divisions during the 2006/07 season where they scored more ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (division VARCHAR, season VARCHAR, goals VARCHAR)
Question: What's the total number of all divisions during the 2006/07 season where they scored more than 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_36 (competition VARCHAR, venue VARCHAR, result VARCHAR)
Question: Which Competition has a Venue of Seoul, and Result of 4-1?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (competition VARCHAR, venue VARCHAR, result VARCHAR)
Question: Which Competition has a Venue of Seoul, and Result of 4-1?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (incumbent VARCHAR, results VARCHAR)
Question: Who is the Incumbent with Results of 68% 32%?
[/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_1 (incumbent VARCHAR, results VARCHAR)
Question: Who is the Incumbent with Results of 68% 32%?
Here is the SQLite query to answer to the question: Who 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_51 (wins INTEGER, byes VARCHAR, against VARCHAR, losses VARCHAR)
Question: What is the average Wins, when Against is less than 1786, when Losses is less ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (wins INTEGER, byes VARCHAR, against VARCHAR, losses VARCHAR)
Question: What is the average Wins, when Against is less than 1786, when Losses is less than 4... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25355392_2 (june_10_11 VARCHAR, march_27_29 VARCHAR)
Question: what is june 10-11 when march 27-29 is 149?
[/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_25355392_2 (june_10_11 VARCHAR, march_27_29 VARCHAR)
Question: what is june 10-11 when march 27-29 is 149?
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_86 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team score at junction oval?
[/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_86 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team score at junction oval?
Here is the SQLite query to answer to the question: What was th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)
Question: Which Home team has a Score of 1–1, and an Away team of tottenham hotspur?
[/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_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)
Question: Which Home team has a Score of 1–1, and an Away team of tottenham hotspur?
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 airports (name VARCHAR, elevation INTEGER)
Question: Find the name of airports whose altitude is between -50 and 50.
[/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 airports (name VARCHAR, elevation INTEGER)
Question: Find the name of airports whose altitude is between -50 and 50.
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_20 (loss VARCHAR, date VARCHAR)
Question: Name the loss on may 29
[/INST]
Here is the SQLite query to answer to the question: Name the loss on may 29:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (loss VARCHAR, date VARCHAR)
Question: Name the loss on may 29
Here is the SQLite query to answer to the question: Name the loss on may 29:
```
SELECT 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_name_27 (award VARCHAR, work VARCHAR, year VARCHAR)
Question: Which award did Scream receive a nomination and/or win for in 1997?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (award VARCHAR, work VARCHAR, year VARCHAR)
Question: Which award did Scream receive a nomination and/or win for in 1997?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22603701_1 (position VARCHAR, college VARCHAR)
Question: What are the positions for Menlo College?
[/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_22603701_1 (position VARCHAR, college VARCHAR)
Question: What are the positions for Menlo College?
Here is the SQLite query to answer to the question: What are th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (surface VARCHAR, track VARCHAR)
Question: What is the surface for the riverhead raceway?
[/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_84 (surface VARCHAR, track VARCHAR)
Question: What is the surface for the riverhead raceway?
Here is the SQLite query to answer to the question: What 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_19614212_1 (_percentage_same_sex_marriages VARCHAR, marriages_between_men VARCHAR)
Question: How many % same-sex marriages are marriages between men for 923? ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, marriages_between_men VARCHAR)
Question: How many % same-sex marriages are marriages between men for 923?
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_40 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
Question: How many silver medals are there with 3 gold medals at a rank above 1?
[/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_40 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
Question: How many silver medals are there with 3 gold medals at a rank above 1?
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 Student (Id VARCHAR)
Question: How many students are there?
[/INST]
Here is the SQLite query to answer to the question: How many students are there?:
```
SELECT COU... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (Id VARCHAR)
Question: How many students are there?
Here is the SQLite query to answer to the question: How many students are there?:
```
SELECT COUNT(*) FROM St... | bugdaryan/sql-create-context-instruction | |
[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 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: What is Nation, when Bronze is 1, when Gold is greater than 0, and when Rank is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: What is Nation, when Bronze is 1, when Gold is greater than 0, and when Rank is 2?
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_6 (date VARCHAR, network_brand_name VARCHAR)
Question: What date was Movistar accredited?
[/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_6 (date VARCHAR, network_brand_name VARCHAR)
Question: What date was Movistar accredited?
Here is the SQLite query to answer to the question: What date was Mo... | bugdaryan/sql-create-context-instruction | |
[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 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR)
Question: Which Year completed has a Dam type of concrete gravity, and an ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR)
Question: Which Year completed has a Dam type of concrete gravity, and an Impoun... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
Question: Which Round has a School/Club Team of indiana, and a Pick smaller than 198?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
Question: Which Round has a School/Club Team of indiana, and a Pick smaller than 198?
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_11964154_11 (high_assists VARCHAR, team VARCHAR)
Question: Who had the high assists @ Dallas?
[/INST]
Here is the SQLite query to answer to the question: Who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11964154_11 (high_assists VARCHAR, team VARCHAR)
Question: Who had the high assists @ Dallas?
Here is the SQLite query to answer to the question: Who had the high ... | bugdaryan/sql-create-context-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 (series VARCHAR, points VARCHAR)
Question: Which series with 62 points?
[/INST]
Here is the SQLite query to answer to the question: Which series wi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10705060_1 (series VARCHAR, points VARCHAR)
Question: Which series with 62 points?
Here is the SQLite query to answer to the question: Which series with 62 points?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (player VARCHAR, pick__number INTEGER)
Question: What player is picked before 2?
[/INST]
Here is the SQLite query to answer to the question: What play... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (player VARCHAR, pick__number INTEGER)
Question: What player is picked before 2?
Here is the SQLite query to answer to the question: What player is picked ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (country VARCHAR, rank VARCHAR)
Question: What country was rank 1?
[/INST]
Here is the SQLite query to answer to the question: What country was rank 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (country VARCHAR, rank VARCHAR)
Question: What country was rank 1?
Here is the SQLite query to answer to the question: What country was rank 1?:
```
SELECT... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (pick__number INTEGER, cfl_team VARCHAR)
Question: what is the highest pick number of the CFL team, the winnipeg blue bombers?
[/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_42 (pick__number INTEGER, cfl_team VARCHAR)
Question: what is the highest pick number of the CFL team, the winnipeg blue bombers?
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_62 (authority VARCHAR, decile VARCHAR, roll VARCHAR)
Question: What Authority has a decile greater than 5, with a roll of 170?
[/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_62 (authority VARCHAR, decile VARCHAR, roll VARCHAR)
Question: What Authority has a decile greater than 5, with a roll of 170?
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_1341522_50 (status VARCHAR, opponent VARCHAR)
Question: What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%
[/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_1341522_50 (status VARCHAR, opponent VARCHAR)
Question: What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%
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 Apartments (apt_type_code VARCHAR)
Question: Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascendin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Apartments (apt_type_code VARCHAR)
Question: Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascending orde... | bugdaryan/sql-create-context-instruction | |
[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 (january INTEGER, record VARCHAR, points VARCHAR)
Question: How much January has a Record of 26–12–6, and Points smaller than 58?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (january INTEGER, record VARCHAR, points VARCHAR)
Question: How much January has a Record of 26–12–6, and Points smaller than 58?
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_43 (rate INTEGER, rank INTEGER)
Question: When rank is more than 10, what is the total rate?
[/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_43 (rate INTEGER, rank INTEGER)
Question: When rank is more than 10, what is the total rate?
Here is the SQLite query to answer to the question: When rank 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_82 (wins INTEGER, points VARCHAR, draws VARCHAR, club VARCHAR)
Question: What is the highest number of wins for club Cd Orense, with points greater than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (wins INTEGER, points VARCHAR, draws VARCHAR, club VARCHAR)
Question: What is the highest number of wins for club Cd Orense, with points greater than 36 and... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19704392_1 (rpm VARCHAR, standard_speed__6th_gear_ VARCHAR)
Question: when standard speed (6th gear) is 88, what is the rpm?
[/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_19704392_1 (rpm VARCHAR, standard_speed__6th_gear_ VARCHAR)
Question: when standard speed (6th gear) is 88, what is the rpm?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR)
Question: Who was the opponent on August 14?
[/INST]
Here is the SQLite query to answer to the question: Who was 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 (opponent VARCHAR, date VARCHAR)
Question: Who was the opponent on August 14?
Here is the SQLite query to answer to the question: Who was the opponent on 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_65 (year INTEGER, points INTEGER)
Question: Which year did the team receive more than 0 points?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (year INTEGER, points INTEGER)
Question: Which year did the team receive more than 0 points?
Here is the SQLite query to answer to the question: Which year... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Settlements (claim_id VARCHAR); CREATE TABLE Claims (claim_id VARCHAR, Date_Claim_Settled VARCHAR)
Question: How many settlements were made on the claim with the mo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Settlements (claim_id VARCHAR); CREATE TABLE Claims (claim_id VARCHAR, Date_Claim_Settled VARCHAR)
Question: How many settlements were made on the claim with the most rec... | bugdaryan/sql-create-context-instruction | |
[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 (incumbent VARCHAR, results VARCHAR, first_elected VARCHAR)
Question: Who is the incumbent that has been in office since before 1996 and was again re-... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (incumbent VARCHAR, results VARCHAR, first_elected VARCHAR)
Question: Who is the incumbent that has been in office since before 1996 and was again re-electe... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, h___a VARCHAR, date VARCHAR)
Question: How many Attendances have a H / A of h on 7 march 1903?
[/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_47 (attendance INTEGER, h___a VARCHAR, date VARCHAR)
Question: How many Attendances have a H / A of h on 7 march 1903?
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_12 (season VARCHAR, viewer_rank___number_ VARCHAR)
Question: When did the season premiere that had a viewer rank of #6?
[/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_12 (season VARCHAR, viewer_rank___number_ VARCHAR)
Question: When did the season premiere that had a viewer rank of #6?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (winning_constructor VARCHAR, name VARCHAR)
Question: What Winning constructor has a Name of grand prix de la marne?
[/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_97 (winning_constructor VARCHAR, name VARCHAR)
Question: What Winning constructor has a Name of grand prix de la marne?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (score VARCHAR, home VARCHAR, record VARCHAR)
Question: Name the score for detroit home and record of 33-18-9
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (score VARCHAR, home VARCHAR, record VARCHAR)
Question: Name the score for detroit home and record of 33-18-9
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (time VARCHAR, grid VARCHAR)
Question: What is time of manufacturer with grid 21?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (time VARCHAR, grid VARCHAR)
Question: What is time of manufacturer with grid 21?
Here is the SQLite query to answer to the question: What is time of manuf... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25595209_1 (state_country VARCHAR, loa__metres_ VARCHAR)
Question: What the is the state that the boat is from with LOA of 19.50?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25595209_1 (state_country VARCHAR, loa__metres_ VARCHAR)
Question: What the is the state that the boat is from with LOA of 19.50?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (winning_score VARCHAR, date VARCHAR)
Question: For the tournament played on 16 Jan 2011, what was the winning score?
[/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_21 (winning_score VARCHAR, date VARCHAR)
Question: For the tournament played on 16 Jan 2011, what was the winning score?
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 Organizations (organization_details VARCHAR, organization_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, type_of_Thing_Code VARCHAR, organization_id VARCHAR)
Q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Organizations (organization_details VARCHAR, organization_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, type_of_Thing_Code VARCHAR, organization_id VARCHAR)
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_174491_1 (fis_nordic_world_ski_championships VARCHAR, country VARCHAR, holmenkollen VARCHAR)
Question: What year did the man from Norway who won the Holmenkol... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_174491_1 (fis_nordic_world_ski_championships VARCHAR, country VARCHAR, holmenkollen VARCHAR)
Question: What year did the man from Norway who won the Holmenkollen in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19810459_1 (contestant VARCHAR, background VARCHAR)
Question: For how many contestants was the background internet dreamer?
[/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_19810459_1 (contestant VARCHAR, background VARCHAR)
Question: For how many contestants was the background internet dreamer?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (grid VARCHAR, laps VARCHAR)
Question: What grid has 2 laps?
[/INST]
Here is the SQLite query to answer to the question: What grid has 2 laps?:
```
SE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (grid VARCHAR, laps VARCHAR)
Question: What grid has 2 laps?
Here is the SQLite query to answer to the question: What grid has 2 laps?:
```
SELECT grid FRO... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ROLES (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR)
Question: List roles that have more than one employee. List the role description and number of employees.
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ROLES (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR)
Question: List roles that have more than one employee. List the role description and number of employees.
Here is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (place VARCHAR, country VARCHAR, score VARCHAR)
Question: What place in the United States having a score of 67-75-68=210?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (place VARCHAR, country VARCHAR, score VARCHAR)
Question: What place in the United States having a score of 67-75-68=210?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668416_18 (candidates VARCHAR, district VARCHAR)
Question: If the district is Virginia 17, who are the candidates?
[/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_2668416_18 (candidates VARCHAR, district VARCHAR)
Question: If the district is Virginia 17, who are the candidates?
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_76 (score_in_the_final VARCHAR, date VARCHAR)
Question: What score in the final has november 3, 2002 as the date?
[/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_76 (score_in_the_final VARCHAR, date VARCHAR)
Question: What score in the final has november 3, 2002 as the date?
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_82 (pick INTEGER, player VARCHAR, round VARCHAR)
Question: What is the average Pick, when Player is "Willie White",and when Round is less than 2?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (pick INTEGER, player VARCHAR, round VARCHAR)
Question: What is the average Pick, when Player is "Willie White",and when Round is less than 2?
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_25 (overall INTEGER, pick__number VARCHAR)
Question: How much Overall has a Pick # of 26?
[/INST]
Here is the SQLite query to answer to the question: How... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (overall INTEGER, pick__number VARCHAR)
Question: How much Overall has a Pick # of 26?
Here is the SQLite query to answer to the question: How much Overall... | bugdaryan/sql-create-context-instruction | |
[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 (round VARCHAR, name VARCHAR)
Question: How many rounds had a race name of anglia tv trophy?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (round VARCHAR, name VARCHAR)
Question: How many rounds had a race name of anglia tv trophy?
Here is the SQLite query to answer to the question: How many 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_74 (score VARCHAR, date VARCHAR)
Question: What was the final score of the game on June 17?
[/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_74 (score VARCHAR, date VARCHAR)
Question: What was the final score of the game on June 17?
Here is the SQLite query to answer to the question: What was the f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23614702_2 (horse__power VARCHAR, warship VARCHAR)
Question: How man horse power did the ship covadonga have?
[/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_23614702_2 (horse__power VARCHAR, warship VARCHAR)
Question: How man horse power did the ship covadonga have?
Here is the SQLite query to answer to the question: 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_65 (macros VARCHAR, software VARCHAR)
Question: Are the there macros in the Tabula software?
[/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 (macros VARCHAR, software VARCHAR)
Question: Are the there macros in the Tabula software?
Here is the SQLite query to answer to the question: Are the there... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (duration VARCHAR, test_flight VARCHAR)
Question: What it Duration, when Test Flight is Free Flight #3?
[/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_79 (duration VARCHAR, test_flight VARCHAR)
Question: What it Duration, when Test Flight is Free Flight #3?
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_95 (extra_points_1_point INTEGER, player VARCHAR)
Question: Which Extra points 1 point is the lowest one that has a Player of walter shaw?
[/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 (extra_points_1_point INTEGER, player VARCHAR)
Question: Which Extra points 1 point is the lowest one that has a Player of walter shaw?
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_5 (score VARCHAR, tournament VARCHAR)
Question: What was the score of the tournament in Wellington?
[/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_5 (score VARCHAR, tournament VARCHAR)
Question: What was the score of the tournament in Wellington?
Here is the SQLite query to answer to the question: What 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_15824796_3 (title VARCHAR, original_air_date VARCHAR)
Question: What is the title of the episode that aired on december 12, 1953?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15824796_3 (title VARCHAR, original_air_date VARCHAR)
Question: What is the title of the episode that aired on december 12, 1953?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (april INTEGER, game VARCHAR)
Question: Which April has a Game of 84
[/INST]
Here is the SQLite query to answer to the question: Which April has a Gam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (april INTEGER, game VARCHAR)
Question: Which April has a Game of 84
Here is the SQLite query to answer to the question: Which April has a Game of 84:
```
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25531112_2 (challenge VARCHAR, circuit VARCHAR)
Question: Who made the challenge on the Albert Park Grand Prix Circuit?
[/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_25531112_2 (challenge VARCHAR, circuit VARCHAR)
Question: Who made the challenge on the Albert Park Grand Prix Circuit?
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_26961951_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
Question: Which episode number had a viewership of 0.56 million?
[/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_26961951_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
Question: Which episode number had a viewership of 0.56 million?
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_50 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team when Footscray was the away team?
[/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_50 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team when Footscray was the away team?
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_15778392_1 (result VARCHAR, original_artist VARCHAR)
Question: WHAT IS THE RESULT FOR THE SONG WHERE THE ORIGINAL ARTIST IS BETTY EVERETT?
[/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_15778392_1 (result VARCHAR, original_artist VARCHAR)
Question: WHAT IS THE RESULT FOR THE SONG WHERE THE ORIGINAL ARTIST IS BETTY EVERETT?
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_52 (team VARCHAR, date_of_vacancy VARCHAR)
Question: I want the team for date of vacancy being 28 february
[/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_52 (team VARCHAR, date_of_vacancy VARCHAR)
Question: I want the team for date of vacancy being 28 february
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_25 (guest VARCHAR, time VARCHAR, date VARCHAR, result VARCHAR)
Question: Who was the guest on 24.11.07 when the result was 0:1 at 16:00?
[/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_25 (guest VARCHAR, time VARCHAR, date VARCHAR, result VARCHAR)
Question: Who was the guest on 24.11.07 when the result was 0:1 at 16:00?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (player VARCHAR, country VARCHAR)
Question: What player is from Wales?
[/INST]
Here is the SQLite query to answer to the question: What player is from... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (player VARCHAR, country VARCHAR)
Question: What player is from Wales?
Here is the SQLite query to answer to the question: What player is from Wales?:
```
... | bugdaryan/sql-create-context-instruction | |
[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 (capacity___mw__ INTEGER, rank VARCHAR, province VARCHAR)
Question: what is the least capacity (mw) when the rank is less than 46 and the province is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (capacity___mw__ INTEGER, rank VARCHAR, province VARCHAR)
Question: what is the least capacity (mw) when the rank is less than 46 and the province is newfou... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (drawn INTEGER, games INTEGER)
Question: What are the highest number of games drawn for games numbered under 6?
[/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_80 (drawn INTEGER, games INTEGER)
Question: What are the highest number of games drawn for games numbered under 6?
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_56 (role VARCHAR, director VARCHAR, title VARCHAR)
Question: What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury?
[/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_56 (role VARCHAR, director VARCHAR, title VARCHAR)
Question: What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury?
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_34 (gold INTEGER, rank VARCHAR, silver VARCHAR)
Question: How many Gold for the Nation in Rank 15 with 0 Silver?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (gold INTEGER, rank VARCHAR, silver VARCHAR)
Question: How many Gold for the Nation in Rank 15 with 0 Silver?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (away_team VARCHAR, round VARCHAR, home_team VARCHAR)
Question: In the 6th round match with home team Bahia, who was the away team?
[/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_96 (away_team VARCHAR, round VARCHAR, home_team VARCHAR)
Question: In the 6th round match with home team Bahia, who was the away team?
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_30 (game INTEGER, team VARCHAR)
Question: Can you tell me the average Game that has the Team of @ boston?
[/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_30 (game INTEGER, team VARCHAR)
Question: Can you tell me the average Game that has the Team of @ boston?
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_32 (points INTEGER, year VARCHAR, chassis VARCHAR)
Question: How many points did Connaught Type A chassis earn on average before 1955?
[/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_32 (points INTEGER, year VARCHAR, chassis VARCHAR)
Question: How many points did Connaught Type A chassis earn on average before 1955?
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_28 (extra VARCHAR, result VARCHAR, tournament VARCHAR)
Question: What is the extra when the result is 4th at the NCAA Championships?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (extra VARCHAR, result VARCHAR, tournament VARCHAR)
Question: What is the extra when the result is 4th at the NCAA Championships?
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_56 (date VARCHAR, machine VARCHAR, rider VARCHAR)
Question: Harry l Stephen rides a Norton machine on what date?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (date VARCHAR, machine VARCHAR, rider VARCHAR)
Question: Harry l Stephen rides a Norton machine on what date?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (english_country_name VARCHAR, english_capital_name VARCHAR)
Question: What is the English name of the country that has Doha as its capital?
[/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_5 (english_country_name VARCHAR, english_capital_name VARCHAR)
Question: What is the English name of the country that has Doha as its capital?
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_97 (java_ee_compatibility VARCHAR, edition VARCHAR)
Question: What is the Java EE compatibility of the 5.2.4 edition?
[/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_97 (java_ee_compatibility VARCHAR, edition VARCHAR)
Question: What is the Java EE compatibility of the 5.2.4 edition?
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_59 (round VARCHAR, prize_money VARCHAR)
Question: What is the Round with a Prize of money that is £120,000?
[/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_59 (round VARCHAR, prize_money VARCHAR)
Question: What is the Round with a Prize of money that is £120,000?
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_49 (ending VARCHAR, british VARCHAR, examples VARCHAR)
Question: Which Ending has British of iz, and Examples of achilles, appendices, fæces?
[/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_49 (ending VARCHAR, british VARCHAR, examples VARCHAR)
Question: Which Ending has British of iz, and Examples of achilles, appendices, fæces?
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 orchestra (Major_Record_Format VARCHAR)
Question: Please show the record formats of orchestras in ascending order of count.
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE orchestra (Major_Record_Format VARCHAR)
Question: Please show the record formats of orchestras in ascending order of count.
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (crowd VARCHAR, away_team VARCHAR)
Question: How many people attended the game where Footscray was away?
[/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_29 (crowd VARCHAR, away_team VARCHAR)
Question: How many people attended the game where Footscray was away?
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_15852257_1 (poles VARCHAR, series VARCHAR, final_placing VARCHAR)
Question: What is the total number of poles values in the Formula Renault 2.0 Eurocup with a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15852257_1 (poles VARCHAR, series VARCHAR, final_placing VARCHAR)
Question: What is the total number of poles values in the Formula Renault 2.0 Eurocup with a 10th ... | bugdaryan/sql-create-context-instruction | |
[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 (constructor VARCHAR, grid VARCHAR)
Question: Who was the constructor when the grid was 11?
[/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 (constructor VARCHAR, grid VARCHAR)
Question: Who was the constructor when the grid was 11?
Here is the SQLite query to answer to the question: Who was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (location VARCHAR, record VARCHAR)
Question: Where was the game played when the Buffalo Bills had a record of 8-8?
[/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_80 (location VARCHAR, record VARCHAR)
Question: Where was the game played when the Buffalo Bills had a record of 8-8?
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_91 (character VARCHAR, episodes INTEGER)
Question: What character is in over 22 episodes?
[/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 (character VARCHAR, episodes INTEGER)
Question: What character is in over 22 episodes?
Here is the SQLite query to answer to the question: What character 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_16581695_3 (title VARCHAR, written_by VARCHAR)
Question: What title was written by Matt Wayne?
[/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_16581695_3 (title VARCHAR, written_by VARCHAR)
Question: What title was written by Matt Wayne?
Here is the SQLite query to answer to the question: What title was 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_2 (second VARCHAR, fourth VARCHAR, fifth VARCHAR, sixth VARCHAR)
Question: What team placed second during the season where Western Australia placed fifth... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (second VARCHAR, fourth VARCHAR, fifth VARCHAR, sixth VARCHAR)
Question: What team placed second during the season where Western Australia placed fifth, Sout... | bugdaryan/sql-create-context-instruction | |
[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 (series VARCHAR, launch_date VARCHAR)
Question: What is Series, when Launch Date is 23 February 2013?
[/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_16 (series VARCHAR, launch_date VARCHAR)
Question: What is Series, when Launch Date is 23 February 2013?
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_96 (Id VARCHAR)
Question: Which 2006 tournament had a 4R performance in 2001?
[/INST]
Here is the SQLite query to answer to the question: Which 2006 tour... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (Id VARCHAR)
Question: Which 2006 tournament had a 4R performance in 2001?
Here is the SQLite query to answer to the question: Which 2006 tournament had a ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (skip VARCHAR, third VARCHAR)
Question: Which Skip has a Third of tony angiboust?
[/INST]
Here is the SQLite query to answer to the question: Which Sk... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (skip VARCHAR, third VARCHAR)
Question: Which Skip has a Third of tony angiboust?
Here is the SQLite query to answer to the question: Which Skip has a Thir... | bugdaryan/sql-create-context-instruction | |
[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 INTEGER, venue VARCHAR, date VARCHAR)
Question: On 1 september 2007, at the Venue A, what was the average attendance?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (attendance INTEGER, venue VARCHAR, date VARCHAR)
Question: On 1 september 2007, at the Venue A, what was the average attendance?
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_16376436_1 (pick__number INTEGER, player VARCHAR)
Question: What is the pick number for the player Garry Lewis?
[/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_16376436_1 (pick__number INTEGER, player VARCHAR)
Question: What is the pick number for the player Garry Lewis?
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_24 (height__ft_ INTEGER, floors VARCHAR, city VARCHAR, height__m_ VARCHAR)
Question: What is the smallest height (ft) of a building in Frankfurt with a h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (height__ft_ INTEGER, floors VARCHAR, city VARCHAR, height__m_ VARCHAR)
Question: What is the smallest height (ft) of a building in Frankfurt with a height ... | 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.