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 Products (name VARCHAR, price VARCHAR)
Question: Select the name and price of the cheapest product.
[/INST]
Here is the SQLite query to answer to the question: Sele... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Products (name VARCHAR, price VARCHAR)
Question: Select the name and price of the cheapest product.
Here is the SQLite query to answer to the question: Select the name 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_24 (against INTEGER, losses VARCHAR, wins VARCHAR)
Question: How many against when losses are 11 and wins are fewer than 5?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (against INTEGER, losses VARCHAR, wins VARCHAR)
Question: How many against when losses are 11 and wins are fewer than 5?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (date VARCHAR, home VARCHAR)
Question: What was the date of the home game for Colorado?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (date VARCHAR, home VARCHAR)
Question: What was the date of the home game for Colorado?
Here is the SQLite query to answer to the question: What was 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_4 (rank INTEGER, moving_to VARCHAR, year VARCHAR)
Question: What rank is the transfer for the milan move in 2000?
[/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_4 (rank INTEGER, moving_to VARCHAR, year VARCHAR)
Question: What rank is the transfer for the milan move in 2000?
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_76 (notes VARCHAR, theme VARCHAR)
Question: What are the notes of the patience theme?
[/INST]
Here is the SQLite query to answer to the question: What ar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (notes VARCHAR, theme VARCHAR)
Question: What are the notes of the patience theme?
Here is the SQLite query to answer to the question: What are the notes 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_62 (outcome VARCHAR, partner VARCHAR)
Question: What was the outcome of the final with a partner of Brett Steven?
[/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_62 (outcome VARCHAR, partner VARCHAR)
Question: What was the outcome of the final with a partner of Brett Steven?
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_92 (date VARCHAR, assist_pass VARCHAR)
Question: On what date is there an assist/pass by Shannon Boxx?
[/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_92 (date VARCHAR, assist_pass VARCHAR)
Question: On what date is there an assist/pass by Shannon Boxx?
Here is the SQLite query to answer to the question: On ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27114708_2 (manner_of_departure VARCHAR, team VARCHAR)
Question: For livorno team mention all the manner of departure
[/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_27114708_2 (manner_of_departure VARCHAR, team VARCHAR)
Question: For livorno team mention all the manner of departure
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_18 (week VARCHAR, attendance VARCHAR)
Question: Which week's game was attended by 65,272 people?
[/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_18 (week VARCHAR, attendance VARCHAR)
Question: Which week's game was attended by 65,272 people?
Here is the SQLite query to answer to the question: Which wee... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10592536_8 (replaced_by VARCHAR, team VARCHAR)
Question: Who replaced when team is wigan athletic?
[/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_10592536_8 (replaced_by VARCHAR, team VARCHAR)
Question: Who replaced when team is wigan athletic?
Here is the SQLite query to answer to the question: Who replaced... | bugdaryan/sql-create-context-instruction | |
[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 (years VARCHAR, assist VARCHAR, games VARCHAR)
Question: Which year or years did a team win 174 games and had an assist number less than 17?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (years VARCHAR, assist VARCHAR, games VARCHAR)
Question: Which year or years did a team win 174 games and had an assist number less than 17?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13282157_3 (points VARCHAR, country VARCHAR)
Question: Name the number of points for south korea
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13282157_3 (points VARCHAR, country VARCHAR)
Question: Name the number of points for south korea
Here is the SQLite query to answer to the question: Name the numbe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (score VARCHAR, home VARCHAR, date VARCHAR)
Question: What was the score of the game on October 20 when the home team is the NY Islanders?
[/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_57 (score VARCHAR, home VARCHAR, date VARCHAR)
Question: What was the score of the game on October 20 when the home team is the NY Islanders?
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_52 (result VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the result of the game after week 5 against the st. louis rams?
[/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_52 (result VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the result of the game after week 5 against the st. louis rams?
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_86 (highest_score VARCHAR)
Question: What is the average value in the 100s category when the high score is 196?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (highest_score VARCHAR)
Question: What is the average value in the 100s category when the high score is 196?
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_name_5 (score VARCHAR, player VARCHAR)
Question: What was Arnold Palmer's score in the tournamnet?
[/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_5 (score VARCHAR, player VARCHAR)
Question: What was Arnold Palmer's score in the tournamnet?
Here is the SQLite query to answer to the question: What was Arn... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (winning_score VARCHAR, date VARCHAR)
Question: What was the winning score on Aug 21, 1977?
[/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_92 (winning_score VARCHAR, date VARCHAR)
Question: What was the winning score on Aug 21, 1977?
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_80 (competition VARCHAR, venue VARCHAR)
Question: What is the competition that was at serravalle, san marino?
[/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_80 (competition VARCHAR, venue VARCHAR)
Question: What is the competition that was at serravalle, san marino?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
Question: What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
Question: What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?
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 orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: What is the name of the customer who has the most orders... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: What is the name of the customer who has the most orders?
Her... | bugdaryan/sql-create-context-instruction | |
[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 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
Question: Which Manhattan number appeared when Richmond (Staten Island) was 78%?
[/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_21 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
Question: Which Manhattan number appeared when Richmond (Staten Island) was 78%?
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_23 (award VARCHAR, recipient VARCHAR)
Question: What award was Hannah Gal the recipient of?
[/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_23 (award VARCHAR, recipient VARCHAR)
Question: What award was Hannah Gal the recipient of?
Here is the SQLite query to answer to the question: What award was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (chassis VARCHAR, rounds VARCHAR, driver VARCHAR)
Question: What is the name of the Chassis of Diver Maria Teresa de Filippis in round 1?
[/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_62 (chassis VARCHAR, rounds VARCHAR, driver VARCHAR)
Question: What is the name of the Chassis of Diver Maria Teresa de Filippis in round 1?
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_68 (catalog VARCHAR, format VARCHAR, date VARCHAR)
Question: What catalog has a format of ED remaster CD and a date of December 19, 2001?
[/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_68 (catalog VARCHAR, format VARCHAR, date VARCHAR)
Question: What catalog has a format of ED remaster CD and a date of December 19, 2001?
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_48 (driver VARCHAR, race_2 VARCHAR)
Question: What is Driver, when Race 2 is 14?
[/INST]
Here is the SQLite query to answer to the question: What is Driv... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (driver VARCHAR, race_2 VARCHAR)
Question: What is Driver, when Race 2 is 14?
Here is the SQLite query to answer to the question: What is Driver, when Race... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16770037_4 (tries_for INTEGER, w VARCHAR)
Question: Name the least tries for when w is 4
[/INST]
Here is the SQLite query to answer to the question: Name the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16770037_4 (tries_for INTEGER, w VARCHAR)
Question: Name the least tries for when w is 4
Here is the SQLite query to answer to the question: Name the least tries f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (runner_up VARCHAR, year VARCHAR, champion VARCHAR)
Question: Which runner-up placed in a year prior to 2006 and whose Champion was Elon?
[/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_66 (runner_up VARCHAR, year VARCHAR, champion VARCHAR)
Question: Which runner-up placed in a year prior to 2006 and whose Champion was Elon?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (goals VARCHAR, games VARCHAR)
Question: How many goals were there in game 47?
[/INST]
Here is the SQLite query to answer to the question: How many go... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (goals VARCHAR, games VARCHAR)
Question: How many goals were there in game 47?
Here is the SQLite query to answer to the question: How many goals were ther... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (date VARCHAR, catalogue VARCHAR)
Question: What is the date for Bron 535 Catalog?
[/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_89 (date VARCHAR, catalogue VARCHAR)
Question: What is the date for Bron 535 Catalog?
Here is the SQLite query to answer to the question: What is the date for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28243691_2 (enrollment VARCHAR, team_nickname VARCHAR)
Question: How many students are enrolled in the team nicknamed Comets?
[/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_28243691_2 (enrollment VARCHAR, team_nickname VARCHAR)
Question: How many students are enrolled in the team nicknamed Comets?
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_29 (laps VARCHAR, driver VARCHAR, grid VARCHAR, points VARCHAR)
Question: How many laps are associated with a grid greater than 8, under 11 points, and w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (laps VARCHAR, driver VARCHAR, grid VARCHAR, points VARCHAR)
Question: How many laps are associated with a grid greater than 8, under 11 points, and will po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14940519_1 (week INTEGER, date VARCHAR)
Question: Name the least week for september 25, 1983
[/INST]
Here is the SQLite query to answer to the question: Name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14940519_1 (week INTEGER, date VARCHAR)
Question: Name the least week for september 25, 1983
Here is the SQLite query to answer to the question: Name the least wee... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, venue VARCHAR)
Question: Who was the home team at MCG?
[/INST]
Here is the SQLite query to answer to the question: Who was the hom... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)
Question: Who was the home team at MCG?
Here is the SQLite query to answer to the question: Who was the home team at MCG... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (term_end VARCHAR, political_party VARCHAR, born_died VARCHAR)
Question: Which Term end has a Political Party of balli kombëtar, and a Born-Died of 19... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (term_end VARCHAR, political_party VARCHAR, born_died VARCHAR)
Question: Which Term end has a Political Party of balli kombëtar, and a Born-Died of 1905–197... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (goals INTEGER, matches VARCHAR, scorer VARCHAR)
Question: Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (goals INTEGER, matches VARCHAR, scorer VARCHAR)
Question: Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in?
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_98 (date VARCHAR, winning_score VARCHAR)
Question: Which Date has a Winning score of −15 (71-69-68-65=273)?
[/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 (date VARCHAR, winning_score VARCHAR)
Question: Which Date has a Winning score of −15 (71-69-68-65=273)?
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 roller_coaster (Country_ID VARCHAR, Height VARCHAR); CREATE TABLE country (Name VARCHAR, population VARCHAR, Country_ID VARCHAR)
Question: Show the name and populat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE roller_coaster (Country_ID VARCHAR, Height VARCHAR); CREATE TABLE country (Name VARCHAR, population VARCHAR, Country_ID VARCHAR)
Question: Show the name and population of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2840500_2 (player VARCHAR, nhl_team VARCHAR)
Question: How many players were drafted by the Edmonton Oilers?
[/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_2840500_2 (player VARCHAR, nhl_team VARCHAR)
Question: How many players were drafted by the Edmonton Oilers?
Here is the SQLite query to answer to the question: Ho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24425491_3 (cover_model VARCHAR)
Question: Who played 20 questions during the issue in which Pamela Horton is on the cover?
[/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_24425491_3 (cover_model VARCHAR)
Question: Who played 20 questions during the issue in which Pamela Horton is on the cover?
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_57 (attendance INTEGER, week VARCHAR)
Question: What is the attendance in week 4?
[/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_57 (attendance INTEGER, week VARCHAR)
Question: What is the attendance in week 4?
Here is the SQLite query to answer to the question: What is the attendance 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_1342013_34 (incumbent VARCHAR, candidates VARCHAR)
Question: who is the the incumbent with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5%
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342013_34 (incumbent VARCHAR, candidates VARCHAR)
Question: who is the the incumbent with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5%
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_54 (silver INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the silver number when gold is more than 4, and the total is less than 24?
[/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_54 (silver INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the silver number when gold is more than 4, and the total is less than 24?
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_12962773_12 (height VARCHAR, no VARCHAR)
Question: What height is player number 9?
[/INST]
Here is the SQLite query to answer to the question: What height is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_12 (height VARCHAR, no VARCHAR)
Question: What height is player number 9?
Here is the SQLite query to answer to the question: What height is player number... | bugdaryan/sql-create-context-instruction | |
[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 (pci_express VARCHAR, memory VARCHAR, model VARCHAR)
Question: What is the PCI-express with a ddr2 memory and a nforce 520 model?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (pci_express VARCHAR, memory VARCHAR, model VARCHAR)
Question: What is the PCI-express with a ddr2 memory and a nforce 520 model?
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_88 (final_position___round VARCHAR, competition VARCHAR)
Question: What is the final position/round of the UEFA cup?
[/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_88 (final_position___round VARCHAR, competition VARCHAR)
Question: What is the final position/round of the UEFA cup?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (team VARCHAR, game VARCHAR)
Question: Which team had a game of 82?
[/INST]
Here is the SQLite query to answer to the question: Which team had a game ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (team VARCHAR, game VARCHAR)
Question: Which team had a game of 82?
Here is the SQLite query to answer to the question: Which team had a game of 82?:
```
S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (attendance VARCHAR, date VARCHAR)
Question: What was the total attendance on 10/05/1974?
[/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_10 (attendance VARCHAR, date VARCHAR)
Question: What was the total attendance on 10/05/1974?
Here is the SQLite query to answer to the question: What 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_23050383_1 (education VARCHAR, economic_incentive_regime VARCHAR)
Question: What is the education when the economic incentive regime is 1.58?
[/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_23050383_1 (education VARCHAR, economic_incentive_regime VARCHAR)
Question: What is the education when the economic incentive regime is 1.58?
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_75 (result VARCHAR, date VARCHAR)
Question: What was the result for 10/04/1947?
[/INST]
Here is the SQLite query to answer to the question: What 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_75 (result VARCHAR, date VARCHAR)
Question: What was the result for 10/04/1947?
Here is the SQLite query to answer to the question: What was the result for 10... | bugdaryan/sql-create-context-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, grand_prix VARCHAR)
Question: Who was the winning driver in the grand prix at Pacific Grand Prix?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137702_3 (winning_driver VARCHAR, grand_prix VARCHAR)
Question: Who was the winning driver in the grand prix at Pacific Grand Prix?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (literacy_rate___percentage____2001_census VARCHAR, _percentage_increase VARCHAR)
Question: What was the literacy rate published in the 2001 census fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (literacy_rate___percentage____2001_census VARCHAR, _percentage_increase VARCHAR)
Question: What was the literacy rate published in the 2001 census for 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_14941284_1 (opponent VARCHAR, date VARCHAR)
Question: When it is October 25, 1981 who is the opponent?
[/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_14941284_1 (opponent VARCHAR, date VARCHAR)
Question: When it is October 25, 1981 who is the opponent?
Here is the SQLite query to answer to the question: When it ... | bugdaryan/sql-create-context-instruction | |
[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 (report VARCHAR, date VARCHAR)
Question: What Report is on June 3, 2000?
[/INST]
Here is the SQLite query to answer to the question: What Report is on... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (report VARCHAR, date VARCHAR)
Question: What Report is on June 3, 2000?
Here is the SQLite query to answer to the question: What Report is on June 3, 2000... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17289604_38 (round_of_32 VARCHAR, athlete VARCHAR)
Question: What were the results for round of 32 for Nicole Vaidišová?
[/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_17289604_38 (round_of_32 VARCHAR, athlete VARCHAR)
Question: What were the results for round of 32 for Nicole Vaidišová?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (network VARCHAR, korean_title VARCHAR)
Question: What network is the Korean title of mbc 베스트극장 - 작은 도둑 on?
[/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_30 (network VARCHAR, korean_title VARCHAR)
Question: What network is the Korean title of mbc 베스트극장 - 작은 도둑 on?
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_23 (frequency VARCHAR, location VARCHAR)
Question: Which frequency is located in Dagupan?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (frequency VARCHAR, location VARCHAR)
Question: Which frequency is located in Dagupan?
Here is the SQLite query to answer to the question: Which frequency ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR)
Question: What was the highest number of votes for mir-hossein mousavi when the number of in... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR)
Question: What was the highest number of votes for mir-hossein mousavi when the number of invalid ... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, structure VARCHAR)
Question: The OMEGA transmitter Chabrier has what country listed?
[/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_59 (country VARCHAR, structure VARCHAR)
Question: The OMEGA transmitter Chabrier has what country listed?
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_31 (date VARCHAR, record VARCHAR)
Question: When was the record 17-17?
[/INST]
Here is the SQLite query to answer to the question: When was the record 17... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)
Question: When was the record 17-17?
Here is the SQLite query to answer to the question: When was the record 17-17?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14601528_2 (class_aA VARCHAR, class_aAA VARCHAR, Bridgeport VARCHAR, school_year VARCHAR)
Question: Name the number of class aa for bridgeport and 1999-2000
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14601528_2 (class_aA VARCHAR, class_aAA VARCHAR, Bridgeport VARCHAR, school_year VARCHAR)
Question: Name the number of class aa for bridgeport and 1999-2000
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_14997324_5 (losses INTEGER, team VARCHAR)
Question: How many losses did 12 de Octubre have ?
[/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_14997324_5 (losses INTEGER, team VARCHAR)
Question: How many losses did 12 de Octubre have ?
Here is the SQLite query to answer to the question: How many losses 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_22915134_2 (graphical VARCHAR, example VARCHAR)
Question: When shinya nakano's kawasaki ninja zx-rr is the example what is the graphical?
[/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_22915134_2 (graphical VARCHAR, example VARCHAR)
Question: When shinya nakano's kawasaki ninja zx-rr is the example what is the graphical?
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_85 (władysławowo_ VARCHAR, _poland VARCHAR, world_record VARCHAR)
Question: What shows for Władysławowo, Poland when the world record was clean & jerk?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (władysławowo_ VARCHAR, _poland VARCHAR, world_record VARCHAR)
Question: What shows for Władysławowo, Poland when the world record was clean & jerk?
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_89 (role VARCHAR, teams VARCHAR)
Question: What role has the team of Troyes AC Grenoble Foot?
[/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_89 (role VARCHAR, teams VARCHAR)
Question: What role has the team of Troyes AC Grenoble Foot?
Here is the SQLite query to answer to the question: What role 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_39 (date VARCHAR, tournament VARCHAR)
Question: What date was the tournament in Indian Wells?
[/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_39 (date VARCHAR, tournament VARCHAR)
Question: What date was the tournament in Indian Wells?
Here is the SQLite query to answer to the question: What date wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2004733_2 (population__2010_ VARCHAR, population_density__2010_ VARCHAR)
Question: In 2010, how many people lived in cities with a population density of 3,965... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2004733_2 (population__2010_ VARCHAR, population_density__2010_ VARCHAR)
Question: In 2010, how many people lived in cities with a population density of 3,965.02?
... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, away_team VARCHAR)
Question: What is the highest attendance of the game with eastwood town as the away team?
[/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_46 (attendance INTEGER, away_team VARCHAR)
Question: What is the highest attendance of the game with eastwood town as the away team?
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_49 (location VARCHAR, event VARCHAR)
Question: What is the location of the match with an event of ecc 8: comeback?
[/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_49 (location VARCHAR, event VARCHAR)
Question: What is the location of the match with an event of ecc 8: comeback?
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_9 (high_rebounds VARCHAR, team VARCHAR)
Question: who had the high rebounds when the team was @ toronto?
[/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_9 (high_rebounds VARCHAR, team VARCHAR)
Question: who had the high rebounds when the team was @ toronto?
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_34 (home_team VARCHAR, venue VARCHAR)
Question: How much was the score of the home team at windy hill?
[/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_34 (home_team VARCHAR, venue VARCHAR)
Question: How much was the score of the home team at windy hill?
Here is the SQLite query to answer to the question: How... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30120560_1 (barony VARCHAR, area__acres__ VARCHAR)
Question: what is the barony and an area of 560?
[/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_30120560_1 (barony VARCHAR, area__acres__ VARCHAR)
Question: what is the barony and an area of 560?
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_name_87 (wins INTEGER, goals_scored VARCHAR, position VARCHAR)
Question: What was the highest win when there were more than 64 goals scored and a position sma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (wins INTEGER, goals_scored VARCHAR, position VARCHAR)
Question: What was the highest win when there were more than 64 goals scored and a position smaller 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_95 (score VARCHAR, home VARCHAR)
Question: What was the score in the game where the Blazers were the home team?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (score VARCHAR, home VARCHAR)
Question: What was the score in the game where the Blazers were the home team?
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 song (song_name VARCHAR, resolution INTEGER); CREATE TABLE song (song_name VARCHAR, f_id VARCHAR); CREATE TABLE files (f_id VARCHAR, formats VARCHAR)
Question: Retu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE song (song_name VARCHAR, resolution INTEGER); CREATE TABLE song (song_name VARCHAR, f_id VARCHAR); CREATE TABLE files (f_id VARCHAR, formats VARCHAR)
Question: Return 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_58 (date VARCHAR, score VARCHAR)
Question: Which Date has a Score of 106–112?
[/INST]
Here is the SQLite query to answer to the question: Which Date has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (date VARCHAR, score VARCHAR)
Question: Which Date has a Score of 106–112?
Here is the SQLite query to answer to the question: Which Date has a Score of 10... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11545282_17 (years_for_jazz VARCHAR, player VARCHAR)
Question: Wht years did truck robinson play?
[/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_11545282_17 (years_for_jazz VARCHAR, player VARCHAR)
Question: Wht years did truck robinson play?
Here is the SQLite query to answer to the question: Wht years did... | bugdaryan/sql-create-context-instruction | |
[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, college VARCHAR)
Question: What is the overall total for players drafted from notre dame?
[/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_25 (overall INTEGER, college VARCHAR)
Question: What is the overall total for players drafted from notre dame?
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_69 (player VARCHAR, position VARCHAR, pick VARCHAR)
Question: Which Player is linebacker and has a pick larger than 28?
[/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_69 (player VARCHAR, position VARCHAR, pick VARCHAR)
Question: Which Player is linebacker and has a pick larger than 28?
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_1 (date VARCHAR, source VARCHAR, murray VARCHAR)
Question: What is the date of the poll where Murray had 11% from the Suffolk University source?
[/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 (date VARCHAR, source VARCHAR, murray VARCHAR)
Question: What is the date of the poll where Murray had 11% from the Suffolk University source?
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 route (train_id VARCHAR); CREATE TABLE train (name VARCHAR, id VARCHAR)
Question: Find the name of the train whose route runs through greatest number of stations.
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE route (train_id VARCHAR); CREATE TABLE train (name VARCHAR, id VARCHAR)
Question: Find the name of the train whose route runs through greatest number of stations.
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_44 (build_year VARCHAR, total_production VARCHAR)
Question: Tell me the build year for total production of 150
[/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_44 (build_year VARCHAR, total_production VARCHAR)
Question: Tell me the build year for total production of 150
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_60 (year VARCHAR)
Question: what shows for 3rd place in 1990?
[/INST]
Here is the SQLite query to answer to the question: what shows for 3rd place in 199... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (year VARCHAR)
Question: what shows for 3rd place in 1990?
Here is the SQLite query to answer to the question: what shows for 3rd place in 1990?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (game INTEGER, january VARCHAR, record VARCHAR)
Question: What is the sum of the games before January 19 with a 27-6-6 record?
[/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_11 (game INTEGER, january VARCHAR, record VARCHAR)
Question: What is the sum of the games before January 19 with a 27-6-6 record?
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_15887683_3 (content VARCHAR, package_option VARCHAR)
Question: What's the content of the Tutti i Pacchetti + Sky HD package?
[/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_15887683_3 (content VARCHAR, package_option VARCHAR)
Question: What's the content of the Tutti i Pacchetti + Sky HD package?
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_19744915_15 (couple VARCHAR, vote_percentage VARCHAR)
Question: What couple had a vote percentage of 7.691%
[/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_19744915_15 (couple VARCHAR, vote_percentage VARCHAR)
Question: What couple had a vote percentage of 7.691%
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (team VARCHAR, high_rebounds VARCHAR)
Question: Name the team which has high rebounds of smith (10)
[/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_96 (team VARCHAR, high_rebounds VARCHAR)
Question: Name the team which has high rebounds of smith (10)
Here is the SQLite query to answer to the question: Nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12547903_2 (callsign VARCHAR, location__transmitter_site_ VARCHAR)
Question: What is the callsign of tuguegarao
[/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_12547903_2 (callsign VARCHAR, location__transmitter_site_ VARCHAR)
Question: What is the callsign of tuguegarao
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 perpetrator (Injured VARCHAR)
Question: List the number of people injured by perpetrators in ascending order.
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE perpetrator (Injured VARCHAR)
Question: List the number of people injured by perpetrators in ascending order.
Here is the SQLite query to answer to the question: List 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_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR)
Question: When winner is the status and 77 is the total days in pbb house what ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR)
Question: When winner is the status and 77 is the total days in pbb house 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_name_81 (ship VARCHAR, country VARCHAR, builder VARCHAR)
Question: What ship was built by Palmers Shipbuilding and Iron Company for the Royal Navy?
[/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_81 (ship VARCHAR, country VARCHAR, builder VARCHAR)
Question: What ship was built by Palmers Shipbuilding and Iron Company for the Royal Navy?
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_26 (silver INTEGER, gold VARCHAR, total VARCHAR)
Question: How many silver medals were won when there were 4 gold and 22 in total?
[/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_26 (silver INTEGER, gold VARCHAR, total VARCHAR)
Question: How many silver medals were won when there were 4 gold and 22 in total?
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_10361625_1 (player_name VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the name of the linebacker at Illinois college?
[/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_10361625_1 (player_name VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the name of the linebacker at Illinois college?
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_59 (director VARCHAR, original_title VARCHAR)
Question: Who is the Director of the Original title of The Crying Game?
[/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_59 (director VARCHAR, original_title VARCHAR)
Question: Who is the Director of the Original title of The Crying Game?
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 (goal_difference INTEGER, club VARCHAR, played VARCHAR)
Question: What is the lowest goal difference for the club ud alzira, with a played larger than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (goal_difference INTEGER, club VARCHAR, played VARCHAR)
Question: What is the lowest goal difference for the club ud alzira, with a played larger than 38?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE inst (name VARCHAR, instid VARCHAR)
Q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE inst (name VARCHAR, instid 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_name_22 (to_par INTEGER, player VARCHAR)
Question: What is the average To Par, when Player is "Julius Boros"?
[/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_22 (to_par INTEGER, player VARCHAR)
Question: What is the average To Par, when Player is "Julius Boros"?
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_120778_1 (for_prohibition INTEGER)
Question: Name the minimum for prohibition?
[/INST]
Here is the SQLite query to answer to the question: Name the minimum fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_120778_1 (for_prohibition INTEGER)
Question: Name the minimum for prohibition?
Here is the SQLite query to answer to the question: Name the minimum for prohibition... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17480471_3 (eagle_riders VARCHAR, battle_of_the_planets VARCHAR)
Question: Which eagle riders have battle of the planets as zoltar?
[/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_17480471_3 (eagle_riders VARCHAR, battle_of_the_planets VARCHAR)
Question: Which eagle riders have battle of the planets as zoltar?
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_97 (place VARCHAR, country VARCHAR)
Question: What place did the player from South Africa finish?
[/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_97 (place VARCHAR, country VARCHAR)
Question: What place did the player from South Africa finish?
Here is the SQLite query to answer to the question: What pla... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR)
Question: What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
[/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_32 (tournament VARCHAR)
Question: What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
Here is the SQLite query to answer to th... | 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.