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_2 (score VARCHAR, date VARCHAR)
Question: Date of april 3, 2007 had what score?
[/INST]
Here is the SQLite query to answer to the question: Date of april... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
Question: Date of april 3, 2007 had what score?
Here is the SQLite query to answer to the question: Date of april 3, 2007 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_20170644_1 (cfl_team VARCHAR, player VARCHAR)
Question: What CFL team did simeon rottier play for?
[/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_20170644_1 (cfl_team VARCHAR, player VARCHAR)
Question: What CFL team did simeon rottier play for?
Here is the SQLite query to answer to the question: What CFL tea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (game INTEGER, series VARCHAR)
Question: Series of oilers win 4–3 had what highest game?
[/INST]
Here is the SQLite query to answer to the question: Se... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (game INTEGER, series VARCHAR)
Question: Series of oilers win 4–3 had what highest game?
Here is the SQLite query to answer to the question: Series of oiler... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, round VARCHAR)
Question: What result occurs when the round is 4 leg 2?
[/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_87 (result VARCHAR, round VARCHAR)
Question: What result occurs when the round is 4 leg 2?
Here is the SQLite query to answer to the question: What result occ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17628022_2 (pregame_analysts VARCHAR, year VARCHAR)
Question: Who did pregame analysis in 2002?
[/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_17628022_2 (pregame_analysts VARCHAR, year VARCHAR)
Question: Who did pregame analysis in 2002?
Here is the SQLite query to answer to the question: Who did pregame... | bugdaryan/sql-create-context-instruction | |
[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 (episode INTEGER, performer_4 VARCHAR, performer_1 VARCHAR)
Question: What is the sum of the episodes where chip esten was the 4th performer and jim m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (episode INTEGER, performer_4 VARCHAR, performer_1 VARCHAR)
Question: What is the sum of the episodes where chip esten was the 4th performer and jim meskime... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, chassis VARCHAR)
Question: Which class has a year prior to 2011 and audi r15 tdi as the chassis?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, chassis VARCHAR)
Question: Which class has a year prior to 2011 and audi r15 tdi as the chassis?
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_19 (competition VARCHAR, assists INTEGER)
Question: What competition had more than 40 assists?
[/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_19 (competition VARCHAR, assists INTEGER)
Question: What competition had more than 40 assists?
Here is the SQLite query to answer to the question: What compet... | bugdaryan/sql-create-context-instruction | |
[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 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR)
Question: What were the bowling figures for the competition at Pietermaritzburg?
[/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 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR)
Question: What were the bowling figures for the competition at Pietermaritzburg?
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_61 (release_date VARCHAR, subtitles VARCHAR, publisher VARCHAR)
Question: What is the release date that has english as the subtitles, and magna pacific a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (release_date VARCHAR, subtitles VARCHAR, publisher VARCHAR)
Question: What is the release date that has english as the subtitles, and magna pacific as 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_4 (title VARCHAR, genre VARCHAR, year VARCHAR, network VARCHAR)
Question: What's the title when the genre is drama and network of KBS2 happening before 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (title VARCHAR, genre VARCHAR, year VARCHAR, network VARCHAR)
Question: What's the title when the genre is drama and network of KBS2 happening before 2011?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19169116_8 (score VARCHAR, opponent VARCHAR)
Question: Name the score for opponent of cleveland
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19169116_8 (score VARCHAR, opponent VARCHAR)
Question: Name the score for opponent of cleveland
Here is the SQLite query to answer to the question: Name the score ... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, to_par INTEGER)
Question: When To par was less than 2, what was the score?
[/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_51 (score VARCHAR, to_par INTEGER)
Question: When To par was less than 2, what was the score?
Here is the SQLite query to answer to the question: When To par ... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: Which 2006 has a 2012 of a, and a 2011 of 3r?
[/INST]
Here is the SQLite query to answer to the question: Which 2006 has a 2012... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (Id VARCHAR)
Question: Which 2006 has a 2012 of a, and a 2011 of 3r?
Here is the SQLite query to answer to the question: Which 2006 has a 2012 of a, and 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_1342426_5 (first_elected INTEGER, incumbent VARCHAR)
Question: Name the lowest first elected for chester w. taylor
[/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_1342426_5 (first_elected INTEGER, incumbent VARCHAR)
Question: Name the lowest first elected for chester w. taylor
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_99 (games VARCHAR, rank VARCHAR, rebounds VARCHAR)
Question: What is the total number of Games, when Rank is less than 4, and when Rebounds is less than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (games VARCHAR, rank VARCHAR, rebounds VARCHAR)
Question: What is the total number of Games, when Rank is less than 4, and when Rebounds is less than 102?
... | bugdaryan/sql-create-context-instruction | |
[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 (streak VARCHAR, location_attendance VARCHAR, record VARCHAR)
Question: Which Streak is in new orleans arena and a Record of 31–33?
[/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_75 (streak VARCHAR, location_attendance VARCHAR, record VARCHAR)
Question: Which Streak is in new orleans arena and a Record of 31–33?
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_71 (name VARCHAR)
Question: Which 2008 club has the name Francesca Piccinini Category:Articles with hCards?
[/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_71 (name VARCHAR)
Question: Which 2008 club has the name Francesca Piccinini Category:Articles with hCards?
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_10054296_1 (member VARCHAR, classification VARCHAR)
Question: What are the members listed with the sorority classification
[/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_10054296_1 (member VARCHAR, classification VARCHAR)
Question: What are the members listed with the sorority classification
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_25604014_6 (title VARCHAR, no_in_season VARCHAR)
Question: What are the titles of the pieces that are number 2 in season?
[/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_25604014_6 (title VARCHAR, no_in_season VARCHAR)
Question: What are the titles of the pieces that are number 2 in season?
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_29085880_1 (no VARCHAR, us_viewers__million_ VARCHAR)
Question: Which episode number saw 1.312 million U.S. Wviewers?
[/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_29085880_1 (no VARCHAR, us_viewers__million_ VARCHAR)
Question: Which episode number saw 1.312 million U.S. Wviewers?
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_17 (week_14_dec_3 VARCHAR, week_11_nov_12 VARCHAR)
Question: What happened in week 14 when week 11's result was Michigan (7-2)?
[/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_17 (week_14_dec_3 VARCHAR, week_11_nov_12 VARCHAR)
Question: What happened in week 14 when week 11's result was Michigan (7-2)?
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_20032301_3 (tom_horner__i_ VARCHAR, matt_entenza__dfl_ VARCHAR)
Question: What's the percentage of votes for Tom Horner according to the poll source that clai... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20032301_3 (tom_horner__i_ VARCHAR, matt_entenza__dfl_ VARCHAR)
Question: What's the percentage of votes for Tom Horner according to the poll source that claimed 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_20745706_1 (opponent VARCHAR, _number VARCHAR)
Question: Who is the opponent in game 5?
[/INST]
Here is the SQLite query to answer to the question: Who is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20745706_1 (opponent VARCHAR, _number VARCHAR)
Question: Who is the opponent in game 5?
Here is the SQLite query to answer to the question: Who is the opponent in ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (week VARCHAR, date VARCHAR)
Question: What week was October 9, 1938?
[/INST]
Here is the SQLite query to answer to the question: What week was Octobe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (week VARCHAR, date VARCHAR)
Question: What week was October 9, 1938?
Here is the SQLite query to answer to the question: What week was October 9, 1938?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)
Question: What was the F/Laps when the Wins were 0 and the Position was 4th?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)
Question: What was the F/Laps when the Wins were 0 and the Position was 4th?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (second VARCHAR, lead VARCHAR)
Question: Who is second on the team with Euan Byers at lead?
[/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_38 (second VARCHAR, lead VARCHAR)
Question: Who is second on the team with Euan Byers at lead?
Here is the SQLite query to answer to the question: Who is seco... | bugdaryan/sql-create-context-instruction | |
[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 (appearance INTEGER, goals INTEGER)
Question: what is the sum of appearance when goals is more than 0?
[/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_33 (appearance INTEGER, goals INTEGER)
Question: what is the sum of appearance when goals is more than 0?
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_24 (to_par INTEGER, total INTEGER)
Question: When the total was smaller than 290, what was the highest To par?
[/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_24 (to_par INTEGER, total INTEGER)
Question: When the total was smaller than 290, what was the highest To par?
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_14523485_9 (country VARCHAR, channel VARCHAR)
Question: What country is the show aired on TVNZ?
[/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_14523485_9 (country VARCHAR, channel VARCHAR)
Question: What country is the show aired on TVNZ?
Here is the SQLite query to answer to the question: What country 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_88 (attendance VARCHAR, date VARCHAR)
Question: What was the Attendance on 11/09/1946?
[/INST]
Here is the SQLite query to answer to the question: What w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (attendance VARCHAR, date VARCHAR)
Question: What was the Attendance on 11/09/1946?
Here is the SQLite query to answer to the question: What was the Attend... | bugdaryan/sql-create-context-instruction | |
[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 (round VARCHAR, venue VARCHAR, opponent VARCHAR)
Question: Which round has a Venue of nicosia, and a Opponent of levski sofia zapad?
[/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_53 (round VARCHAR, venue VARCHAR, opponent VARCHAR)
Question: Which round has a Venue of nicosia, and a Opponent of levski sofia zapad?
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_11 (final VARCHAR, no5 VARCHAR)
Question: What is the final result of the team that has Simara as No.5?
[/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_11 (final VARCHAR, no5 VARCHAR)
Question: What is the final result of the team that has Simara as No.5?
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_61 (road_team VARCHAR, home_team VARCHAR, game VARCHAR)
Question: Which Road Team has a Home Team of rochester, and a Game of game 2?
[/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_61 (road_team VARCHAR, home_team VARCHAR, game VARCHAR)
Question: Which Road Team has a Home Team of rochester, and a Game of game 2?
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_15 (wins INTEGER, events VARCHAR, top_5 VARCHAR)
Question: what is the sum of wins when events is 13 and top-5 is less than 1?
[/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 (wins INTEGER, events VARCHAR, top_5 VARCHAR)
Question: what is the sum of wins when events is 13 and top-5 is less than 1?
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_2668173_4 (district VARCHAR, incumbent VARCHAR)
Question: What was the district of the incumbent Mathias Morris?
[/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_2668173_4 (district VARCHAR, incumbent VARCHAR)
Question: What was the district of the incumbent Mathias Morris?
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 Project_Staff (date_to VARCHAR)
Question: What is the last date of the staff leaving the projects?
[/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 Project_Staff (date_to VARCHAR)
Question: What is the last date of the staff leaving the projects?
Here is the SQLite query to answer to the question: What is the last d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (points_difference VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR)
Question: What is the difference associated with more than 2 points, fewer th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (points_difference VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR)
Question: What is the difference associated with more than 2 points, fewer than 3 l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (career_win_loss VARCHAR)
Question: Which Career Win-Loss has a 2001 of 1–1?
[/INST]
Here is the SQLite query to answer to the question: Which Career ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (career_win_loss VARCHAR)
Question: Which Career Win-Loss has a 2001 of 1–1?
Here is the SQLite query to answer to the question: Which Career Win-Loss has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stock (Carrier VARCHAR, Device_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR)
Question: List the carriers of devices that have no devices in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stock (Carrier VARCHAR, Device_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR)
Question: List the carriers of devices that have no devices in stock.... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (date VARCHAR, away_team VARCHAR)
Question: What was the date for the away team, team Southport?
[/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_80 (date VARCHAR, away_team VARCHAR)
Question: What was the date for the away team, team Southport?
Here is the SQLite query to answer to the question: What 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_27771406_1 (club VARCHAR, player VARCHAR)
Question: What club did Cyril Christiani play for?
[/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_27771406_1 (club VARCHAR, player VARCHAR)
Question: What club did Cyril Christiani play for?
Here is the SQLite query to answer to the question: What club did Cyr... | bugdaryan/sql-create-context-instruction | |
[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 (minister VARCHAR, left_office VARCHAR)
Question: Who is the mInister who left office during 1960?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (minister VARCHAR, left_office VARCHAR)
Question: Who is the mInister who left office during 1960?
Here is the SQLite query to answer to the question: Who ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17798093_20 (australian VARCHAR, american VARCHAR)
Question: how many endings have american pronounciation əs
[/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_17798093_20 (australian VARCHAR, american VARCHAR)
Question: how many endings have american pronounciation əs
Here is the SQLite query to answer to the question: h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (podiums INTEGER, races VARCHAR, final_placing VARCHAR, season VARCHAR)
Question: What is the sum of podiums of the teams with a final placing of 14th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (podiums INTEGER, races VARCHAR, final_placing VARCHAR, season VARCHAR)
Question: What is the sum of podiums of the teams with a final placing of 14th, seas... | bugdaryan/sql-create-context-instruction | |
[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 (third VARCHAR, location VARCHAR, second VARCHAR)
Question: In Winterberg, who was 3rd the year that Monique Riekewald was 2nd?
[/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_83 (third VARCHAR, location VARCHAR, second VARCHAR)
Question: In Winterberg, who was 3rd the year that Monique Riekewald was 2nd?
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_76 (played VARCHAR, difference VARCHAR, against VARCHAR)
Question: What is the total number played with a difference of 22 and less than 34 against?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (played VARCHAR, difference VARCHAR, against VARCHAR)
Question: What is the total number played with a difference of 22 and less than 34 against?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (name VARCHAR, a_league VARCHAR)
Question: Which player has an A-League of 150 (4)?
[/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_40 (name VARCHAR, a_league VARCHAR)
Question: Which player has an A-League of 150 (4)?
Here is the SQLite query to answer to the question: Which player has 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_13 (points VARCHAR, tries_for VARCHAR)
Question: What is the Points with a Tries For that is 21?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (points VARCHAR, tries_for VARCHAR)
Question: What is the Points with a Tries For that is 21?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (school VARCHAR, position VARCHAR)
Question: What is the school of the player who plays ends?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (school VARCHAR, position VARCHAR)
Question: What is the school of the player who plays ends?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10621256_1 (average VARCHAR, high_score VARCHAR)
Question: what's the average where high score is 120
[/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_10621256_1 (average VARCHAR, high_score VARCHAR)
Question: what's the average where high score is 120
Here is the SQLite query to answer to the question: what's ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13564702_4 (club VARCHAR, points_against VARCHAR)
Question: What club got 239 points against?
[/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_13564702_4 (club VARCHAR, points_against VARCHAR)
Question: What club got 239 points against?
Here is the SQLite query to answer to the question: What club got 239... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (record VARCHAR, boxscore VARCHAR, loss VARCHAR)
Question: Which record has a Boxscore of w2, and a Loss of kline (2–3)?
[/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_89 (record VARCHAR, boxscore VARCHAR, loss VARCHAR)
Question: Which record has a Boxscore of w2, and a Loss of kline (2–3)?
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_75 (final_date VARCHAR, housemates VARCHAR)
Question: What final date had 16 housemates?
[/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_75 (final_date VARCHAR, housemates VARCHAR)
Question: What final date had 16 housemates?
Here is the SQLite query to answer to the question: What final date 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_25561560_3 (yacht VARCHAR, skipper VARCHAR)
Question: What yacht did Andrew Saies sail on?
[/INST]
Here is the SQLite query to answer to the question: What ya... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25561560_3 (yacht VARCHAR, skipper VARCHAR)
Question: What yacht did Andrew Saies sail on?
Here is the SQLite query to answer to the question: What yacht did Andre... | bugdaryan/sql-create-context-instruction | |
[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 (skip VARCHAR, lead VARCHAR)
Question: Which Skip did marju velga lead?
[/INST]
Here is the SQLite query to answer to the question: Which Skip did mar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (skip VARCHAR, lead VARCHAR)
Question: Which Skip did marju velga lead?
Here is the SQLite query to answer to the question: Which Skip did marju velga lead... | bugdaryan/sql-create-context-instruction | |
[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 (division VARCHAR, apps VARCHAR, country VARCHAR)
Question: Name the total number of division for apps more than 5 for greece
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (division VARCHAR, apps VARCHAR, country VARCHAR)
Question: Name the total number of division for apps more than 5 for greece
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27091128_3 (team VARCHAR, replaced_by VARCHAR)
Question: Which team replaced their manager with Serhat Güller?
[/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_27091128_3 (team VARCHAR, replaced_by VARCHAR)
Question: Which team replaced their manager with Serhat Güller?
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 manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR)
Question: Find all manufacturers' names and their headquarters, sorted by the ones with highest r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR)
Question: Find all manufacturers' names and their headquarters, sorted by the ones with highest revenue... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, result VARCHAR)
Question: When was the match with a result of sa by 10 wkts?
[/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_18 (date VARCHAR, result VARCHAR)
Question: When was the match with a result of sa by 10 wkts?
Here is the SQLite query to answer to the question: When was th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18278508_6 (scores_by_each_individual_judge VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)
Question: What were the scores by the individual judges ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18278508_6 (scores_by_each_individual_judge VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)
Question: What were the scores by the individual judges for Ka... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
Question: How many viewers in millions watched the episode 23:55 minutes long?
[/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_1849243_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
Question: How many viewers in millions watched the episode 23:55 minutes long?
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_10 (rider VARCHAR, time_retired VARCHAR)
Question: Which rider has the time of +31.426?
[/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_10 (rider VARCHAR, time_retired VARCHAR)
Question: Which rider has the time of +31.426?
Here is the SQLite query to answer to the question: Which rider has 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_10875694_11 (system VARCHAR, title VARCHAR)
Question: What is the total number of James Bond 007: Everything or Nothing for each system?
[/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_10875694_11 (system VARCHAR, title VARCHAR)
Question: What is the total number of James Bond 007: Everything or Nothing for each system?
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_30060356_3 (gt3_pro___am_cup_winner VARCHAR, gt3_pro_cup_winner VARCHAR)
Question: Who are the gt3 pro / am cup winners when the gt3 pro cup winner was no. 1 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30060356_3 (gt3_pro___am_cup_winner VARCHAR, gt3_pro_cup_winner VARCHAR)
Question: Who are the gt3 pro / am cup winners when the gt3 pro cup winner was no. 1 vita4o... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, us_cham_rank VARCHAR, next_highest_spender VARCHAR, us_cham_spending VARCHAR)
Question: Which Year is the highest one that has a Next H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (year INTEGER, us_cham_rank VARCHAR, next_highest_spender VARCHAR, us_cham_spending VARCHAR)
Question: Which Year is the highest one that has a Next Highest... | bugdaryan/sql-create-context-instruction | |
[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 (rank VARCHAR, opposition VARCHAR)
Question: Which Rank has an Opposition of limerick?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (rank VARCHAR, opposition VARCHAR)
Question: Which Rank has an Opposition of limerick?
Here is the SQLite query to answer to the question: Which Rank has a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE inventory (store_id VARCHAR)
Question: How many items in inventory does store 1 have?
[/INST]
Here is the SQLite query to answer to the question: How many items in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE inventory (store_id VARCHAR)
Question: How many items in inventory does store 1 have?
Here is the SQLite query to answer to the question: How many items in inventory doe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (bronze VARCHAR, nation VARCHAR, gold VARCHAR)
Question: How many bronze medals did Chinese Taipei win with less than 0 gold?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (bronze VARCHAR, nation VARCHAR, gold VARCHAR)
Question: How many bronze medals did Chinese Taipei win with less than 0 gold?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10706961_2 (winning_driver VARCHAR, fastest_lap VARCHAR)
Question: How many winning drivers were there in the race that had a fastest lap time of 56.920?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10706961_2 (winning_driver VARCHAR, fastest_lap VARCHAR)
Question: How many winning drivers were there in the race that had a fastest lap time of 56.920?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)
Question: For the 1967 Cleveland Browns season what is the total number of times they played the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)
Question: For the 1967 Cleveland Browns season what is the total number of times they played the Minnes... | bugdaryan/sql-create-context-instruction | |
[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 (uni_number VARCHAR, bats VARCHAR, surname VARCHAR)
Question: What's the Uni# of Timms, who has bats of R?
[/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_22 (uni_number VARCHAR, bats VARCHAR, surname VARCHAR)
Question: What's the Uni# of Timms, who has bats of R?
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_23242968_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who directed the episode that had 6.76 million U.S. viewers?
[/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_23242968_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who directed the episode that had 6.76 million U.S. viewers?
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_77 (time VARCHAR, year VARCHAR)
Question: What Time has a Year of 1984?
[/INST]
Here is the SQLite query to answer to the question: What Time has a Year ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (time VARCHAR, year VARCHAR)
Question: What Time has a Year of 1984?
Here is the SQLite query to answer to the question: What Time has a Year of 1984?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (year_s__won VARCHAR, total VARCHAR, country VARCHAR)
Question: The golfer from Spain with a total less than 294 won in what year (s)?
[/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_20 (year_s__won VARCHAR, total VARCHAR, country VARCHAR)
Question: The golfer from Spain with a total less than 294 won in what year (s)?
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_1342149_43 (party VARCHAR, result VARCHAR, district VARCHAR)
Question: What party did the re-elected incumbent of the Texas 11 district belong to?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342149_43 (party VARCHAR, result VARCHAR, district VARCHAR)
Question: What party did the re-elected incumbent of the Texas 11 district belong to?
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_93 (bronze INTEGER, silver VARCHAR, total VARCHAR)
Question: Which Bronze has a Silver of 7, and a Total larger than 25?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (bronze INTEGER, silver VARCHAR, total VARCHAR)
Question: Which Bronze has a Silver of 7, and a Total larger than 25?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (lead VARCHAR, skip VARCHAR)
Question: Who was the lead when Jamie Meikle was the skip?
[/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_11 (lead VARCHAR, skip VARCHAR)
Question: Who was the lead when Jamie Meikle was the skip?
Here is the SQLite query to answer to the question: Who was the lea... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, runner_up VARCHAR)
Question: What is the score having a runner-up of Magdalena Maleeva?
[/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_45 (score VARCHAR, runner_up VARCHAR)
Question: What is the score having a runner-up of Magdalena Maleeva?
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_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)
Question: What is the current account balance for a G... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)
Question: What is the current account balance for a GDP at ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27756474_2 (high_assists VARCHAR, team VARCHAR)
Question: How many high assists where there for the team of caja laboral?
[/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_27756474_2 (high_assists VARCHAR, team VARCHAR)
Question: How many high assists where there for the team of caja laboral?
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_67 (mazada VARCHAR, el_samurai VARCHAR)
Question: Name the MAZADA for El Samurai of mazada (16:22)
[/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_67 (mazada VARCHAR, el_samurai VARCHAR)
Question: Name the MAZADA for El Samurai of mazada (16:22)
Here is the SQLite query to answer to the question: Name th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (country VARCHAR, date VARCHAR)
Question: What was the nationality of the winner on December 8, 1968?
[/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_99 (country VARCHAR, date VARCHAR)
Question: What was the nationality of the winner on December 8, 1968?
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 city (City_ID VARCHAR, Population INTEGER); CREATE TABLE farm_competition (Theme VARCHAR, Host_city_ID VARCHAR)
Question: Please show the themes of competitions wit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE city (City_ID VARCHAR, Population INTEGER); CREATE TABLE farm_competition (Theme VARCHAR, Host_city_ID VARCHAR)
Question: Please show the themes of competitions with host... | bugdaryan/sql-create-context-instruction | |
[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 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)
Question: What is the overall number for a kicker with a pick of less than 6?
[/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_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)
Question: What is the overall number for a kicker with a pick of less than 6?
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_67 (gold INTEGER, silver INTEGER)
Question: What is the lowest number of gold medals the nation with less than 0 silver medals has?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (gold INTEGER, silver INTEGER)
Question: What is the lowest number of gold medals the nation with less than 0 silver medals has?
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_1342270_3 (party VARCHAR, district VARCHAR)
Question: how many party with dbeingtrict being alabama 6
[/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_1342270_3 (party VARCHAR, district VARCHAR)
Question: how many party with dbeingtrict being alabama 6
Here is the SQLite query to answer to the question: how man... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, played INTEGER)
Question: What is the sum of all points when number played is less than 18?
[/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_40 (points INTEGER, played INTEGER)
Question: What is the sum of all points when number played is less than 18?
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_97 (position VARCHAR, round VARCHAR, player VARCHAR)
Question: Which Position has a Round larger than 6, and a Player of neil pilon?
[/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_97 (position VARCHAR, round VARCHAR, player VARCHAR)
Question: Which Position has a Round larger than 6, and a Player of neil pilon?
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_41 (pos VARCHAR, laps VARCHAR)
Question: What position did lap 296 come in?
[/INST]
Here is the SQLite query to answer to the question: What position did... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (pos VARCHAR, laps VARCHAR)
Question: What position did lap 296 come in?
Here is the SQLite query to answer to the question: What position did lap 296 come... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (start VARCHAR, qual VARCHAR)
Question: What place did Jack McGrath start in when he received a qual score of 141.033?
[/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_72 (start VARCHAR, qual VARCHAR)
Question: What place did Jack McGrath start in when he received a qual score of 141.033?
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_56 (year INTEGER, partnering VARCHAR, championship VARCHAR)
Question: What year was the US Open that had a partnering of Maikel Scheffers?
[/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_56 (year INTEGER, partnering VARCHAR, championship VARCHAR)
Question: What year was the US Open that had a partnering of Maikel Scheffers?
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_17302440_1 (year VARCHAR, west_manila VARCHAR)
Question: What was the year when West Manila has a tariff increase of 6.5?
[/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_17302440_1 (year VARCHAR, west_manila VARCHAR)
Question: What was the year when West Manila has a tariff increase of 6.5?
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_89 (iata VARCHAR, city VARCHAR)
Question: What shows for IATA for the City of sapporo?
[/INST]
Here is the SQLite query to answer to the question: What s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (iata VARCHAR, city VARCHAR)
Question: What shows for IATA for the City of sapporo?
Here is the SQLite query to answer to the question: What shows for IATA... | bugdaryan/sql-create-context-instruction | |
[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 (moving_to VARCHAR, date_from VARCHAR)
Question: Where did the player loaned out on 27 november 2008 move to ?
[/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_65 (moving_to VARCHAR, date_from VARCHAR)
Question: Where did the player loaned out on 27 november 2008 move to ?
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_24575253_4 (division_three VARCHAR, division_two VARCHAR)
Question: When westcott 1935 is in division two how many leagues are in division three?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24575253_4 (division_three VARCHAR, division_two VARCHAR)
Question: When westcott 1935 is in division two how many leagues are in division three?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (goals_for VARCHAR, points_1 VARCHAR, drawn VARCHAR, lost VARCHAR)
Question: What is the total number of goals for when the drawn is less than 7, less... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (goals_for VARCHAR, points_1 VARCHAR, drawn VARCHAR, lost VARCHAR)
Question: What is the total number of goals for when the drawn is less than 7, less than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19630743_2 (to_par VARCHAR, winning_score VARCHAR)
Question: How many to par has the winning score of 69-66-68=203.
[/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_19630743_2 (to_par VARCHAR, winning_score VARCHAR)
Question: How many to par has the winning score of 69-66-68=203.
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_82 (province VARCHAR, capital VARCHAR)
Question: Which province has muju as the capital?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (province VARCHAR, capital VARCHAR)
Question: Which province has muju as the capital?
Here is the SQLite query to answer to the question: Which province ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11347578_1 (wind_power__wp_ VARCHAR, country VARCHAR)
Question: What is the symbol for Windpower in China?
[/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_11347578_1 (wind_power__wp_ VARCHAR, country VARCHAR)
Question: What is the symbol for Windpower in China?
Here is the SQLite query to answer to the question: What... | 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.