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_28 (party VARCHAR, mayor VARCHAR)
Question: What party was achille variati afilliated with?
[/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_28 (party VARCHAR, mayor VARCHAR)
Question: What party was achille variati afilliated with?
Here is the SQLite query to answer to the question: What party 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_12 (earnings___ INTEGER, rank INTEGER)
Question: Which Earnings ($) is the lowest one that has a Rank smaller than 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_12 (earnings___ INTEGER, rank INTEGER)
Question: Which Earnings ($) is the lowest one that has a Rank smaller than 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_18159601_1 (greek_designation VARCHAR, city VARCHAR)
Question: how mnay greek designation in tampa
[/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_18159601_1 (greek_designation VARCHAR, city VARCHAR)
Question: how mnay greek designation in tampa
Here is the SQLite query to answer to the question: how mnay gr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR)
Question: In Pacifico Central where the rainfall by depth (mm/year) ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR)
Question: In Pacifico Central where the rainfall by depth (mm/year) was 28... | bugdaryan/sql-create-context-instruction | |
[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 (points VARCHAR, games VARCHAR)
Question: How many points were scored by the player who played 348 games?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (points VARCHAR, games VARCHAR)
Question: How many points were scored by the player who played 348 games?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR)
Question: What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR)
Question: What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2383498_4 (first_year_in_qld_cup VARCHAR, home_ground VARCHAR)
Question: What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2383498_4 (first_year_in_qld_cup VARCHAR, home_ground VARCHAR)
Question: What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15082102_3 (s_spoilt_vote INTEGER, electorate VARCHAR)
Question: in electorate of 83850 what is the minimum s split vote
[/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_15082102_3 (s_spoilt_vote INTEGER, electorate VARCHAR)
Question: in electorate of 83850 what is the minimum s split vote
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_96 (mar_17 VARCHAR, april_21 VARCHAR)
Question: What is the rank for Mar 17 when the April 21 rank is 10?
[/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_96 (mar_17 VARCHAR, april_21 VARCHAR)
Question: What is the rank for Mar 17 when the April 21 rank is 10?
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_76 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team when Geelong was the away team?
[/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_76 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team when Geelong was the away team?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: What's the score of Jeff Maggert in T2 place?
[/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_36 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: What's the score of Jeff Maggert in T2 place?
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_16 (home_team VARCHAR, venue VARCHAR)
Question: Who was the home team when VFL played at Windy Hill?
[/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_16 (home_team VARCHAR, venue VARCHAR)
Question: Who was the home team when VFL played at Windy Hill?
Here is the SQLite query to answer to the question: Who 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_99 (Id VARCHAR)
Question: Who came in 3rd at Venue?
[/INST]
Here is the SQLite query to answer to the question: Who came in 3rd at Venue?:
```
SELECT 3 A... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (Id VARCHAR)
Question: Who came in 3rd at Venue?
Here is the SQLite query to answer to the question: Who came in 3rd at Venue?:
```
SELECT 3 AS rd_place FR... | bugdaryan/sql-create-context-instruction | |
[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 (number VARCHAR, name VARCHAR)
Question: what number is associated with the name chartist (чартист)?
[/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_85 (number VARCHAR, name VARCHAR)
Question: what number is associated with the name chartist (чартист)?
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_29598261_1 (year VARCHAR, name VARCHAR)
Question: what year is chris mcnamara?
[/INST]
Here is the SQLite query to answer to the question: what year is chris ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29598261_1 (year VARCHAR, name VARCHAR)
Question: what year is chris mcnamara?
Here is the SQLite query to answer to the question: what year is chris mcnamara?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26460435_5 (monarch VARCHAR, heir VARCHAR)
Question: What is the number of monarchs that had Yan Maw la Mon as the heir?
[/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_26460435_5 (monarch VARCHAR, heir VARCHAR)
Question: What is the number of monarchs that had Yan Maw la Mon as the heir?
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_99 (candidate VARCHAR, outcome_of_election VARCHAR, number_of_votes VARCHAR)
Question: Which candidate lost the election that 770,046 people voted in?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (candidate VARCHAR, outcome_of_election VARCHAR, number_of_votes VARCHAR)
Question: Which candidate lost the election that 770,046 people voted in?
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_40 (date VARCHAR, record VARCHAR)
Question: What was the date of the game when the Canadiens had a record of 31–19–9?
[/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_40 (date VARCHAR, record VARCHAR)
Question: What was the date of the game when the Canadiens had a record of 31–19–9?
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_24 (game VARCHAR, score VARCHAR)
Question: How many games had a score of l 91–95 (ot)?
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (game VARCHAR, score VARCHAR)
Question: How many games had a score of l 91–95 (ot)?
Here is the SQLite query to answer to the question: How many games had ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24172078_2 (segment_1 VARCHAR, episode__number VARCHAR)
Question: Name the segment 1 for episode # 2/225
[/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_24172078_2 (segment_1 VARCHAR, episode__number VARCHAR)
Question: Name the segment 1 for episode # 2/225
Here is the SQLite query to answer to the question: Name 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_30 (function__figure_ VARCHAR, real_name VARCHAR)
Question: What role did Jean-Luc Bouvier serve?
[/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_30 (function__figure_ VARCHAR, real_name VARCHAR)
Question: What role did Jean-Luc Bouvier serve?
Here is the SQLite query to answer to the question: What rol... | bugdaryan/sql-create-context-instruction | |
[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 (game INTEGER, record VARCHAR, october VARCHAR)
Question: What is the sum of Game, when Record is "2-1-1", and when October is less than 21?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (game INTEGER, record VARCHAR, october VARCHAR)
Question: What is the sum of Game, when Record is "2-1-1", and when October is less than 21?
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_54 (team VARCHAR, driver VARCHAR, rounds VARCHAR, engine VARCHAR)
Question: what is the team when the rounds is all engine is mercedes hwa and driver is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (team VARCHAR, driver VARCHAR, rounds VARCHAR, engine VARCHAR)
Question: what is the team when the rounds is all engine is mercedes hwa and driver is sam ab... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (date VARCHAR, home_team VARCHAR)
Question: What is Date, when Home Team is "Everton"?
[/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_name_6 (date VARCHAR, home_team VARCHAR)
Question: What is Date, when Home Team is "Everton"?
Here is the SQLite query to answer to the question: What is Date, whe... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, game VARCHAR, record VARCHAR)
Question: What score has a game greater than 29, with 24-6 as the record?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (score VARCHAR, game VARCHAR, record VARCHAR)
Question: What score has a game greater than 29, with 24-6 as the record?
Here is the SQLite query to answer 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 (to_par VARCHAR, year_s__won VARCHAR)
Question: What was the total To Par for the winner in 1995?
[/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_26 (to_par VARCHAR, year_s__won VARCHAR)
Question: What was the total To Par for the winner in 1995?
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_31 (hometown VARCHAR, country VARCHAR)
Question: What is the hometown of the player from Indonesia?
[/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_31 (hometown VARCHAR, country VARCHAR)
Question: What is the hometown of the player from Indonesia?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26894949_2 (camper INTEGER, puma VARCHAR)
Question: If puma is 12, what is camper?
[/INST]
Here is the SQLite query to answer to the question: If puma is 12, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26894949_2 (camper INTEGER, puma VARCHAR)
Question: If puma is 12, what is camper?
Here is the SQLite query to answer to the question: If puma is 12, what is campe... | bugdaryan/sql-create-context-instruction | |
[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 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
Question: What is the largest overall where the position was linebacker and the pick number ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
Question: What is the largest overall where the position was linebacker and the pick number was mo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_214479_8 (y_ VARCHAR, _2008 VARCHAR, a VARCHAR, _2011 VARCHAR)
Question: What is the y = 2008 when y = 2011 is a = 3?
[/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_214479_8 (y_ VARCHAR, _2008 VARCHAR, a VARCHAR, _2011 VARCHAR)
Question: What is the y = 2008 when y = 2011 is a = 3?
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_19210115_1 (location VARCHAR, conference VARCHAR)
Question: Where is the University that plays in the American Athletic Conference?
[/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_19210115_1 (location VARCHAR, conference VARCHAR)
Question: Where is the University that plays in the American Athletic Conference?
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_53 (group_c VARCHAR, group_b VARCHAR)
Question: What is the group C region with Illinois as group B?
[/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_53 (group_c VARCHAR, group_b VARCHAR)
Question: What is the group C region with Illinois as group B?
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 (nationality VARCHAR, player VARCHAR)
Question: Which nationality is Dick Walker?
[/INST]
Here is the SQLite query to answer to the question: Which na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (nationality VARCHAR, player VARCHAR)
Question: Which nationality is Dick Walker?
Here is the SQLite query to answer to the question: Which nationality 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_44 (score VARCHAR, loss VARCHAR)
Question: What was the score of the game that had a loss of Cox (6–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_name_44 (score VARCHAR, loss VARCHAR)
Question: What was the score of the game that had a loss of Cox (6–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_76 (away_team VARCHAR, home_team VARCHAR)
Question: When fitzroy was the home team, how much did the away team score?
[/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_76 (away_team VARCHAR, home_team VARCHAR)
Question: When fitzroy was the home team, how much did the away team score?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (result VARCHAR, opponent VARCHAR, venue VARCHAR)
Question: What is the result of the match with clyde as the opponent in the h venue?
[/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_27 (result VARCHAR, opponent VARCHAR, venue VARCHAR)
Question: What is the result of the match with clyde as the opponent in the h venue?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
Question: Who is the constructor for driver alan jones using a chassis of fw06 fw07?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
Question: Who is the constructor for driver alan jones using a chassis of fw06 fw07?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (school_club_team VARCHAR, player VARCHAR)
Question: Roy Rogers play for what school/club team?
[/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_name_38 (school_club_team VARCHAR, player VARCHAR)
Question: Roy Rogers play for what school/club team?
Here is the SQLite query to answer to the question: Roy Rog... | bugdaryan/sql-create-context-instruction | |
[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 (pole VARCHAR, class VARCHAR)
Question: How many poles had a moto2 class?
[/INST]
Here is the SQLite query to answer to the question: How many poles h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (pole VARCHAR, class VARCHAR)
Question: How many poles had a moto2 class?
Here is the SQLite query to answer to the question: How many poles had a moto2 cl... | bugdaryan/sql-create-context-instruction | |
[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 (game INTEGER, date VARCHAR)
Question: What was the game number that was played on November 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_name_82 (game INTEGER, date VARCHAR)
Question: What was the game number that was played on November 15?
Here is the SQLite query to answer to the question: What 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_12294557_3 (production_code INTEGER)
Question: what is the minimum production code
[/INST]
Here is the SQLite query to answer to the question: what is the min... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12294557_3 (production_code INTEGER)
Question: what is the minimum production code
Here is the SQLite query to answer to the question: what is the minimum producti... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12807904_5 (points VARCHAR, points_against VARCHAR)
Question: What amount of points where points were 389?
[/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_12807904_5 (points VARCHAR, points_against VARCHAR)
Question: What amount of points where points were 389?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22982552_9 (position VARCHAR, highlight_s_ VARCHAR)
Question: What position did the player whose highlights were 5 career INTs play?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22982552_9 (position VARCHAR, highlight_s_ VARCHAR)
Question: What position did the player whose highlights were 5 career INTs play?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11545282_4 (position VARCHAR, school_club_team VARCHAR)
Question: What position did the player from maynard evans hs play
[/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_11545282_4 (position VARCHAR, school_club_team VARCHAR)
Question: What position did the player from maynard evans hs play
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_237199_1 (north_american_brands VARCHAR, world_headquarters VARCHAR)
Question: How many north american brands have world headquarters in sagamihara?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_237199_1 (north_american_brands VARCHAR, world_headquarters VARCHAR)
Question: How many north american brands have world headquarters in sagamihara?
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 wedding (church_id VARCHAR, YEAR VARCHAR)
Question: How many churches have a wedding in year 2016?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE wedding (church_id VARCHAR, YEAR VARCHAR)
Question: How many churches have a wedding in year 2016?
Here is the SQLite query to answer to the question: How many churches ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12441518_1 (recurring_cast_seasons VARCHAR, character VARCHAR)
Question: Kevin lucas appears in which seasons?
[/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_12441518_1 (recurring_cast_seasons VARCHAR, character VARCHAR)
Question: Kevin lucas appears in which seasons?
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_21 (position VARCHAR, school VARCHAR)
Question: What position did the school of alabama draft?
[/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_21 (position VARCHAR, school VARCHAR)
Question: What position did the school of alabama draft?
Here is the SQLite query to answer to the question: What positi... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, home_team VARCHAR, date VARCHAR)
Question: Who was the away team on 30 January 1988, when the home team was Everton?
[/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_45 (away_team VARCHAR, home_team VARCHAR, date VARCHAR)
Question: Who was the away team on 30 January 1988, when the home team was Everton?
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_37 (set_4 VARCHAR, set_1 VARCHAR, date VARCHAR)
Question: What is Set 4, when Set 1 is 25-18, and when Date is Jun 2?
[/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_37 (set_4 VARCHAR, set_1 VARCHAR, date VARCHAR)
Question: What is Set 4, when Set 1 is 25-18, and when Date is Jun 2?
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_4 (season VARCHAR, score VARCHAR)
Question: what season had a score of 1:0
[/INST]
Here is the SQLite query to answer to the question: what season had a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (season VARCHAR, score VARCHAR)
Question: what season had a score of 1:0
Here is the SQLite query to answer to the question: what season had a score of 1:0:... | bugdaryan/sql-create-context-instruction | |
[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 (goals_for INTEGER, played INTEGER)
Question: What is the lowest Goals, when Played is greater than 30?
[/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_31 (goals_for INTEGER, played INTEGER)
Question: What is the lowest Goals, when Played is greater than 30?
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_2 (termination VARCHAR, earpads VARCHAR, us_msrp VARCHAR)
Question: What was the termination type for the headphones with comfort pads and selling for $1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (termination VARCHAR, earpads VARCHAR, us_msrp VARCHAR)
Question: What was the termination type for the headphones with comfort pads and selling for $150?
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_1566852_4 (date VARCHAR)
Question: Who was featured in 20 questions on 4-03?
[/INST]
Here is the SQLite query to answer to the question: Who was featured in 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1566852_4 (date VARCHAR)
Question: Who was featured in 20 questions on 4-03?
Here is the SQLite query to answer to the question: Who was featured in 20 questions 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 (height VARCHAR, name VARCHAR)
Question: What is the height of player James Stanton?
[/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_name_63 (height VARCHAR, name VARCHAR)
Question: What is the height of player James Stanton?
Here is the SQLite query to answer to the question: What is the height... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22587192_1 (year INTEGER, mens_singles VARCHAR)
Question: What is the least year when men's singles is Raju Rai?
[/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_22587192_1 (year INTEGER, mens_singles VARCHAR)
Question: What is the least year when men's singles is Raju Rai?
Here is the SQLite query to answer to the question... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (rank INTEGER, taijiquan VARCHAR, total VARCHAR)
Question: What is the highest rank of the athlete with a Taijiquan higher than 9.64 and a total more ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (rank INTEGER, taijiquan VARCHAR, total VARCHAR)
Question: What is the highest rank of the athlete with a Taijiquan higher than 9.64 and a total more than 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (rank INTEGER, time VARCHAR, lane VARCHAR)
Question: What's the total rank of the lane smaller than 8 with a time of 59.80?
[/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_15 (rank INTEGER, time VARCHAR, lane VARCHAR)
Question: What's the total rank of the lane smaller than 8 with a time of 59.80?
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_14903999_1 (mens_singles VARCHAR, mens_doubles VARCHAR, womens_singles VARCHAR)
Question: Who won mens singles the year sveinn logi sölvason tryggvi nilsen wo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14903999_1 (mens_singles VARCHAR, mens_doubles VARCHAR, womens_singles VARCHAR)
Question: Who won mens singles the year sveinn logi sölvason tryggvi nilsen won mens... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26355116_1 (nickname VARCHAR, school VARCHAR)
Question: What is the nickname of the University of Alabama?
[/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_26355116_1 (nickname VARCHAR, school VARCHAR)
Question: What is the nickname of the University of Alabama?
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_19778010_5 (high_assists VARCHAR, high_rebounds VARCHAR)
Question: How many different players did the high assists in games where the high rebounds were done ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19778010_5 (high_assists VARCHAR, high_rebounds VARCHAR)
Question: How many different players did the high assists in games where the high rebounds were done by Sal... | bugdaryan/sql-create-context-instruction | |
[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 (serial_numbers VARCHAR, year_made VARCHAR)
Question: What is the serial number of the model made in 1930?
[/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_82 (serial_numbers VARCHAR, year_made VARCHAR)
Question: What is the serial number of the model made in 1930?
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_22 (entrant VARCHAR, points VARCHAR, year VARCHAR, chassis VARCHAR)
Question: which entrant after 1987 had 12 points and a benetton b188 chassis?
[/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 (entrant VARCHAR, points VARCHAR, year VARCHAR, chassis VARCHAR)
Question: which entrant after 1987 had 12 points and a benetton b188 chassis?
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_95 (winning_driver VARCHAR, constructor VARCHAR, race_name VARCHAR)
Question: What driver won in the xv grand prix de l'albigeois in a vehicle by ferrari... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (winning_driver VARCHAR, constructor VARCHAR, race_name VARCHAR)
Question: What driver won in the xv grand prix de l'albigeois in a vehicle by ferrari?
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_23408094_14 (tournament_at_which_lead_began VARCHAR, player VARCHAR)
Question: At what tournament did pete sampras begin his lead?
[/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_23408094_14 (tournament_at_which_lead_began VARCHAR, player VARCHAR)
Question: At what tournament did pete sampras begin his lead?
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_24 (actor_required VARCHAR, flatspin VARCHAR)
Question: Who is the actor required when Edna Stricken is the FlatSpin actor?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (actor_required VARCHAR, flatspin VARCHAR)
Question: Who is the actor required when Edna Stricken is the FlatSpin actor?
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_24143253_4 (length_of_marriage VARCHAR, name VARCHAR)
Question: How long were Ray Bradbury and his wife married?
[/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_4 (length_of_marriage VARCHAR, name VARCHAR)
Question: How long were Ray Bradbury and his wife married?
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_14 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
Question: Which constructor has a Grid smaller than 18, and a Driver of mika häkkinen?
[/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_14 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
Question: Which constructor has a Grid smaller than 18, and a Driver of mika häkkinen?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (bowling_style VARCHAR, first_class_team VARCHAR)
Question: What bowling style does First Class Team, Griqualand West have?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (bowling_style VARCHAR, first_class_team VARCHAR)
Question: What bowling style does First Class Team, Griqualand West have?
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_92 (tournament VARCHAR, opponent VARCHAR)
Question: Which Tournament has an Opponent of meike babel?
[/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_92 (tournament VARCHAR, opponent VARCHAR)
Question: Which Tournament has an Opponent of meike babel?
Here is the SQLite query to answer to the question: Which... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Person (name VARCHAR, gender VARCHAR, age VARCHAR)
Question: Find the name and age of all males in order of their age.
[/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 Person (name VARCHAR, gender VARCHAR, age VARCHAR)
Question: Find the name and age of all males in order of their age.
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 people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE entrepreneur (People_ID VARCHAR)
Question: What are the names of entrepreneurs?
[/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 people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE entrepreneur (People_ID VARCHAR)
Question: What are the names of entrepreneurs?
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_74 (draws VARCHAR, played INTEGER)
Question: What is the number of draws when played is smaller than 30?
[/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_74 (draws VARCHAR, played INTEGER)
Question: What is the number of draws when played is smaller than 30?
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_21796261_4 (week VARCHAR, date VARCHAR)
Question: During what week was the July 10 game played?
[/INST]
Here is the SQLite query to answer to the question: Du... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21796261_4 (week VARCHAR, date VARCHAR)
Question: During what week was the July 10 game played?
Here is the SQLite query to answer to the question: During what wee... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (number_ VARCHAR, _name VARCHAR, date VARCHAR)
Question: What is the name and number in 1964?
[/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_1 (number_ VARCHAR, _name VARCHAR, date VARCHAR)
Question: What is the name and number in 1964?
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_18317531_1 (player VARCHAR)
Question: Name the 3 dart average for michael van gerwen
[/INST]
Here is the SQLite query to answer to the question: Name the 3 da... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18317531_1 (player VARCHAR)
Question: Name the 3 dart average for michael van gerwen
Here is the SQLite query to answer to the question: Name the 3 dart average 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_47 (race VARCHAR, category VARCHAR, date VARCHAR)
Question: What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?
[/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_47 (race VARCHAR, category VARCHAR, date VARCHAR)
Question: What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?
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_96 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
Question: How many laps did the grid 1 engine have?
[/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_96 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
Question: How many laps did the grid 1 engine have?
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_21489362_2 (rr1_pts VARCHAR, team_name VARCHAR)
Question: When spanish challenge is the team name what are the rr1 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_21489362_2 (rr1_pts VARCHAR, team_name VARCHAR)
Question: When spanish challenge is the team name what are the rr1 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_97 (venue VARCHAR, position VARCHAR)
Question: What Venue has a Position of 12th (sf)?
[/INST]
Here is the SQLite query to answer to the question: What V... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (venue VARCHAR, position VARCHAR)
Question: What Venue has a Position of 12th (sf)?
Here is the SQLite query to answer to the question: What Venue has a Po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (date VARCHAR, event VARCHAR)
Question: Whcih Date has an Event of 3000 m?
[/INST]
Here is the SQLite query to answer to the question: Whcih Date has a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (date VARCHAR, event VARCHAR)
Question: Whcih Date has an Event of 3000 m?
Here is the SQLite query to answer to the question: Whcih Date has an Event of 30... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21114902_1 (knockouts_of_the_night VARCHAR, fighter VARCHAR)
Question: How many knockout of the night occurred when joe lauzon fought.
[/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_21114902_1 (knockouts_of_the_night VARCHAR, fighter VARCHAR)
Question: How many knockout of the night occurred when joe lauzon fought.
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_2267857_1 (date VARCHAR, year VARCHAR)
Question: Name the date for 2006
[/INST]
Here is the SQLite query to answer to the question: Name the date for 2006:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2267857_1 (date VARCHAR, year VARCHAR)
Question: Name the date for 2006
Here is the SQLite query to answer to the question: Name the date for 2006:
```
SELECT date... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_5 (date_year VARCHAR, type_of_record VARCHAR)
Question: For what year is the type of record 'total attendance-regular season?
[/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_21436373_5 (date_year VARCHAR, type_of_record VARCHAR)
Question: For what year is the type of record 'total attendance-regular season?
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_1373542_1 (asset_acquired VARCHAR, date_announced VARCHAR)
Question: It was announced on July 2, 2006 that what asset was acquired?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1373542_1 (asset_acquired VARCHAR, date_announced VARCHAR)
Question: It was announced on July 2, 2006 that what asset was acquired?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (podiums VARCHAR, season VARCHAR, series VARCHAR)
Question: What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 A... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (podiums VARCHAR, season VARCHAR, series VARCHAR)
Question: What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia 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_98 (airline VARCHAR, rank VARCHAR)
Question: Name the airline for rank of 4
[/INST]
Here is the SQLite query to answer to the question: Name the airline ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (airline VARCHAR, rank VARCHAR)
Question: Name the airline for rank of 4
Here is the SQLite query to answer to the question: Name the airline for rank 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_13480122_5 (high_rebounds VARCHAR, high_assists VARCHAR)
Question: who is the the high rebounds with high assbeingts being scottie pippen (9)
[/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_13480122_5 (high_rebounds VARCHAR, high_assists VARCHAR)
Question: who is the the high rebounds with high assbeingts being scottie pippen (9)
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2610582_2 (power_kw__erp_ VARCHAR, location__transmitter_site_ VARCHAR)
Question: The location (transmitter site) San Fernando, Pampanga ** has what Power kW ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2610582_2 (power_kw__erp_ VARCHAR, location__transmitter_site_ VARCHAR)
Question: The location (transmitter site) San Fernando, Pampanga ** has what Power kW (ERP)?... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, home_team VARCHAR)
Question: What is the total Crowd with a Home team of collingwood?
[/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 (crowd INTEGER, home_team VARCHAR)
Question: What is the total Crowd with a Home team of collingwood?
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_21034801_1 (game VARCHAR, opponent VARCHAR)
Question: What number was the game against Kansas State?
[/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_21034801_1 (game VARCHAR, opponent VARCHAR)
Question: What number was the game against Kansas State?
Here is the SQLite query to answer to the question: What numbe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (mark VARCHAR, name VARCHAR)
Question: What is the mark set by Laura Turner?
[/INST]
Here is the SQLite query to answer to the question: What is the m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (mark VARCHAR, name VARCHAR)
Question: What is the mark set by Laura Turner?
Here is the SQLite query to answer to the question: What is the mark set by La... | bugdaryan/sql-create-context-instruction | |
[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 (blank_ends INTEGER, nation VARCHAR, ends_lost VARCHAR)
Question: What is the sum of Blank Ends for Denmark when less than 42 is the ends lost?
[/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 (blank_ends INTEGER, nation VARCHAR, ends_lost VARCHAR)
Question: What is the sum of Blank Ends for Denmark when less than 42 is the ends lost?
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_35 (goalsagainst INTEGER, goalsfor VARCHAR, points VARCHAR)
Question: Goals for of 288, and Points smaller than 85 what is the highest goals against?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (goalsagainst INTEGER, goalsfor VARCHAR, points VARCHAR)
Question: Goals for of 288, and Points smaller than 85 what is the highest goals against?
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_17814458_1 (slope_length INTEGER, type VARCHAR)
Question: Name the slope length for gondola
[/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_17814458_1 (slope_length INTEGER, type VARCHAR)
Question: Name the slope length for gondola
Here is the SQLite query to answer to the question: Name the slope leng... | bugdaryan/sql-create-context-instruction | |
[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 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR)
Question: What is the highest apps total with FA cup apps of 26 with total number of go... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR)
Question: What is the highest apps total with FA cup apps of 26 with total number of goals la... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
Question: what is the total when bronze is more than 1, nation is hong kong (hkg) and go... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
Question: what is the total when bronze is more than 1, nation is hong kong (hkg) and gold 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_1 (catalog VARCHAR, date VARCHAR, format VARCHAR, label VARCHAR)
Question: What is the Catalog when the format is ed remaster cd, and a Label of village ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (catalog VARCHAR, date VARCHAR, format VARCHAR, label VARCHAR)
Question: What is the Catalog when the format is ed remaster cd, and a Label of village record... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
Question: With Round 3 and Pick # over 10, what is the higher Overall number?
[/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_38 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
Question: With Round 3 and Pick # over 10, what is the higher Overall number?
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_22 (for_the_show VARCHAR, category VARCHAR, year VARCHAR)
Question: What show had a nomination for best actor in a lead role – female (popular) in 2006?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (for_the_show VARCHAR, category VARCHAR, year VARCHAR)
Question: What show had a nomination for best actor in a lead role – female (popular) in 2006?
Here ... | 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.