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_76 (tournament VARCHAR, year VARCHAR)
Question: I want the tournament for 1889
[/INST]
Here is the SQLite query to answer to the question: I want the tou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (tournament VARCHAR, year VARCHAR)
Question: I want the tournament for 1889
Here is the SQLite query to answer to the question: I want the tournament for 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_18 (first_party VARCHAR, second_member VARCHAR, election VARCHAR)
Question: What is the first party with second member Hon. Rowland Hill, in the 1857 ele... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (first_party VARCHAR, second_member VARCHAR, election VARCHAR)
Question: What is the first party with second member Hon. Rowland Hill, in the 1857 election?... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR)
Question: Date of november 3, 2008 had what score?
[/INST]
Here is the SQLite query to answer to the question: Date of n... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR)
Question: Date of november 3, 2008 had what score?
Here is the SQLite query to answer to the question: Date of november 3, 20... | bugdaryan/sql-create-context-instruction | |
[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 (silver VARCHAR, total INTEGER)
Question: What is the total number of Silver with a Total that is 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_19 (silver VARCHAR, total INTEGER)
Question: What is the total number of Silver with a Total that is smaller than 1?
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_43 (region_served VARCHAR, haat__analog__digital__1 VARCHAR)
Question: Which Region served has of 1176 m 1190 m HAAT (Analog/ Digital) 1?
[/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_43 (region_served VARCHAR, haat__analog__digital__1 VARCHAR)
Question: Which Region served has of 1176 m 1190 m HAAT (Analog/ Digital) 1?
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_77 (location VARCHAR, runners_up VARCHAR, winners VARCHAR)
Question: What is the Location when Canada was the runner-up and Australia was the winner?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (location VARCHAR, runners_up VARCHAR, winners VARCHAR)
Question: What is the Location when Canada was the runner-up and Australia was the winner?
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_74 (jockey VARCHAR, horse VARCHAR)
Question: What is Jockey, when Horse is "Eight Belles"?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (jockey VARCHAR, horse VARCHAR)
Question: What is Jockey, when Horse is "Eight Belles"?
Here is the SQLite query to answer to the question: What is Jockey,... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, country VARCHAR, money___$__ VARCHAR)
Question: What is the ranking for the United States when the money is $200?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (place VARCHAR, country VARCHAR, money___$__ VARCHAR)
Question: What is the ranking for the United States when the money is $200?
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_93 (attendance_g INTEGER, pos VARCHAR, season VARCHAR)
Question: What is the average attendance for seasons before 1999 with pos of 8?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (attendance_g INTEGER, pos VARCHAR, season VARCHAR)
Question: What is the average attendance for seasons before 1999 with pos of 8?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (date VARCHAR, record VARCHAR)
Question: What was the date the record became 26–14–9?
[/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_35 (date VARCHAR, record VARCHAR)
Question: What was the date the record became 26–14–9?
Here is the SQLite query to answer to the question: What was the 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_name_64 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR)
Question: Who was the shooter when the rank points was 8 and the event was WC Kerrville?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR)
Question: Who was the shooter when the rank points was 8 and the event was WC Kerrville?
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_45 (opponent VARCHAR, round VARCHAR, event VARCHAR)
Question: Which opponent had a round of more than 1 and an even of PFP: ring of fire?
[/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_45 (opponent VARCHAR, round VARCHAR, event VARCHAR)
Question: Which opponent had a round of more than 1 and an even of PFP: ring of fire?
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_6 (score VARCHAR, leading_scorer VARCHAR)
Question: What is Score, when Leading Scorer is Tyrone Hill , 20 Points?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (score VARCHAR, leading_scorer VARCHAR)
Question: What is Score, when Leading Scorer is Tyrone Hill , 20 Points?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2004733_2 (population__2000_ INTEGER, barangay VARCHAR)
Question: How many people lived in bulac in the year 2000?
[/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_2004733_2 (population__2000_ INTEGER, barangay VARCHAR)
Question: How many people lived in bulac in the year 2000?
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_46 (matches INTEGER, draws VARCHAR, efficiency__percentage VARCHAR)
Question: What is the highest number of matches with less than 2 draws that had an ef... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (matches INTEGER, draws VARCHAR, efficiency__percentage VARCHAR)
Question: What is the highest number of matches with less than 2 draws that had an efficien... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341690_20 (candidates VARCHAR, incumbent VARCHAR)
Question: List all candidates in elections where the incumbent politician is Goodloe Byron.
[/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_1341690_20 (candidates VARCHAR, incumbent VARCHAR)
Question: List all candidates in elections where the incumbent politician is Goodloe Byron.
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_28188239_1 (incumbent VARCHAR, district VARCHAR)
Question: How many incumbents are in district la-1?
[/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_28188239_1 (incumbent VARCHAR, district VARCHAR)
Question: How many incumbents are in district la-1?
Here is the SQLite query to answer to the question: How many i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (season VARCHAR, rank VARCHAR, goals VARCHAR, apps VARCHAR, club VARCHAR)
Question: What season was Barcelona ranked higher than 12, had more than 96 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (season VARCHAR, rank VARCHAR, goals VARCHAR, apps VARCHAR, club VARCHAR)
Question: What season was Barcelona ranked higher than 12, had more than 96 goals ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR)
Question: What is the largest roll with Years 1–8, a Name of dorie school, and a Decile la... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR)
Question: What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger 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_51 (pick__number INTEGER, nationality VARCHAR)
Question: What is the highest pick number from Slovakia?
[/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_51 (pick__number INTEGER, nationality VARCHAR)
Question: What is the highest pick number from Slovakia?
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_42 (date VARCHAR, opponents VARCHAR, league_position VARCHAR)
Question: What is the date of the game against Chelsea when the league position is 14th?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, league_position VARCHAR)
Question: What is the date of the game against Chelsea when the league position is 14th?
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_51 (goal_difference VARCHAR, club VARCHAR, played VARCHAR)
Question: what is the total number of goal different when the club is cf extremadura and the p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (goal_difference VARCHAR, club VARCHAR, played VARCHAR)
Question: what is the total number of goal different when the club is cf extremadura and the played ... | bugdaryan/sql-create-context-instruction | |
[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 (winning_driver VARCHAR, constructor VARCHAR, race_name VARCHAR)
Question: Who was the winner of the XII Spring Trophy race with BRM as the constructo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (winning_driver VARCHAR, constructor VARCHAR, race_name VARCHAR)
Question: Who was the winner of the XII Spring Trophy race with BRM as the constructor?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (distance VARCHAR)
Question: What is the number of 2011 passengers in millions that have traveled a distance of 1271km?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (distance VARCHAR)
Question: What is the number of 2011 passengers in millions that have traveled a distance of 1271km?
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_15 (opponent VARCHAR, date VARCHAR)
Question: What was the Opponent on August 31, 1997?
[/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_15 (opponent VARCHAR, date VARCHAR)
Question: What was the Opponent on August 31, 1997?
Here is the SQLite query to answer to the question: What was the Oppon... | bugdaryan/sql-create-context-instruction | |
[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 (name_of_the_river VARCHAR, name_of_the_state_where_found_in_india VARCHAR)
Question: What is the name of the river found in Madhya Pradesh, India?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (name_of_the_river VARCHAR, name_of_the_state_where_found_in_india VARCHAR)
Question: What is the name of the river found in Madhya Pradesh, India?
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_73 (points_diff VARCHAR, points_against VARCHAR)
Question: What is points diff when points against is 123?
[/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 (points_diff VARCHAR, points_against VARCHAR)
Question: What is points diff when points against is 123?
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 (segment_b VARCHAR, segment_c VARCHAR)
Question: Name the segment b for graphite s fly rod
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_8 (segment_b VARCHAR, segment_c VARCHAR)
Question: Name the segment b for graphite s fly rod
Here is the SQLite query to answer to the question: Name 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_18621456_22 (legs_lost INTEGER)
Question: What is the most legs lost of all?
[/INST]
Here is the SQLite query to answer to the question: What is the most legs... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18621456_22 (legs_lost INTEGER)
Question: What is the most legs lost of all?
Here is the SQLite query to answer to the question: What is the most legs lost of all?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (date VARCHAR, attendance VARCHAR)
Question: When has Attendances of 45,795?
[/INST]
Here is the SQLite query to answer to the question: When has Atten... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (date VARCHAR, attendance VARCHAR)
Question: When has Attendances of 45,795?
Here is the SQLite query to answer to the question: When has Attendances of 45,... | bugdaryan/sql-create-context-instruction | |
[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, countries_surveyed VARCHAR, _percentage_rank VARCHAR)
Question: Date for less than 122 countries and a 47% rank?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR)
Question: Date for less than 122 countries and a 47% rank?
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_16 (reign VARCHAR, days_held VARCHAR, wrestler VARCHAR)
Question: What is the reign for super kendo who held it for 35 days?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (reign VARCHAR, days_held VARCHAR, wrestler VARCHAR)
Question: What is the reign for super kendo who held it for 35 days?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (score VARCHAR, runner_up VARCHAR, year VARCHAR)
Question: In 1979 when Jimmy Connors was the runner-up what was the score?
[/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_74 (score VARCHAR, runner_up VARCHAR, year VARCHAR)
Question: In 1979 when Jimmy Connors was the runner-up what was the score?
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_62 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
Question: What was the attendance during the match that took place after week 11 against the wash... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
Question: What was the attendance during the match that took place after week 11 against the washington... | bugdaryan/sql-create-context-instruction | |
[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 (week VARCHAR, date VARCHAR)
Question: What week number did November 19, 1989 games fall on?
[/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_14 (week VARCHAR, date VARCHAR)
Question: What week number did November 19, 1989 games fall on?
Here is the SQLite query to answer to the question: What week ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)
Question: What is Score, when Date is May 7, 2006?
[/INST]
Here is the SQLite query to answer to the question: What is S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)
Question: What is Score, when Date is May 7, 2006?
Here is the SQLite query to answer to the question: What is Score, when Da... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR)
Question: Who had the fastest lap when the winning driver was kristian ghedina?
[/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_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR)
Question: Who had the fastest lap when the winning driver was kristian ghedina?
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_10128185_2 (scotland VARCHAR, total VARCHAR)
Question: What is the total number of votes if Scotland cast 35?
[/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_10128185_2 (scotland VARCHAR, total VARCHAR)
Question: What is the total number of votes if Scotland cast 35?
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_93 (date VARCHAR, away_team VARCHAR)
Question: What is the date when the away team is essendon?
[/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_93 (date VARCHAR, away_team VARCHAR)
Question: What is the date when the away team is essendon?
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_27133147_3 (date_of_appointment VARCHAR, team VARCHAR)
Question: If the team is união de leiria, what is the date of appointment?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27133147_3 (date_of_appointment VARCHAR, team VARCHAR)
Question: If the team is união de leiria, what is the date of appointment?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who constructed the car with a grid larger than 20 that got in an accident?
[/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 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who constructed the car with a grid larger than 20 that got in an accident?
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_42 (isbn VARCHAR, first_edition VARCHAR)
Question: What is the ISBN of the book with a first edition in May 2011?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (isbn VARCHAR, first_edition VARCHAR)
Question: What is the ISBN of the book with a first edition in May 2011?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR)
Question: Which Location has an Event of king of the cage: flash point?
[/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_16 (location VARCHAR, event VARCHAR)
Question: Which Location has an Event of king of the cage: flash point?
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_12962773_16 (current_club VARCHAR, height VARCHAR)
Question: What club does the player who is 1.97 m tall play for?
[/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_12962773_16 (current_club VARCHAR, height VARCHAR)
Question: What club does the player who is 1.97 m tall play for?
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_14 (away_team VARCHAR, venue VARCHAR)
Question: Who plays at Victoria Park?
[/INST]
Here is the SQLite query to answer to the question: Who plays at Vict... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (away_team VARCHAR, venue VARCHAR)
Question: Who plays at Victoria Park?
Here is the SQLite query to answer to the question: Who plays at Victoria 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_name_46 (circuit VARCHAR, date VARCHAR)
Question: What was the circuit had a race on September 20.
[/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_46 (circuit VARCHAR, date VARCHAR)
Question: What was the circuit had a race on September 20.
Here is the SQLite query to answer to the question: What was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (start VARCHAR, year VARCHAR, team VARCHAR)
Question: What start has a year later than 2010, and chip ganassi racing as the team?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (start VARCHAR, year VARCHAR, team VARCHAR)
Question: What start has a year later than 2010, and chip ganassi racing as the team?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (event VARCHAR, round VARCHAR, method VARCHAR)
Question: What is the event of the match with a round larger than 2 and ended with a method of ko (kick... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (event VARCHAR, round VARCHAR, method VARCHAR)
Question: What is the event of the match with a round larger than 2 and ended with a method of ko (kick)?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (theme VARCHAR, week__number VARCHAR)
Question: What was the theme during the week # of top 24 (12 men)
[/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 (theme VARCHAR, week__number VARCHAR)
Question: What was the theme during the week # of top 24 (12 men)
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_99 (hometown VARCHAR, college VARCHAR)
Question: What is the hometown of the player that attends UCLA?
[/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_99 (hometown VARCHAR, college VARCHAR)
Question: What is the hometown of the player that attends UCLA?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (date_premiered__2009_ VARCHAR, contestant_name VARCHAR)
Question: What date premiered (2009) has kareena kapoor as the contestant name?
[/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_40 (date_premiered__2009_ VARCHAR, contestant_name VARCHAR)
Question: What date premiered (2009) has kareena kapoor as the contestant name?
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_2803106_1 (total VARCHAR, tonioli VARCHAR, horwood VARCHAR)
Question: How many times did tonioli score a 9 when horwood scored a 6?
[/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_2803106_1 (total VARCHAR, tonioli VARCHAR, horwood VARCHAR)
Question: How many times did tonioli score a 9 when horwood scored a 6?
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_13 (crowd INTEGER, home_team VARCHAR)
Question: If the Home team is carlton, what's the lowest Crowd found?
[/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_13 (crowd INTEGER, home_team VARCHAR)
Question: If the Home team is carlton, what's the lowest Crowd found?
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_34 (score VARCHAR, runner_up VARCHAR, country VARCHAR, champion VARCHAR)
Question: What is the score of the match played in England where Peter McEvoy wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (score VARCHAR, runner_up VARCHAR, country VARCHAR, champion VARCHAR)
Question: What is the score of the match played in England where Peter McEvoy was the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR, game VARCHAR, march VARCHAR, points VARCHAR)
Question: Which Score has a March larger than 15, and Points larger tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR, game VARCHAR, march VARCHAR, points VARCHAR)
Question: Which Score has a March larger than 15, and Points larger than 96, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21564794_3 (championships_in_st_louis VARCHAR, sport VARCHAR)
Question: How many championships were won for arena football?
[/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_21564794_3 (championships_in_st_louis VARCHAR, sport VARCHAR)
Question: How many championships were won for arena football?
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_92 (zx_spectrum VARCHAR, year VARCHAR, genre VARCHAR)
Question: Which ZX Spectrum has a Year larger than 1984, and a Genre of arcade/strategy?
[/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_92 (zx_spectrum VARCHAR, year VARCHAR, genre VARCHAR)
Question: Which ZX Spectrum has a Year larger than 1984, and a Genre of arcade/strategy?
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_33 (player VARCHAR, place VARCHAR, country VARCHAR)
Question: Which Player has a Place of T2 and a Country listed as Fiji?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, country VARCHAR)
Question: Which Player has a Place of T2 and a Country listed as Fiji?
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_7 (quantity_made VARCHAR, manufacturer VARCHAR)
Question: What's the quantity made when the manufacturer was 4-6-2 — oooooo — pacific?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (quantity_made VARCHAR, manufacturer VARCHAR)
Question: What's the quantity made when the manufacturer was 4-6-2 — oooooo — pacific?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18788823_5 (position_in_table VARCHAR, date_of_vacancy VARCHAR)
Question: Which vacancy occurred on 16 February 2009?
[/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_18788823_5 (position_in_table VARCHAR, date_of_vacancy VARCHAR)
Question: Which vacancy occurred on 16 February 2009?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR)
Question: Which Entrant of stp march engineering scored the lowest points?
[/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_78 (points INTEGER, entrant VARCHAR)
Question: Which Entrant of stp march engineering scored the lowest points?
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_50 (opposition VARCHAR, round VARCHAR)
Question: Who were the opposition in the quarter-final?
[/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_50 (opposition VARCHAR, round VARCHAR)
Question: Who were the opposition in the quarter-final?
Here is the SQLite query to answer to the question: Who were th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (batting_team VARCHAR, runs VARCHAR)
Question: Which batting team had 624 runs?
[/INST]
Here is the SQLite query to answer to the question: Which batt... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (batting_team VARCHAR, runs VARCHAR)
Question: Which batting team had 624 runs?
Here is the SQLite query to answer to the question: Which batting team 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_name_5 (score_composer VARCHAR, year VARCHAR)
Question: Who was the score composer of the film released in 1967?
[/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_5 (score_composer VARCHAR, year VARCHAR)
Question: Who was the score composer of the film released in 1967?
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_70 (year INTEGER, movie VARCHAR, awards VARCHAR)
Question: In what year was the movie 8 women up for a César Award?
[/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_70 (year INTEGER, movie VARCHAR, awards VARCHAR)
Question: In what year was the movie 8 women up for a César Award?
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_22993636_5 (three_pointers INTEGER, steals VARCHAR)
Question: What is the lowest number of 3 pointers that occured in games with 52 steals?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22993636_5 (three_pointers INTEGER, steals VARCHAR)
Question: What is the lowest number of 3 pointers that occured in games with 52 steals?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (record VARCHAR, game VARCHAR)
Question: What is Record, when Game is "36"?
[/INST]
Here is the SQLite query to answer to the question: What is Record... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (record VARCHAR, game VARCHAR)
Question: What is Record, when Game is "36"?
Here is the SQLite query to answer to the question: What is Record, when Game 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 GRAPES (Color VARCHAR, Grape VARCHAR); CREATE TABLE WINE (Grape VARCHAR)
Question: What is the color of the grape whose wine products has the highest average price?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE GRAPES (Color VARCHAR, Grape VARCHAR); CREATE TABLE WINE (Grape VARCHAR)
Question: What is the color of the grape whose wine products has the highest average price?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)
Question: Name the simplified characters for wade giles is ch'ing-yüan … i-ma
[/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_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)
Question: Name the simplified characters for wade giles is ch'ing-yüan … i-ma
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_1 (oilers_points INTEGER, record VARCHAR, oilers_first_downs VARCHAR)
Question: Which Oilers points have a Record of 10–6, and Oilers first downs larger ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (oilers_points INTEGER, record VARCHAR, oilers_first_downs VARCHAR)
Question: Which Oilers points have a Record of 10–6, and Oilers first downs larger 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_28 (entrant VARCHAR, year VARCHAR, points VARCHAR)
Question: What entrant had less than 3 points before 1963?
[/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_28 (entrant VARCHAR, year VARCHAR, points VARCHAR)
Question: What entrant had less than 3 points before 1963?
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_93 (college VARCHAR, player VARCHAR)
Question: Which college does the player jon hameister-ries play for?
[/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_93 (college VARCHAR, player VARCHAR)
Question: Which college does the player jon hameister-ries play for?
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_56 (superlative VARCHAR, actress VARCHAR)
Question: Which award has Thelma Ritter won?
[/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_56 (superlative VARCHAR, actress VARCHAR)
Question: Which award has Thelma Ritter won?
Here is the SQLite query to answer to the question: Which award has 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_74 (period VARCHAR, country VARCHAR, peak_position VARCHAR)
Question: Name the period for south korea with peak position of #24
[/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_name_74 (period VARCHAR, country VARCHAR, peak_position VARCHAR)
Question: Name the period for south korea with peak position of #24
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_21489362_2 (won VARCHAR, rr1_pts VARCHAR)
Question: When 3 is the rr1 points what is won score?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21489362_2 (won VARCHAR, rr1_pts VARCHAR)
Question: When 3 is the rr1 points what is won score?
Here is the SQLite query to answer to the question: When 3 is the r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (local_time VARCHAR, date VARCHAR)
Question: What was the time on September 1?
[/INST]
Here is the SQLite query to answer to the question: What was th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (local_time VARCHAR, date VARCHAR)
Question: What was the time on September 1?
Here is the SQLite query to answer to the question: What was the time on Sep... | bugdaryan/sql-create-context-instruction | |
[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 (mult VARCHAR, sspec_number VARCHAR)
Question: Spec number of slj6d(b1)slj6f(b1) has what mult.?
[/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_85 (mult VARCHAR, sspec_number VARCHAR)
Question: Spec number of slj6d(b1)slj6f(b1) has what mult.?
Here is the SQLite query to answer to the question: Spec n... | bugdaryan/sql-create-context-instruction | |
[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 (total VARCHAR, bronze VARCHAR)
Question: How many totals have 2 for the bronze?
[/INST]
Here is the SQLite query to answer to the question: How many ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (total VARCHAR, bronze VARCHAR)
Question: How many totals have 2 for the bronze?
Here is the SQLite query to answer to the question: How many totals have 2... | bugdaryan/sql-create-context-instruction | |
[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 (tries VARCHAR, pens VARCHAR, conv VARCHAR, start VARCHAR)
Question: What is the total of tries for a player with conv smaller than 45, 19 starts and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (tries VARCHAR, pens VARCHAR, conv VARCHAR, start VARCHAR)
Question: What is the total of tries for a player with conv smaller than 45, 19 starts and pens f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stadium (average VARCHAR, capacity INTEGER)
Question: What is the maximum capacity and the average of all stadiums ?
[/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 stadium (average VARCHAR, capacity INTEGER)
Question: What is the maximum capacity and the average of all stadiums ?
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_22 (record VARCHAR, date VARCHAR)
Question: What is Record, when Date is "December 30"?
[/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_22 (record VARCHAR, date VARCHAR)
Question: What is Record, when Date is "December 30"?
Here is the SQLite query to answer to the question: What is Record, 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_3 (safari VARCHAR, opera VARCHAR)
Question: What percentage of users were using Safari during the period in which 2.33% were using Opera?
[/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_3 (safari VARCHAR, opera VARCHAR)
Question: What percentage of users were using Safari during the period in which 2.33% were using Opera?
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_48 (attendance VARCHAR, date VARCHAR)
Question: What was the Attendance on october 2, 1977?
[/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_48 (attendance VARCHAR, date VARCHAR)
Question: What was the Attendance on october 2, 1977?
Here is the SQLite query to answer to the question: What was the 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_87 (coaster_name VARCHAR, location VARCHAR)
Question: Which coaster is located in sandusky, Ohio?
[/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_87 (coaster_name VARCHAR, location VARCHAR)
Question: Which coaster is located in sandusky, Ohio?
Here is the SQLite query to answer to the question: Which co... | bugdaryan/sql-create-context-instruction | |
[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 (high_assists VARCHAR, date VARCHAR)
Question: What is High Assists, when Date is "November 1"?
[/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_18 (high_assists VARCHAR, date VARCHAR)
Question: What is High Assists, when Date is "November 1"?
Here is the SQLite query to answer to the question: What 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_92 (date VARCHAR, time VARCHAR, set_1 VARCHAR)
Question: When was there a Time of 18:00, and a Set 1 of 22–25?
[/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_92 (date VARCHAR, time VARCHAR, set_1 VARCHAR)
Question: When was there a Time of 18:00, and a Set 1 of 22–25?
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_71 (finish VARCHAR, rank VARCHAR)
Question: What's the Finish rank of 31?
[/INST]
Here is the SQLite query to answer to the question: What's the Finish r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (finish VARCHAR, rank VARCHAR)
Question: What's the Finish rank of 31?
Here is the SQLite query to answer to the question: What's the Finish rank of 31?:
`... | bugdaryan/sql-create-context-instruction | |
[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, home VARCHAR, visitor VARCHAR)
Question: What was the score on January 14 when the Chicago Black Hawks were home against... | 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, home VARCHAR, visitor VARCHAR)
Question: What was the score on January 14 when the Chicago Black Hawks were home against the N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (outcome VARCHAR, partner VARCHAR, year VARCHAR)
Question: What was the outcome in 1982 with Kang Haeng-Suk as partner?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (outcome VARCHAR, partner VARCHAR, year VARCHAR)
Question: What was the outcome in 1982 with Kang Haeng-Suk as partner?
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_23 (player VARCHAR, score VARCHAR)
Question: Who is the player with a 69-68-71=208 score?
[/INST]
Here is the SQLite query to answer to the question: Who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (player VARCHAR, score VARCHAR)
Question: Who is the player with a 69-68-71=208 score?
Here is the SQLite query to answer to the question: Who is the playe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10716893_3 (network VARCHAR, lap_by_lap VARCHAR, host VARCHAR)
Question: Which network has Marty Reid as host and lap-by-lap broadcaster?
[/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_10716893_3 (network VARCHAR, lap_by_lap VARCHAR, host VARCHAR)
Question: Which network has Marty Reid as host and lap-by-lap broadcaster?
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_24 (bronze INTEGER, rank VARCHAR, total VARCHAR)
Question: what is bronze when the rank is 3 and the total is more than 2?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (bronze INTEGER, rank VARCHAR, total VARCHAR)
Question: what is bronze when the rank is 3 and the total is more than 2?
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_23285805_5 (team VARCHAR, date VARCHAR)
Question: Name the team for december 19
[/INST]
Here is the SQLite query to answer to the question: Name the team for ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23285805_5 (team VARCHAR, date VARCHAR)
Question: Name the team for december 19
Here is the SQLite query to answer to the question: Name the team for december 19:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_225099_3 (date_of_successors_formal_installation VARCHAR, reason_for_change VARCHAR)
Question: What is the date of successors formal installation when the rea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_225099_3 (date_of_successors_formal_installation VARCHAR, reason_for_change VARCHAR)
Question: What is the date of successors formal installation when the reason 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_33 (date VARCHAR, venue VARCHAR)
Question: What date was the game played at Punt Road Oval?
[/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_33 (date VARCHAR, venue VARCHAR)
Question: What date was the game played at Punt Road Oval?
Here is the SQLite query to answer to the question: What date 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_93 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR)
Question: What is the highest standard order for the Transcription based on Pinyin, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR)
Question: What is the highest standard order for the Transcription based on Pinyin, She Ji... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25375093_1 (f_laps INTEGER)
Question: Name the least f/laps
[/INST]
Here is the SQLite query to answer to the question: Name the least f/laps:
```
SELECT MIN(... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25375093_1 (f_laps INTEGER)
Question: Name the least f/laps
Here is the SQLite query to answer to the question: Name the least f/laps:
```
SELECT MIN(f_laps) FROM ... | bugdaryan/sql-create-context-instruction | |
[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 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
Question: Which stage had a Points Classification of Francesco Moser an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
Question: Which stage had a Points Classification of Francesco Moser and a ge... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, developer_s_ VARCHAR)
Question: What year had Nintendo EAD, Monolith Soft as developers?
[/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_36 (year INTEGER, developer_s_ VARCHAR)
Question: What year had Nintendo EAD, Monolith Soft as developers?
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_82 (website VARCHAR, founded VARCHAR, suburb_town VARCHAR)
Question: Which website was founded before 1897, and is located in Adaminaby?
[/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_82 (website VARCHAR, founded VARCHAR, suburb_town VARCHAR)
Question: Which website was founded before 1897, and is located in Adaminaby?
Here is the SQLite qu... | 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.