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_45 (venue VARCHAR, group VARCHAR)
Question: What venue has g1 as the group?
[/INST]
Here is the SQLite query to answer to the question: What venue has g1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (venue VARCHAR, group VARCHAR)
Question: What venue has g1 as the group?
Here is the SQLite query to answer to the question: What venue has g1 as the group... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17355408_7 (date VARCHAR, high_assists VARCHAR)
Question: Chauncey Billups (6) had a high assist on what date?
[/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_17355408_7 (date VARCHAR, high_assists VARCHAR)
Question: Chauncey Billups (6) had a high assist on what date?
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_19852975_4 (season__number INTEGER, writer_s_ VARCHAR)
Question: From writer Denne Bart Petitclerc, what is the maximum season number?
[/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_19852975_4 (season__number INTEGER, writer_s_ VARCHAR)
Question: From writer Denne Bart Petitclerc, what is the maximum season number?
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_17120964_5 (man_of_the_match VARCHAR, date VARCHAR)
Question: Name the man of the match for 24th
[/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_17120964_5 (man_of_the_match VARCHAR, date VARCHAR)
Question: Name the man of the match for 24th
Here is the SQLite query to answer to the question: Name the man 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_63 (date VARCHAR, opponents VARCHAR)
Question: Opponents of sheffield wednesday had what date?
[/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_63 (date VARCHAR, opponents VARCHAR)
Question: Opponents of sheffield wednesday had what date?
Here is the SQLite query to answer to the question: Opponents 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 employees (hire_date VARCHAR, first_name VARCHAR)
Question: when is the hire date for those employees whose first name does not containing the letter M?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (hire_date VARCHAR, first_name VARCHAR)
Question: when is the hire date for those employees whose first name does not containing the letter M?
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_1 (date VARCHAR, home VARCHAR)
Question: What is the date when the Lakers were the home team?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (date VARCHAR, home VARCHAR)
Question: What is the date when the Lakers were the home team?
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 death (killed INTEGER)
Question: What is maximum and minimum death toll caused each time?
[/INST]
Here is the SQLite query to answer to the question: What is maximu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE death (killed INTEGER)
Question: What is maximum and minimum death toll caused each time?
Here is the SQLite query to answer to the question: What is maximum and minimum... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR, goal VARCHAR)
Question: What was the score of the match played on 14 October 1998, resulting in more than 10 goals?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, goal VARCHAR)
Question: What was the score of the match played on 14 October 1998, resulting in more than 10 goals?
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_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
Question: Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?
[/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_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
Question: Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?
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_36 (winning_driver VARCHAR, constructor VARCHAR, race VARCHAR)
Question: What driver was the winner when constructor was Maserati at the Monaco grand pri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (winning_driver VARCHAR, constructor VARCHAR, race VARCHAR)
Question: What driver was the winner when constructor was Maserati at the Monaco grand prix?
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_18828487_1 (runner_up VARCHAR, year VARCHAR)
Question: In 2009, how many were runner-up?
[/INST]
Here is the SQLite query to answer to the question: In 2009, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18828487_1 (runner_up VARCHAR, year VARCHAR)
Question: In 2009, how many were runner-up?
Here is the SQLite query to answer to the question: In 2009, how many were... | bugdaryan/sql-create-context-instruction | |
[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 (games VARCHAR, event VARCHAR)
Question: Tell me the games for men's 5000 metres
[/INST]
Here is the SQLite query to answer to the question: Tell me t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (games VARCHAR, event VARCHAR)
Question: Tell me the games for men's 5000 metres
Here is the SQLite query to answer to the question: Tell me the games 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_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR)
Question: What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s)... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR)
Question: What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
Question: What is the market value in billions when the assets totaled 1,380.88?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
Question: What is the market value in billions when the assets totaled 1,380.88?
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_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR)
Question: Name the george bush for ronald reagan of 43%
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR)
Question: Name the george bush for ronald reagan of 43%
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_86 (seats VARCHAR, outcome_of_election VARCHAR, number_of_pnc_votes VARCHAR)
Question: How many seats does the election with the outcome of election of m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (seats VARCHAR, outcome_of_election VARCHAR, number_of_pnc_votes VARCHAR)
Question: How many seats does the election with the outcome of election of minorit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR)
Question: Show the name of the shop that have the largest quantity... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR)
Question: Show the name of the shop that have the largest quantity of de... | bugdaryan/sql-create-context-instruction | |
[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 (pick INTEGER, player VARCHAR, round VARCHAR)
Question: Player of mike o'quinn, and a Round smaller than 15 had what lowest pick?
[/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_30 (pick INTEGER, player VARCHAR, round VARCHAR)
Question: Player of mike o'quinn, and a Round smaller than 15 had what lowest pick?
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_21092444_1 (date VARCHAR, result VARCHAR, opponent VARCHAR)
Question: Name the date for result loss for duke
[/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_21092444_1 (date VARCHAR, result VARCHAR, opponent VARCHAR)
Question: Name the date for result loss for duke
Here is the SQLite query to answer to the question: Na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (pick__number INTEGER, mls_team VARCHAR)
Question: Tell me the lowest pick number for new england revolution
[/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_84 (pick__number INTEGER, mls_team VARCHAR)
Question: Tell me the lowest pick number for new england revolution
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_8 (Id VARCHAR)
Question: what is 2010 when 2009 is w and 2007 is qf?
[/INST]
Here is the SQLite query to answer to the question: what is 2010 when 2009 i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (Id VARCHAR)
Question: what is 2010 when 2009 is w and 2007 is qf?
Here is the SQLite query to answer to the question: what is 2010 when 2009 is w and 2007 ... | bugdaryan/sql-create-context-instruction | |
[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 (d_46_β VARCHAR, d_44_β VARCHAR)
Question: What is the D 46 β when the D 44 β is β majority?
[/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_3 (d_46_β VARCHAR, d_44_β VARCHAR)
Question: What is the D 46 β when the D 44 β is β majority?
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_12 (grid VARCHAR, driver VARCHAR)
Question: What grid for denny hulme?
[/INST]
Here is the SQLite query to answer to the question: What grid for denny hu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (grid VARCHAR, driver VARCHAR)
Question: What grid for denny hulme?
Here is the SQLite query to answer to the question: What grid for denny hulme?:
```
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_41 (draws VARCHAR, wins VARCHAR, against VARCHAR)
Question: What is the total number of draws when there is 1 Win, and less than 1728 against matches?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (draws VARCHAR, wins VARCHAR, against VARCHAR)
Question: What is the total number of draws when there is 1 Win, and less than 1728 against matches?
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_22993636_5 (minutes VARCHAR, player VARCHAR)
Question: How much time, in minutes, did Chanel Chisholm play?
[/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_22993636_5 (minutes VARCHAR, player VARCHAR)
Question: How much time, in minutes, did Chanel Chisholm play?
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_name_71 (place INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR)
Question: What place is associated with under 28 points, under 11 games lost, and under ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (place INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR)
Question: What place is associated with under 28 points, under 11 games lost, and under 18 gam... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, venue VARCHAR)
Question: I want to know the away team score for vfl park venue
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
Question: I want to know the away team score for vfl park venue
Here is the SQLite query to answer to the question: I 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_name_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)
Question: What is the difference related to 2 losses and fewer than 10 points?
[/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_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)
Question: What is the difference related to 2 losses and fewer than 10 points?
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_17798548_4 (_number_of_discs INTEGER, season VARCHAR)
Question: How many discs for the complete 4th series?
[/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_17798548_4 (_number_of_discs INTEGER, season VARCHAR)
Question: How many discs for the complete 4th series?
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_name_13 (director VARCHAR, role VARCHAR)
Question: Who was the director where the role was Fred Ayres?
[/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_13 (director VARCHAR, role VARCHAR)
Question: Who was the director where the role was Fred Ayres?
Here is the SQLite query to answer to the question: Who 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_72 (grid VARCHAR, time_retired VARCHAR)
Question: How many grids had a Time/Retired of +4 laps?
[/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_72 (grid VARCHAR, time_retired VARCHAR)
Question: How many grids had a Time/Retired of +4 laps?
Here is the SQLite query to answer to the question: How many g... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (team VARCHAR, outcome VARCHAR, opponent VARCHAR)
Question: Which team got a Behind outcome and had an opponent of Brisbane Bears?
[/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_86 (team VARCHAR, outcome VARCHAR, opponent VARCHAR)
Question: Which team got a Behind outcome and had an opponent of Brisbane Bears?
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 papers (Id VARCHAR)
Question: How many papers are published in total?
[/INST]
Here is the SQLite query to answer to the question: How many papers are published in t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE papers (Id VARCHAR)
Question: How many papers are published in total?
Here is the SQLite query to answer to the question: How many papers are published in total?:
```
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_2140071_10 (episode VARCHAR, coach VARCHAR)
Question: Name the episode with maritza reveron
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR)
Question: Name the episode with maritza reveron
Here is the SQLite query to answer to the question: Name the episode 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_62 (winning_party_2003 VARCHAR, constituency VARCHAR)
Question: Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (winning_party_2003 VARCHAR, constituency VARCHAR)
Question: Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north?
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_94 (no_opinion INTEGER, date VARCHAR, favorable VARCHAR)
Question: What is the average no opinion score during 1954 November that is more favorable than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (no_opinion INTEGER, date VARCHAR, favorable VARCHAR)
Question: What is the average no opinion score during 1954 November that is more favorable than 35?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (pro_debut VARCHAR, tournaments VARCHAR, highest_rank VARCHAR)
Question: What is Pro Debut, when Tournament is greater than 11, and when Highest Rank ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (pro_debut VARCHAR, tournaments VARCHAR, highest_rank VARCHAR)
Question: What is Pro Debut, when Tournament is greater than 11, and when Highest Rank is "Ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (score VARCHAR, away VARCHAR)
Question: What is the score of the match with deportes savio as the away 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_57 (score VARCHAR, away VARCHAR)
Question: What is the score of the match with deportes savio as the away 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 table_name_73 (title VARCHAR, release_date VARCHAR, track_number VARCHAR, record_label VARCHAR)
Question: Name The Title which has a Track number of 07, and a Recor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (title VARCHAR, release_date VARCHAR, track_number VARCHAR, record_label VARCHAR)
Question: Name The Title which has a Track number of 07, and a Record labe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2241841_1 (laps VARCHAR, race_time VARCHAR)
Question: In the race with a winning time of 4:17:18, how many laps were run?
[/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_2241841_1 (laps VARCHAR, race_time VARCHAR)
Question: In the race with a winning time of 4:17:18, how many laps were run?
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_18 (score VARCHAR, date VARCHAR)
Question: Name the score for 7 may 2000
[/INST]
Here is the SQLite query to answer to the question: Name the score for 7... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR)
Question: Name the score for 7 may 2000
Here is the SQLite query to answer to the question: Name the score for 7 may 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_name_17 (beatified VARCHAR, canonised INTEGER)
Question: When was the person(s) who were canonised before 1988 beatified?
[/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_17 (beatified VARCHAR, canonised INTEGER)
Question: When was the person(s) who were canonised before 1988 beatified?
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_57 (goals VARCHAR, since VARCHAR, app_gs_sub_ VARCHAR)
Question: Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (goals VARCHAR, since VARCHAR, app_gs_sub_ VARCHAR)
Question: Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR)
Question: What is the total number of Distance ( ly ), when Constellation is "Draco"?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR)
Question: What is the total number of Distance ( ly ), when Constellation is "Draco"?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17427004_7 (semifinals VARCHAR, athlete VARCHAR)
Question: How did Hamza Kramou fare in the semifinals?
[/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_17427004_7 (semifinals VARCHAR, athlete VARCHAR)
Question: How did Hamza Kramou fare in the semifinals?
Here is the SQLite query to answer to the question: How 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_13 (agg VARCHAR)
Question: What is the 1st leg of the team with a 2-1 agg.?
[/INST]
Here is the SQLite query to answer to the question: What is the 1st l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (agg VARCHAR)
Question: What is the 1st leg of the team with a 2-1 agg.?
Here is the SQLite query to answer to the question: What is the 1st leg of the tea... | bugdaryan/sql-create-context-instruction | |
[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 (school_country VARCHAR, asts VARCHAR)
Question: What is the school/country of the player with 337 assists?
[/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_48 (school_country VARCHAR, asts VARCHAR)
Question: What is the school/country of the player with 337 assists?
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_41 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
Question: What was the date of the match at venue A with the celtic as the opponent?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
Question: What was the date of the match at venue A with the celtic as the opponent?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (iata VARCHAR, icao VARCHAR)
Question: What is IATA, when ICAO is "Hesh"?
[/INST]
Here is the SQLite query to answer to the question: What is IATA, wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (iata VARCHAR, icao VARCHAR)
Question: What is IATA, when ICAO is "Hesh"?
Here is the SQLite query to answer to the question: What is IATA, when ICAO is "H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR)
Question: Which country has a Lead of sarah wazney?
[/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_50 (country VARCHAR, lead VARCHAR)
Question: Which country has a Lead of sarah wazney?
Here is the SQLite query to answer to the question: Which country has 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_92 (amount__millions_ VARCHAR, payee VARCHAR)
Question: How much money, in millions, is paid to Infotalent?
[/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_92 (amount__millions_ VARCHAR, payee VARCHAR)
Question: How much money, in millions, is paid to Infotalent?
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_29296103_10 (tournament VARCHAR, champion VARCHAR)
Question: which tournament was the champion nick saviano florin segΔrceanu 6β3, 6β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_29296103_10 (tournament VARCHAR, champion VARCHAR)
Question: which tournament was the champion nick saviano florin segΔrceanu 6β3, 6β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_83 (lane INTEGER, country VARCHAR)
Question: What is the most lanes used that had a winner from Ireland?
[/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_83 (lane INTEGER, country VARCHAR)
Question: What is the most lanes used that had a winner from Ireland?
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_40 (games_played INTEGER, losses VARCHAR, wins VARCHAR)
Question: What is the largest number of Games Played with Losses of 3, and more Wins than 5?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (games_played INTEGER, losses VARCHAR, wins VARCHAR)
Question: What is the largest number of Games Played with Losses of 3, and more Wins than 5?
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_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR)
Question: What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR)
Question: What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?
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_13079788_3 (gtc_winner VARCHAR, pole_position VARCHAR)
Question: what are all the gtc winners for pole position no. 21 team modena
[/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_13079788_3 (gtc_winner VARCHAR, pole_position VARCHAR)
Question: what are all the gtc winners for pole position no. 21 team modena
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_16 (rank INTEGER, lane VARCHAR)
Question: What is the Rank of the Swimmer in Lane 5?
[/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_16 (rank INTEGER, lane VARCHAR)
Question: What is the Rank of the Swimmer in Lane 5?
Here is the SQLite query to answer to the question: What is the Rank of 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_197638_6 (player VARCHAR, french_open VARCHAR)
Question: Who won the French Open in 1999?
[/INST]
Here is the SQLite query to answer to the question: Who won ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR)
Question: Who won the French Open in 1999?
Here is the SQLite query to answer to the question: Who won the French Op... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22810095_8 (name VARCHAR, n VARCHAR)
Question: What is the name of the player when n is 28?
[/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_22810095_8 (name VARCHAR, n VARCHAR)
Question: What is the name of the player when n is 28?
Here is the SQLite query to answer to the question: What is the name 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_33 (arena VARCHAR, opponent VARCHAR)
Question: In what arena was the game against the Sharks played?
[/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_33 (arena VARCHAR, opponent VARCHAR)
Question: In what arena was the game against the Sharks played?
Here is the SQLite query to answer to the question: In 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_23680576_2 (oct_2008 VARCHAR, aug_2008 VARCHAR)
Question: How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_2 (oct_2008 VARCHAR, aug_2008 VARCHAR)
Question: How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?
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_45 (floors INTEGER, building VARCHAR)
Question: What are the number of floors for the building of td building redevelopment (office)?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (floors INTEGER, building VARCHAR)
Question: What are the number of floors for the building of td building redevelopment (office)?
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team of the game where Footscray is the away team?
[/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_52 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team of the game where Footscray is the away team?
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_261941_1 (founded INTEGER)
Question: When was the earliest founded university?
[/INST]
Here is the SQLite query to answer to the question: When was the earlie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_261941_1 (founded INTEGER)
Question: When was the earliest founded university?
Here is the SQLite query to answer to the question: When was the earliest founded un... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12108_1 (gdp___bn__ VARCHAR)
Question: what is the gdp ( bn ) where capital is capital?
[/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_12108_1 (gdp___bn__ VARCHAR)
Question: what is the gdp ( bn ) where capital is capital?
Here is the SQLite query to answer to the question: what is the gdp ( bn ) ... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, games INTEGER)
Question: Name the sum of points with games less than 5
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (points INTEGER, games INTEGER)
Question: Name the sum of points with games less than 5
Here is the SQLite query to answer to the question: Name the sum 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_32 (drg_number_s_ VARCHAR, railway_number_s_ VARCHAR)
Question: Which DRG number has xxx railway number?
[/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_32 (drg_number_s_ VARCHAR, railway_number_s_ VARCHAR)
Question: Which DRG number has xxx railway number?
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_32 (tie_no VARCHAR, away_team VARCHAR)
Question: What is Tie No., when Away Team is "Manchester United"?
[/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_32 (tie_no VARCHAR, away_team VARCHAR)
Question: What is Tie No., when Away Team is "Manchester United"?
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_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)
Question: What's the room temperature with no toxic materials and no ln 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 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)
Question: What's the room temperature with no toxic materials and no ln productio... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, date VARCHAR, city VARCHAR, time VARCHAR)
Question: What team was opponen in baltimore, at 2:00pm, on 4/06/08?
[/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_11 (opponent VARCHAR, date VARCHAR, city VARCHAR, time VARCHAR)
Question: What team was opponen in baltimore, at 2:00pm, on 4/06/08?
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_15416002_1 (saffir_simpson_category VARCHAR, name VARCHAR)
Question: What is the Saffir-Simpson category for the hurricane named Bonnie?
[/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_15416002_1 (saffir_simpson_category VARCHAR, name VARCHAR)
Question: What is the Saffir-Simpson category for the hurricane named Bonnie?
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_60 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
Question: What day was the game held at Firhill against AYR United?
[/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_60 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
Question: What day was the game held at Firhill against AYR United?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR)
Question: What country is the film directed by Jean-Luc Godard in French from?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR)
Question: What country is the film directed by Jean-Luc Godard in French from?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Accounts (STATEMENT_ID VARCHAR)
Question: Show all statement id and the number of accounts for each statement.
[/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 Accounts (STATEMENT_ID VARCHAR)
Question: Show all statement id and the number of accounts for each statement.
Here is the SQLite query to answer to the question: Show 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_86 (home_team VARCHAR, away_team VARCHAR)
Question: What is the name of the home team that played Carlton?
[/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_86 (home_team VARCHAR, away_team VARCHAR)
Question: What is the name of the home team that played Carlton?
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_83 (listed VARCHAR, name VARCHAR, county VARCHAR, location VARCHAR)
Question: what's the listing date for the verdigris creek bridge in royal of antelope... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (listed VARCHAR, name VARCHAR, county VARCHAR, location VARCHAR)
Question: what's the listing date for the verdigris creek bridge in royal of antelope count... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, home_team VARCHAR)
Question: What was the score when the home team was Stockport County?
[/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_73 (score VARCHAR, home_team VARCHAR)
Question: What was the score when the home team was Stockport County?
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_15187735_8 (series_ep VARCHAR, segment_a VARCHAR)
Question: Name the number of series episode for s piston
[/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_15187735_8 (series_ep VARCHAR, segment_a VARCHAR)
Question: Name the number of series episode for s piston
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 Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)
Question: Find the title and score of the movie with the lowe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)
Question: Find the title and score of the movie with the lowest rat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR)
Question: Who is the successor for massachusetts 8th?
[/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_228439_4 (successor VARCHAR, district VARCHAR)
Question: Who is the successor for massachusetts 8th?
Here is the SQLite query to answer to the question: Who is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
Question: What is Score, when Outcome is Winner, and when Opponent is Angela Haynes?
[/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_69 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
Question: What is Score, when Outcome is Winner, and when Opponent is Angela Haynes?
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_71 (comp VARCHAR, name VARCHAR)
Question: Name the Comp which has a Name of smith?
[/INST]
Here is the SQLite query to answer to the question: Name the C... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (comp VARCHAR, name VARCHAR)
Question: Name the Comp which has a Name of smith?
Here is the SQLite query to answer to the question: Name the Comp which has... | bugdaryan/sql-create-context-instruction | |
[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 (details_of_journey VARCHAR, narrator VARCHAR)
Question: Which details of journey had simon hoggart as a narrator?
[/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_48 (details_of_journey VARCHAR, narrator VARCHAR)
Question: Which details of journey had simon hoggart as a narrator?
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 (to_par VARCHAR, player VARCHAR)
Question: Name the To par for leland gibson
[/INST]
Here is the SQLite query to answer to the question: Name the To p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)
Question: Name the To par for leland gibson
Here is the SQLite query to answer to the question: Name the To par for leland... | bugdaryan/sql-create-context-instruction | |
[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 (winner VARCHAR, win__number VARCHAR, points VARCHAR)
Question: What is Winner, when Win # is greater than 1, and when Points is less than 94?
[/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 (winner VARCHAR, win__number VARCHAR, points VARCHAR)
Question: What is Winner, when Win # is greater than 1, and when Points is less than 94?
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_31 (rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR)
Question: what is the rank when the total is 39 in the county of dublin and the matches... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR)
Question: what is the rank when the total is 39 in the county of dublin and the matches is le... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Highschooler (grade VARCHAR, name VARCHAR)
Question: What grade is Kyle in?
[/INST]
Here is the SQLite query to answer to the question: What grade is Kyle in?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Highschooler (grade VARCHAR, name VARCHAR)
Question: What grade is Kyle in?
Here is the SQLite query to answer to the question: What grade is Kyle in?:
```
SELECT grade ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, administrative_capital VARCHAR)
Question: What is the 2006 censusn population when is the administrative capital i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, administrative_capital VARCHAR)
Question: What is the 2006 censusn population when is the administrative capital is Elem... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, res VARCHAR, time VARCHAR)
Question: Where was the match that resulted in a win in 4:16 held?
[/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_44 (location VARCHAR, res VARCHAR, time VARCHAR)
Question: Where was the match that resulted in a win in 4:16 held?
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 SECTION (semester VARCHAR, YEAR VARCHAR)
Question: Find the year and semester when offers the largest number of courses.
[/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 SECTION (semester VARCHAR, YEAR VARCHAR)
Question: Find the year and semester when offers the largest number of courses.
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_9 (result VARCHAR, date VARCHAR, opponent VARCHAR, venue VARCHAR)
Question: What was the result when Dundee were the Opponent at Venue A on 6 September 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (result VARCHAR, date VARCHAR, opponent VARCHAR, venue VARCHAR)
Question: What was the result when Dundee were the Opponent at Venue A on 6 September 1986?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_169955_1 (saka_era VARCHAR, sign_of_zodiac VARCHAR)
Question: Name the saka era for sign of zodiac being pisces
[/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_169955_1 (saka_era VARCHAR, sign_of_zodiac VARCHAR)
Question: Name the saka era for sign of zodiac being pisces
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_36 (frequency_mhz INTEGER, erp_w VARCHAR)
Question: Which Frequency MHz has a ERP W of 250?
[/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_36 (frequency_mhz INTEGER, erp_w VARCHAR)
Question: Which Frequency MHz has a ERP W of 250?
Here is the SQLite query to answer to the question: Which Frequenc... | bugdaryan/sql-create-context-instruction | |
[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 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR)
Question: What is the emissions CO2 with a max speed of km/h (mph) of the car model Pana... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR)
Question: What is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 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_31 (year VARCHAR)
Question: What is 2009, when Year is "Highest Mean Annual Temperature"?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (year VARCHAR)
Question: What is 2009, when Year is "Highest Mean Annual Temperature"?
Here is the SQLite query to answer to the question: What is 2009, 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_19 (points INTEGER, position VARCHAR, lost VARCHAR)
Question: What is the highest number of points for a position less than 3 and less than 1 loss?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (points INTEGER, position VARCHAR, lost VARCHAR)
Question: What is the highest number of points for a position less than 3 and less than 1 loss?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (away VARCHAR, home VARCHAR)
Question: WHAT IS THE AWAY WITH HOME AT 2-2?
[/INST]
Here is the SQLite query to answer to the question: WHAT IS THE AWAY... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (away VARCHAR, home VARCHAR)
Question: WHAT IS THE AWAY WITH HOME AT 2-2?
Here is the SQLite query to answer to the question: WHAT IS THE AWAY WITH HOME AT... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR)
Question: When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR)
Question: When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?
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_98 (task_no VARCHAR, hand_grenade_user VARCHAR)
Question: Which task had Cathy as the hand grenade user?
[/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_98 (task_no VARCHAR, hand_grenade_user VARCHAR)
Question: Which task had Cathy as the hand grenade user?
Here is the SQLite query to answer to the question: W... | 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.