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_78 (time_retired VARCHAR, laps VARCHAR, rider VARCHAR)
Question: Which Time/Retired has Laps smaller than 14, and a Rider of darren barton?
[/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_78 (time_retired VARCHAR, laps VARCHAR, rider VARCHAR)
Question: Which Time/Retired has Laps smaller than 14, and a Rider of darren barton?
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 Customers_cards (Id VARCHAR)
Question: Show the number of customer cards.
[/INST]
Here is the SQLite query to answer to the question: Show the number of customer ca... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Customers_cards (Id VARCHAR)
Question: Show the number of customer cards.
Here is the SQLite query to answer to the question: Show the number of customer cards.:
```
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_name_79 (goals_scored INTEGER, games_played INTEGER)
Question: What is the sum of Goals scored when there was less than 20 Games played?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (goals_scored INTEGER, games_played INTEGER)
Question: What is the sum of Goals scored when there was less than 20 Games played?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (game INTEGER, points INTEGER)
Question: Which Game is the lowest one that has Points smaller than 92?
[/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_14 (game INTEGER, points INTEGER)
Question: Which Game is the lowest one that has Points smaller than 92?
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_16768245_2 (latitude VARCHAR, diameter VARCHAR)
Question: What is the latitude when the diameter is 184.0?
[/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_16768245_2 (latitude VARCHAR, diameter VARCHAR)
Question: What is the latitude when the diameter is 184.0?
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_1449176_1 (population VARCHAR, common_of VARCHAR)
Question: How may population figures are given for Settimo Torinese
[/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_1449176_1 (population VARCHAR, common_of VARCHAR)
Question: How may population figures are given for Settimo Torinese
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_25 (round INTEGER, college VARCHAR, pick VARCHAR)
Question: What is the lowest Round, when College is "Washington State", and when Pick is less than 48?
... | 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 INTEGER, college VARCHAR, pick VARCHAR)
Question: What is the lowest Round, when College is "Washington State", and when Pick is less than 48?
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_60 (club VARCHAR, losses VARCHAR, wins VARCHAR)
Question: Which club has 15 losses and 14 wins?
[/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_60 (club VARCHAR, losses VARCHAR, wins VARCHAR)
Question: Which club has 15 losses and 14 wins?
Here is the SQLite query to answer to the question: Which club... | bugdaryan/sql-create-context-instruction | |
[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 (time_retired VARCHAR, car_no VARCHAR)
Question: What was the time/retired of car number 6.
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (time_retired VARCHAR, car_no VARCHAR)
Question: What was the time/retired of car number 6.
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_67 (sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR)
Question: What is the sequence length (aa) of the pro... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR)
Question: What is the sequence length (aa) of the protein 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_75 (silver INTEGER, rank VARCHAR, gold VARCHAR)
Question: What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (silver INTEGER, rank VARCHAR, gold VARCHAR)
Question: What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold ... | bugdaryan/sql-create-context-instruction | |
[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 (goals VARCHAR, rank VARCHAR)
Question: How many goals ranked 6?
[/INST]
Here is the SQLite query to answer to the question: How many goals ranked 6?:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (goals VARCHAR, rank VARCHAR)
Question: How many goals ranked 6?
Here is the SQLite query to answer to the question: How many goals ranked 6?:
```
SELECT C... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Date VARCHAR, Venue VARCHAR, Debate_ID VARCHAR); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmativ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Date VARCHAR, Venue VARCHAR, Debate_ID VARCHAR); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARC... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: Which 2008 had a 1998 and 2006 that were a when 2009 was sf?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (Id VARCHAR)
Question: Which 2008 had a 1998 and 2006 that were a when 2009 was sf?
Here is the SQLite query to answer to the question: Which 2008 had a 19... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, week VARCHAR)
Question: Who was the Opponent in Week 7?
[/INST]
Here is the SQLite query to answer to the question: Who was the Opp... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR)
Question: Who was the Opponent in Week 7?
Here is the SQLite query to answer to the question: Who was the Opponent in Week... | bugdaryan/sql-create-context-instruction | |
[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 (visitor VARCHAR, date VARCHAR)
Question: What is Visitor, when Date is "April 24"?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (visitor VARCHAR, date VARCHAR)
Question: What is Visitor, when Date is "April 24"?
Here is the SQLite query to answer to the question: What is Visitor, wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (melbourne INTEGER, episode_number_production_number VARCHAR, sydney VARCHAR)
Question: What is the sum of the values for Melbourne, when Episode Numb... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (melbourne INTEGER, episode_number_production_number VARCHAR, sydney VARCHAR)
Question: What is the sum of the values for Melbourne, when Episode Number Pro... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR)
Question: Name the score for september 11
[/INST]
Here is the SQLite query to answer to the question: Name the score for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (score VARCHAR, date VARCHAR)
Question: Name the score for september 11
Here is the SQLite query to answer to the question: Name the score for september 11... | bugdaryan/sql-create-context-instruction | |
[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 (standing VARCHAR, date VARCHAR, total_points VARCHAR, finished VARCHAR)
Question: I want the standing for january 29 and finished of 3rd and total po... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (standing VARCHAR, date VARCHAR, total_points VARCHAR, finished VARCHAR)
Question: I want the standing for january 29 and finished of 3rd and total points l... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, place VARCHAR, player VARCHAR)
Question: Which country placed t3 and had the player Fred Couples?
[/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_37 (country VARCHAR, place VARCHAR, player VARCHAR)
Question: Which country placed t3 and had the player Fred Couples?
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_32 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)
Question: What nationality has a lane less than 6, with 1 as the rank?
[/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_32 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)
Question: What nationality has a lane less than 6, with 1 as the rank?
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_93 (region VARCHAR, catalog VARCHAR)
Question: What region has the catalog sir021-6?
[/INST]
Here is the SQLite query to answer to the question: What reg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (region VARCHAR, catalog VARCHAR)
Question: What region has the catalog sir021-6?
Here is the SQLite query to answer to the question: What region has the c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (mark VARCHAR, group VARCHAR, nationality VARCHAR)
Question: What is the mark for Grenada in group A?
[/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_73 (mark VARCHAR, group VARCHAR, nationality VARCHAR)
Question: What is the mark for Grenada in group A?
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_25730460_2 (player VARCHAR, touchdowns VARCHAR)
Question: Name the player for 1 touchdowns
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25730460_2 (player VARCHAR, touchdowns VARCHAR)
Question: Name the player for 1 touchdowns
Here is the SQLite query to answer to the question: Name the player 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_27369069_4 (province VARCHAR, stadium_capacity VARCHAR)
Question: What is the province for with the stadium capacity of 5100?
[/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_27369069_4 (province VARCHAR, stadium_capacity VARCHAR)
Question: What is the province for with the stadium capacity of 5100?
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_52 (year VARCHAR, film VARCHAR)
Question: ilm of taukukauppiaat has how many total number of years?
[/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_52 (year VARCHAR, film VARCHAR)
Question: ilm of taukukauppiaat has how many total number of years?
Here is the SQLite query to answer to the question: ilm of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (Id VARCHAR)
Question: Which 1997's 1992 was 1r when 1994 was a?
[/INST]
Here is the SQLite query to answer to the question: Which 1997's 1992 was 1r ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (Id VARCHAR)
Question: Which 1997's 1992 was 1r when 1994 was a?
Here is the SQLite query to answer to the question: Which 1997's 1992 was 1r when 1994 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_76 (winning_driver VARCHAR, winning_team VARCHAR, round VARCHAR)
Question: Who is the driver that one for the winning tpc team qi-meritus that has a roun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (winning_driver VARCHAR, winning_team VARCHAR, round VARCHAR)
Question: Who is the driver that one for the winning tpc team qi-meritus that has a round more... | bugdaryan/sql-create-context-instruction | |
[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 (class_aA VARCHAR, class_a VARCHAR, class_aAA VARCHAR, burnet VARCHAR)
Question: If the Class A is Anton and Class AAA is Burnet, what is Class AA?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (class_aA VARCHAR, class_a VARCHAR, class_aAA VARCHAR, burnet VARCHAR)
Question: If the Class A is Anton and Class AAA is Burnet, what is Class AA?
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_78 (react VARCHAR, name VARCHAR, lane VARCHAR)
Question: What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (react VARCHAR, name VARCHAR, lane VARCHAR)
Question: What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2?
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_26 (type VARCHAR, quantity VARCHAR)
Question: What type has 5 as the quantity?
[/INST]
Here is the SQLite query to answer to the question: What type has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (type VARCHAR, quantity VARCHAR)
Question: What type has 5 as the quantity?
Here is the SQLite query to answer to the question: What type has 5 as the quan... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, weight_class VARCHAR, date VARCHAR)
Question: How many years were lightweight class on february 28, 2009?
[/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_87 (year VARCHAR, weight_class VARCHAR, date VARCHAR)
Question: How many years were lightweight class on february 28, 2009?
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_68 (borough_or_census_area VARCHAR, median_household_income VARCHAR)
Question: Which borough or census area has a $59,596 median household income?
[/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 (borough_or_census_area VARCHAR, median_household_income VARCHAR)
Question: Which borough or census area has a $59,596 median household income?
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_88 (decile INTEGER, suburb VARCHAR)
Question: What is the sum for every value of Decile in Clendon?
[/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_88 (decile INTEGER, suburb VARCHAR)
Question: What is the sum for every value of Decile in Clendon?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_email VARCHAR, customer_name VARCHAR, payment_method VARCHAR)
Question: List the names and emails of customers who payed by Visa card.
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_email VARCHAR, customer_name VARCHAR, payment_method VARCHAR)
Question: List the names and emails of customers who payed by Visa card.
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_name_91 (record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR, draws VARCHAR, wins VARCHAR, matches VARCHAR)
Question: What is the draw record (%) t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR, draws VARCHAR, wins VARCHAR, matches VARCHAR)
Question: What is the draw record (%) total 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_74 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team's score at Western Oval?
[/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_74 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team's score at Western Oval?
Here is the SQLite query to answer to the question: What was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (wins VARCHAR, points VARCHAR)
Question: What is the number of wins when there are 7 points?
[/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_6 (wins VARCHAR, points VARCHAR)
Question: What is the number of wins when there are 7 points?
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 (year VARCHAR, points INTEGER)
Question: What is the total number of years that an entrant had more than 0 points?
[/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_87 (year VARCHAR, points INTEGER)
Question: What is the total number of years that an entrant had more than 0 points?
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_11 (college VARCHAR, round VARCHAR, pick VARCHAR)
Question: What is College, when Round is greater than 1, and when Pick is greater than 163?
[/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_11 (college VARCHAR, round VARCHAR, pick VARCHAR)
Question: What is College, when Round is greater than 1, and when Pick is greater than 163?
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_4 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR)
Question: What is the smallest Attendance with H / A of h, and Opponents of nottingham forest?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR)
Question: What is the smallest Attendance with H / A of h, and Opponents of nottingham forest?
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_25 (race_1 VARCHAR, round VARCHAR)
Question: What is the Race 1 result of Round 2?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (race_1 VARCHAR, round VARCHAR)
Question: What is the Race 1 result of Round 2?
Here is the SQLite query to answer to the question: What is the Race 1 resu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, record VARCHAR)
Question: Which date has a Record of 41-46?
[/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_55 (date VARCHAR, record VARCHAR)
Question: Which date has a Record of 41-46?
Here is the SQLite query to answer to the question: Which date has a Record of 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_name_85 (award VARCHAR, title VARCHAR, category VARCHAR, year VARCHAR, type VARCHAR)
Question: What award was won in the best sound category for the exorcist ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (award VARCHAR, title VARCHAR, category VARCHAR, year VARCHAR, type VARCHAR)
Question: What award was won in the best sound category for the exorcist before... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)
Question: Which Score has a Competition of world cup qualifying, and a Braz... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)
Question: Which Score has a Competition of world cup qualifying, and a Brazil sco... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (name VARCHAR, year_retired VARCHAR, position VARCHAR, team VARCHAR)
Question: Who was the player in Position G on the Petron Blaze Boosters and retir... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (name VARCHAR, year_retired VARCHAR, position VARCHAR, team VARCHAR)
Question: Who was the player in Position G on the Petron Blaze Boosters and retired 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_name_10 (player VARCHAR, position VARCHAR, round VARCHAR, pick VARCHAR)
Question: Which Player has a Round smaller than 11, and a Pick smaller than 152, and a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (player VARCHAR, position VARCHAR, round VARCHAR, pick VARCHAR)
Question: Which Player has a Round smaller than 11, and a Pick smaller than 152, and a Posit... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, result VARCHAR)
Question: What was the attendance when the result was a bye?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (attendance VARCHAR, result VARCHAR)
Question: What was the attendance when the result was a bye?
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_35 (against INTEGER, wins VARCHAR, geelong_fl VARCHAR)
Question: Which Against has more than 11 wins, and a Geelong FL of st josephs?
[/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_35 (against INTEGER, wins VARCHAR, geelong_fl VARCHAR)
Question: Which Against has more than 11 wins, and a Geelong FL of st josephs?
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_31 (rowers VARCHAR, time VARCHAR)
Question: Who are the Rowers with a Time of 6:39.49?
[/INST]
Here is the SQLite query to answer to the question: Who ar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (rowers VARCHAR, time VARCHAR)
Question: Who are the Rowers with a Time of 6:39.49?
Here is the SQLite query to answer to the question: Who are the Rowers ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20217811_1 (national VARCHAR, electorate VARCHAR)
Question: Name the national for rimutaka
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20217811_1 (national VARCHAR, electorate VARCHAR)
Question: Name the national for rimutaka
Here is the SQLite query to answer to the question: Name the national fo... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, result VARCHAR)
Question: What is the Venue where the Result is 5–1?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR)
Question: What is the Venue where the Result is 5–1?
Here is the SQLite query to answer to the question: What is the Venue 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 CARS_DATA (mpg INTEGER, Cylinders VARCHAR)
Question: What is the average miles per gallon(mpg) of the cars with 4 cylinders?
[/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 CARS_DATA (mpg INTEGER, Cylinders VARCHAR)
Question: What is the average miles per gallon(mpg) of the cars with 4 cylinders?
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_12 (share VARCHAR, weekly_rank VARCHAR, date VARCHAR)
Question: Which Share has a weekly Rank of 8 and is dated 15 June?
[/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 (share VARCHAR, weekly_rank VARCHAR, date VARCHAR)
Question: Which Share has a weekly Rank of 8 and is dated 15 June?
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_2850912_1 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Question: What college team did draft pick 18 come from?
[/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_2850912_1 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Question: What college team did draft pick 18 come from?
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_3 (fleet_size INTEGER, type VARCHAR, introduced VARCHAR)
Question: What is the average fleet size for the Shunter type introduced in 1959?
[/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_3 (fleet_size INTEGER, type VARCHAR, introduced VARCHAR)
Question: What is the average fleet size for the Shunter type introduced in 1959?
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_20350118_1 (obama_number VARCHAR, obama_percentage VARCHAR)
Question: How many different results were there for the number of votes fro Obama in the county wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20350118_1 (obama_number VARCHAR, obama_percentage VARCHAR)
Question: How many different results were there for the number of votes fro Obama in the county where he... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (tournament VARCHAR)
Question: Which 1995's tournament was the French Open?
[/INST]
Here is the SQLite query to answer to the question: Which 1995's t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (tournament VARCHAR)
Question: Which 1995's tournament was the French Open?
Here is the SQLite query to answer to the question: Which 1995's tournament 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_58 (surface VARCHAR, date VARCHAR)
Question: Which surface has a Date of 24–25 apr?
[/INST]
Here is the SQLite query to answer to the question: Which sur... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR)
Question: Which surface has a Date of 24–25 apr?
Here is the SQLite query to answer to the question: Which surface has a 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_69 (away VARCHAR, season VARCHAR, opponent VARCHAR)
Question: Which Away has a Season of 2001–02, and an Opponent of dinaburg?
[/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_69 (away VARCHAR, season VARCHAR, opponent VARCHAR)
Question: Which Away has a Season of 2001–02, and an Opponent of dinaburg?
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_31 (elector VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR)
Question: What Elector has an Elevator of Alexander III and a Cardinalatial title of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (elector VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR)
Question: What Elector has an Elevator of Alexander III and a Cardinalatial title of Bishop... | bugdaryan/sql-create-context-instruction | |
[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 (total_viewers INTEGER, share VARCHAR)
Question: What's the average total viewers that has 17.6% Share?
[/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_96 (total_viewers INTEGER, share VARCHAR)
Question: What's the average total viewers that has 17.6% Share?
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_10 (game INTEGER, march VARCHAR, score VARCHAR)
Question: Which Game has a March smaller than 12, and a Score of 10–1?
[/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_10 (game INTEGER, march VARCHAR, score VARCHAR)
Question: Which Game has a March smaller than 12, and a Score of 10–1?
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_24143253_1 (name VARCHAR, deceased_spouse VARCHAR)
Question: Name the name for deceased spouse being louis malle
[/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_24143253_1 (name VARCHAR, deceased_spouse VARCHAR)
Question: Name the name for deceased spouse being louis malle
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_225204_4 (successor VARCHAR, district VARCHAR)
Question: Name the successor for north carolina 13th
[/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_225204_4 (successor VARCHAR, district VARCHAR)
Question: Name the successor for north carolina 13th
Here is the SQLite query to answer to the question: Name the su... | bugdaryan/sql-create-context-instruction | |
[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 (years_member VARCHAR, school VARCHAR)
Question: What years does Goreville High School have members?
[/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_62 (years_member VARCHAR, school VARCHAR)
Question: What years does Goreville High School have members?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What place was Dave Stockton when he had a to par of +1?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What place was Dave Stockton when he had a to par of +1?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (locality VARCHAR, ages VARCHAR, school VARCHAR)
Question: What is the Locality of the Penarth Group School for Ages 8-16?
[/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_90 (locality VARCHAR, ages VARCHAR, school VARCHAR)
Question: What is the Locality of the Penarth Group School for Ages 8-16?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (lane INTEGER, nationality VARCHAR)
Question: What is the average Lane where Belarus is the nationality?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (lane INTEGER, nationality VARCHAR)
Question: What is the average Lane where Belarus is the nationality?
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_18424435_4 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR)
Question: What was the air date in the U.S. for the episode that had 1.452 million Canadi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18424435_4 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR)
Question: What was the air date in the U.S. for the episode that had 1.452 million Canadian vie... | bugdaryan/sql-create-context-instruction | |
[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 (tries INTEGER, team VARCHAR, games VARCHAR)
Question: What is the average number of tries for British and Irish Lions with less than 2 games?
[/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 (tries INTEGER, team VARCHAR, games VARCHAR)
Question: What is the average number of tries for British and Irish Lions with less than 2 games?
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_28 (election VARCHAR)
Question: Which 1st Party has an election in 1847?
[/INST]
Here is the SQLite query to answer to the question: Which 1st Party has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (election VARCHAR)
Question: Which 1st Party has an election in 1847?
Here is the SQLite query to answer to the question: Which 1st Party has an election 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_28 (time VARCHAR, rank VARCHAR, country VARCHAR)
Question: What is the Time of the Rowers from Finland with a Rank of less than 4?
[/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_28 (time VARCHAR, rank VARCHAR, country VARCHAR)
Question: What is the Time of the Rowers from Finland with a Rank of less than 4?
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_15 (fa_cup INTEGER, player VARCHAR, fa_trophy VARCHAR)
Question: What is the average FA Cup that has gary jones as the player, and an FA trophy greater t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (fa_cup INTEGER, player VARCHAR, fa_trophy VARCHAR)
Question: What is the average FA Cup that has gary jones as the player, and an FA trophy greater than 5?... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, name VARCHAR, points VARCHAR)
Question: What was the rank for karen frohner with under 1266 points?
[/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_81 (rank INTEGER, name VARCHAR, points VARCHAR)
Question: What was the rank for karen frohner with under 1266 points?
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_22265261_1 (distance VARCHAR, handicap__st_lb_ VARCHAR)
Question: What was the distance when the handicap was 11-2?
[/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_22265261_1 (distance VARCHAR, handicap__st_lb_ VARCHAR)
Question: What was the distance when the handicap was 11-2?
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_23186738_6 (location_attendance VARCHAR, record VARCHAR)
Question: Name the location attendance of 5-15
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23186738_6 (location_attendance VARCHAR, record VARCHAR)
Question: Name the location attendance of 5-15
Here is the SQLite query to answer to the question: Name 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 exhibition (theme VARCHAR, YEAR VARCHAR, ticket_price VARCHAR)
Question: Show theme and year for all exhibitions in an descending order of ticket price.
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE exhibition (theme VARCHAR, YEAR VARCHAR, ticket_price VARCHAR)
Question: Show theme and year for all exhibitions in an descending order of ticket price.
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_27 (laps INTEGER, grid VARCHAR, time VARCHAR)
Question: Who had the lowest laps on a grid smaller than 16 with a time of +21.689?
[/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_27 (laps INTEGER, grid VARCHAR, time VARCHAR)
Question: Who had the lowest laps on a grid smaller than 16 with a time of +21.689?
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_91 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
Question: Which entrant scored less than 8 points and used a Maserati chassis?
[/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_91 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
Question: Which entrant scored less than 8 points and used a Maserati chassis?
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_11642945_1 (director VARCHAR, celebrity VARCHAR)
Question: Margot Kidder had what director?
[/INST]
Here is the SQLite query to answer to the question: Margot... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11642945_1 (director VARCHAR, celebrity VARCHAR)
Question: Margot Kidder had what director?
Here is the SQLite query to answer to the question: Margot Kidder had 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_56 (government VARCHAR, seats VARCHAR)
Question: Which Government has 57 seats?
[/INST]
Here is the SQLite query to answer to the question: Which Governm... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (government VARCHAR, seats VARCHAR)
Question: Which Government has 57 seats?
Here is the SQLite query to answer to the question: Which Government has 57 se... | bugdaryan/sql-create-context-instruction | |
[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, opponent VARCHAR)
Question: What was the loss from the coyotes as opponents?
[/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_20 (loss VARCHAR, opponent VARCHAR)
Question: What was the loss from the coyotes as opponents?
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_12828723_5 (played VARCHAR, club VARCHAR)
Question: What was the played with club tumble rfc?
[/INST]
Here is the SQLite query to answer to the question: What... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12828723_5 (played VARCHAR, club VARCHAR)
Question: What was the played with club tumble rfc?
Here is the SQLite query to answer to the question: What was the play... | bugdaryan/sql-create-context-instruction | |
[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 (population VARCHAR, status VARCHAR)
Question: What is the Population of the Rural Community
[/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_75 (population VARCHAR, status VARCHAR)
Question: What is the Population of the Rural Community
Here is the SQLite query to answer to the question: What is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22517564_3 (post VARCHAR, horse_name VARCHAR)
Question: Which post had the horse named chocolate candy?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22517564_3 (post VARCHAR, horse_name VARCHAR)
Question: Which post had the horse named chocolate candy?
Here is the SQLite query to answer to the question: Which p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR)
Question: Who is the candidate for the district Arkansas 2?
[/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_1342218_5 (candidates VARCHAR, district VARCHAR)
Question: Who is the candidate for the district Arkansas 2?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
Question: What was the Home team when Farnborough Town was the Away team?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
Question: What was the Home team when Farnborough Town was the Away team?
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_86 (loss VARCHAR, save VARCHAR)
Question: Name the loss with save of || 23,391 ||17-18||?
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (loss VARCHAR, save VARCHAR)
Question: Name the loss with save of || 23,391 ||17-18||?
Here is the SQLite query to answer to the question: Name the loss wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (moving_to VARCHAR, name VARCHAR, year VARCHAR, rank VARCHAR)
Question: Ismaël Bangoura with a rank larger than 5 after the year 2005 was moving to wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (moving_to VARCHAR, name VARCHAR, year VARCHAR, rank VARCHAR)
Question: Ismaël Bangoura with a rank larger than 5 after the year 2005 was moving to what foo... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, game VARCHAR, points VARCHAR)
Question: Which game has a number lower than 57 and more than 50 points?
[/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_25 (location VARCHAR, game VARCHAR, points VARCHAR)
Question: Which game has a number lower than 57 and more than 50 points?
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_61 (format VARCHAR, catalog VARCHAR)
Question: What shows as the format for catalog 11 135?
[/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_61 (format VARCHAR, catalog VARCHAR)
Question: What shows as the format for catalog 11 135?
Here is the SQLite query to answer to the question: What shows as ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (film_title_used_in_nomination VARCHAR, language VARCHAR)
Question: Name the film title for german
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (film_title_used_in_nomination VARCHAR, language VARCHAR)
Question: Name the film title for german
Here is the SQLite query to answer to the question: Name ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (mintage INTEGER, theme VARCHAR, year VARCHAR)
Question: What is the most mintage with common eider as the theme, and the year less than 2008?
[/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 (mintage INTEGER, theme VARCHAR, year VARCHAR)
Question: What is the most mintage with common eider as the theme, and the year less than 2008?
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_24638867_6 (surface VARCHAR, partner VARCHAR)
Question: Name the surface for nathalie tauziat
[/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_24638867_6 (surface VARCHAR, partner VARCHAR)
Question: Name the surface for nathalie tauziat
Here is the SQLite query to answer to the question: Name the surface ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, mens_singles VARCHAR, mixed_doubles VARCHAR)
Question: In womens doubles and mens singles, what years did Arvind Bhat or V... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, mens_singles VARCHAR, mixed_doubles VARCHAR)
Question: In womens doubles and mens singles, what years did Arvind Bhat or Valiyav... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341738_36 (party VARCHAR, first_elected VARCHAR)
Question: What was the party of the first elected candidate in 1954?
[/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_1341738_36 (party VARCHAR, first_elected VARCHAR)
Question: What was the party of the first elected candidate in 1954?
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_66 (episode__number VARCHAR, eliminated_contestant VARCHAR)
Question: What episode # has govinda & david dhawan as the eliminated contestant?
[/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_66 (episode__number VARCHAR, eliminated_contestant VARCHAR)
Question: What episode # has govinda & david dhawan as the eliminated contestant?
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_22 (listed VARCHAR, municipality VARCHAR)
Question: What is the site for Florida?
[/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_22 (listed VARCHAR, municipality VARCHAR)
Question: What is the site for Florida?
Here is the SQLite query to answer to the question: What is the site for Flo... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, profits__billion_$_ VARCHAR, industry VARCHAR, company VARCHAR)
Question: What is the smallest rank for an industry of banking, a compa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (rank INTEGER, profits__billion_$_ VARCHAR, industry VARCHAR, company VARCHAR)
Question: What is the smallest rank for an industry of banking, a company of ... | 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.