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 VISITORS (Tourist_Details VARCHAR)
Question: Show details of all visitors.
[/INST]
Here is the SQLite query to answer to the question: Show details of all visitors.... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE VISITORS (Tourist_Details VARCHAR)
Question: Show details of all visitors.
Here is the SQLite query to answer to the question: Show details of all visitors.:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[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 (sales VARCHAR, year INTEGER)
Question: What were the number of sales before 1991?
[/INST]
Here is the SQLite query to answer to the question: What we... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (sales VARCHAR, year INTEGER)
Question: What were the number of sales before 1991?
Here is the SQLite query to answer to the question: What were the number... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (record VARCHAR, week VARCHAR, date VARCHAR)
Question: What was the record in a week less than 13 on November 9, 2003?
[/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_69 (record VARCHAR, week VARCHAR, date VARCHAR)
Question: What was the record in a week less than 13 on November 9, 2003?
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 (date VARCHAR, handler VARCHAR, event VARCHAR)
Question: On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?
[/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 (date VARCHAR, handler VARCHAR, event VARCHAR)
Question: On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?
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_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR)
Question: What is the Length of retirement of the President with an Age at inauguration of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR)
Question: What is the Length of retirement of the President with an Age at inauguration of 70yea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR)
Question: What is the highest episode# with the writer Paul West?
[/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_2342078_2 (episode__number INTEGER, written_by VARCHAR)
Question: What is the highest episode# with the writer Paul West?
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_10 (wins VARCHAR, league VARCHAR)
Question: What is the number of wins in the playoffs league?
[/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_10 (wins VARCHAR, league VARCHAR)
Question: What is the number of wins in the playoffs league?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (gp_gs VARCHAR, assists VARCHAR)
Question: What was the gp/gs when the assists was 1?
[/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_4 (gp_gs VARCHAR, assists VARCHAR)
Question: What was the gp/gs when the assists was 1?
Here is the SQLite query to answer to the question: What was the gp/gs... | bugdaryan/sql-create-context-instruction | |
[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 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the Tie no when Crystal Palace is the Away team?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the Tie no when Crystal Palace is the Away team?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)
Question: What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)
Question: What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164?
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 (airport VARCHAR, province VARCHAR, city VARCHAR)
Question: Which airport is in Xinjiang province in the city Kuqa?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (airport VARCHAR, province VARCHAR, city VARCHAR)
Question: Which airport is in Xinjiang province in the city Kuqa?
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_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)
Question: Which Record has a December smaller than 28, and Points smal... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)
Question: Which Record has a December smaller than 28, and Points smaller 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_77 (video VARCHAR, aspect VARCHAR)
Question: Which video has a 16:9 aspect?
[/INST]
Here is the SQLite query to answer to the question: Which video has a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (video VARCHAR, aspect VARCHAR)
Question: Which video has a 16:9 aspect?
Here is the SQLite query to answer to the question: Which video has a 16:9 aspect?... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
Question: What is the To par and holds the t8 place of the United States player Tiger... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
Question: What is the To par and holds the t8 place of the United States player Tiger Woods... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (score VARCHAR, player VARCHAR)
Question: What did Steve Stricker score?
[/INST]
Here is the SQLite query to answer to the question: What did Steve St... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (score VARCHAR, player VARCHAR)
Question: What did Steve Stricker score?
Here is the SQLite query to answer to the question: What did Steve Stricker 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_12555835_1 (population__region_total_ VARCHAR, year VARCHAR)
Question: How many figures are given for the region's total in 1947?
[/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_12555835_1 (population__region_total_ VARCHAR, year VARCHAR)
Question: How many figures are given for the region's total in 1947?
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_28 (lane INTEGER, nationality VARCHAR, time VARCHAR)
Question: What's Bulgaria's lane with a time more than 21.55?
[/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_28 (lane INTEGER, nationality VARCHAR, time VARCHAR)
Question: What's Bulgaria's lane with a time more than 21.55?
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_name_30 (team_classification VARCHAR, winner VARCHAR)
Question: What is the Team Classification if the Winner is Cyril Dessel?
[/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_30 (team_classification VARCHAR, winner VARCHAR)
Question: What is the Team Classification if the Winner is Cyril Dessel?
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_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR)
Question: What is the category Anuya Bhagvath was nominated for at vijay award?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR)
Question: What is the category Anuya Bhagvath was nominated for at vijay award?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR)
Question: What is the position of the race with a point of test driver?
[/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_70 (position VARCHAR, points VARCHAR)
Question: What is the position of the race with a point of test driver?
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_21 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
Question: Tell me the sum of laps with a time/retired of +13 laps with grid more than 18
[/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_21 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
Question: Tell me the sum of laps with a time/retired of +13 laps with grid more than 18
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 swimmer (id VARCHAR, nationality VARCHAR); CREATE TABLE record (swimmer_id VARCHAR, event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE even... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE swimmer (id VARCHAR, nationality VARCHAR); CREATE TABLE record (swimmer_id VARCHAR, event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (id ... | bugdaryan/sql-create-context-instruction | |
[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 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR)
Question: What competition, federation, or league are the Tennessee Tita... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR)
Question: What competition, federation, or league are the Tennessee Titans a m... | bugdaryan/sql-create-context-instruction | |
[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 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR)
Question: Which Year(s) of Manufacture has a Quantity larger than 60, and a Numb... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR)
Question: Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(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_name_9 (Id VARCHAR)
Question: How many 2011 1H values have a 2006 of 27.4 and 2007 over 27.7?
[/INST]
Here is the SQLite query to answer to the question: How ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (Id VARCHAR)
Question: How many 2011 1H values have a 2006 of 27.4 and 2007 over 27.7?
Here is the SQLite query to answer to the question: How many 2011 1H ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (player VARCHAR, place VARCHAR, score VARCHAR)
Question: Who is the player in t8 place with a 75-71=146 score?
[/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_68 (player VARCHAR, place VARCHAR, score VARCHAR)
Question: Who is the player in t8 place with a 75-71=146 score?
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_64 (netflix VARCHAR, series_ep VARCHAR)
Question: What is the Netflix episode for series episode 15-01?
[/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_64 (netflix VARCHAR, series_ep VARCHAR)
Question: What is the Netflix episode for series episode 15-01?
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_38 (round INTEGER, position VARCHAR, pick__number VARCHAR)
Question: What is the sum of the round of the player who plays linebacker and has a pick # gre... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (round INTEGER, position VARCHAR, pick__number VARCHAR)
Question: What is the sum of the round of the player who plays linebacker and has a pick # greater 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_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR)
Question: what is the total silver when total is 30 and bronze is more than 10?
[/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_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR)
Question: what is the total silver when total is 30 and bronze is more than 10?
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_26 (gold INTEGER, total VARCHAR, bronze VARCHAR)
Question: How many gold(s) for teams with a total of 14, and over 6 bronze medals?
[/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_26 (gold INTEGER, total VARCHAR, bronze VARCHAR)
Question: How many gold(s) for teams with a total of 14, and over 6 bronze medals?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR)
Question: Wha argon has helium of 1.0000684?
[/INST]
Here is the SQLite query to answer to the question: Wha argon has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR)
Question: Wha argon has helium of 1.0000684?
Here is the SQLite query to answer to the question: Wha argon has helium of 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_16 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team score for the home team listed as Footscray?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team score for the home team listed as Footscray?
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_2296507_1 (stellar_age__myr_ VARCHAR, stellar_classification VARCHAR)
Question: Name the stellar age for f3v
[/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_2296507_1 (stellar_age__myr_ VARCHAR, stellar_classification VARCHAR)
Question: Name the stellar age for f3v
Here is the SQLite query to answer to the question: Na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (score VARCHAR, surface VARCHAR, opponent VARCHAR)
Question: What is the Score of the tournament played on Clay Surface against Pablo Martin-Adalia?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (score VARCHAR, surface VARCHAR, opponent VARCHAR)
Question: What is the Score of the tournament played on Clay Surface against Pablo Martin-Adalia?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (Id VARCHAR)
Question: What is the 2010 of the Grand Slam Tournaments in 2011?
[/INST]
Here is the SQLite query to answer to the question: What is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (Id VARCHAR)
Question: What is the 2010 of the Grand Slam Tournaments in 2011?
Here is the SQLite query to answer to the question: What is the 2010 of 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_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR)
Question: What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Ho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR)
Question: What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, venue VARCHAR)
Question: What is the lowest Year, when Venue is Rio De Janeiro, Brazil?
[/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_42 (year INTEGER, venue VARCHAR)
Question: What is the lowest Year, when Venue is Rio De Janeiro, Brazil?
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 (original_title VARCHAR, language VARCHAR)
Question: What is the original title for the Korean language film?
[/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_name_24 (original_title VARCHAR, language VARCHAR)
Question: What is the original title for the Korean language film?
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_20319085_2 (coach VARCHAR, conference_record VARCHAR)
Question: Who coached the team in the season with a 6-1 conference record?
[/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_20319085_2 (coach VARCHAR, conference_record VARCHAR)
Question: Who coached the team in the season with a 6-1 conference record?
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_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR)
Question: When were there less than 1 point with a cosworth v8 engine in jolly club sw... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR)
Question: When were there less than 1 point with a cosworth v8 engine in jolly club switzerl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR)
Question: What was the crowd size when Essendon was the home team?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR)
Question: What was the crowd size when Essendon was the home team?
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_174491_1 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)
Question: In what year did the winner of the FIS championship in 1982 win the W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_174491_1 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)
Question: In what year did the winner of the FIS championship in 1982 win the Winter ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE schedule (show_times_per_day INTEGER, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR)
Question: What is total number of show times per dat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE schedule (show_times_per_day INTEGER, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR)
Question: What is total number of show times per dat for e... | bugdaryan/sql-create-context-instruction | |
[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 (data VARCHAR, percent_gain VARCHAR)
Question: Name the data with a percent gain of 28.4%
[/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_41 (data VARCHAR, percent_gain VARCHAR)
Question: Name the data with a percent gain of 28.4%
Here is the SQLite query to answer to the question: Name the data... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR)
Question: Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR)
Question: Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Mot... | bugdaryan/sql-create-context-instruction | |
[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 (circuit VARCHAR, date VARCHAR)
Question: What is the circuit held on 15 april?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (circuit VARCHAR, date VARCHAR)
Question: What is the circuit held on 15 april?
Here is the SQLite query to answer to the question: What is the circuit hel... | bugdaryan/sql-create-context-instruction | |
[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 (stadium VARCHAR, visiting_team VARCHAR)
Question: In what stadium were the New England Patriots the visiting team?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR)
Question: In what stadium were the New England Patriots the visiting team?
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_33 (score VARCHAR, date VARCHAR)
Question: What is the score for 17 April 2013?
[/INST]
Here is the SQLite query to answer to the question: What 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_33 (score VARCHAR, date VARCHAR)
Question: What is the score for 17 April 2013?
Here is the SQLite query to answer to the question: What is the score for 17 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_26282750_1 (participants_recipients VARCHAR, category VARCHAR)
Question: Who was the participant or recipient for the Best Female Actor?
[/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_26282750_1 (participants_recipients VARCHAR, category VARCHAR)
Question: Who was the participant or recipient for the Best Female Actor?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER)
Question: When the crowd was greater than 19,498 who was the away team?
[/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_5 (away_team VARCHAR, crowd INTEGER)
Question: When the crowd was greater than 19,498 who was the away team?
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 departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER)
Question: Find the ids of the employees ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER)
Question: Find the ids of the employees who do... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, position VARCHAR, venue VARCHAR)
Question: What was the latest year with a position of 1st at Maputo, Mozambique?
[/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_60 (year INTEGER, position VARCHAR, venue VARCHAR)
Question: What was the latest year with a position of 1st at Maputo, Mozambique?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (stepping VARCHAR, release_date VARCHAR)
Question: What is the stepping for the processor released June 5, 2007?
[/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_25 (stepping VARCHAR, release_date VARCHAR)
Question: What is the stepping for the processor released June 5, 2007?
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_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who directed the episode that had 3.55 million viewers?
[/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_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who directed the episode that had 3.55 million viewers?
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_9 (athlete VARCHAR, time VARCHAR)
Question: What is the name of the athlete with a time of 30:48?
[/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_9 (athlete VARCHAR, time VARCHAR)
Question: What is the name of the athlete with a time of 30:48?
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_1939235_1 (division INTEGER, regular_season VARCHAR)
Question: When 5th is the regular season what is the highest 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_1939235_1 (division INTEGER, regular_season VARCHAR)
Question: When 5th is the regular season what is the highest 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_name_67 (opponent VARCHAR, score VARCHAR)
Question: Which Opponent had a Score of 6-3, 6-2?
[/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_67 (opponent VARCHAR, score VARCHAR)
Question: Which Opponent had a Score of 6-3, 6-2?
Here is the SQLite query to answer to the question: Which Opponent 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_73 (away_team VARCHAR, venue VARCHAR)
Question: Who played as the away team when they played at Brunswick Street Oval?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR)
Question: Who played as the away team when they played at Brunswick Street Oval?
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_80 (game INTEGER, date VARCHAR)
Question: How many games were on December 5?
[/INST]
Here is the SQLite query to answer to the question: How many games w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)
Question: How many games were on December 5?
Here is the SQLite query to answer to the question: How many games were on Decemb... | bugdaryan/sql-create-context-instruction | |
[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 (director VARCHAR, year VARCHAR, role VARCHAR)
Question: Who directed the eula goodnight movie after 1949?
[/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_97 (director VARCHAR, year VARCHAR, role VARCHAR)
Question: Who directed the eula goodnight movie after 1949?
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_76 (name VARCHAR, role VARCHAR, period VARCHAR)
Question: What name has the role of midfielder for 1999-2003?
[/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_76 (name VARCHAR, role VARCHAR, period VARCHAR)
Question: What name has the role of midfielder for 1999-2003?
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_26980923_2 (total VARCHAR, stadium VARCHAR)
Question: What was the total attendance at rugby park?
[/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_26980923_2 (total VARCHAR, stadium VARCHAR)
Question: What was the total attendance at rugby park?
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_245694_4 (playoffs VARCHAR, concacaf VARCHAR)
Question: Name the number of playoffs for semifinals
[/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_245694_4 (playoffs VARCHAR, concacaf VARCHAR)
Question: Name the number of playoffs for semifinals
Here is the SQLite query to answer to the question: Name the num... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12887260_1 (console VARCHAR, franchise_or_game VARCHAR)
Question: What consoles was Shenmue released on?
[/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_12887260_1 (console VARCHAR, franchise_or_game VARCHAR)
Question: What consoles was Shenmue released on?
Here is the SQLite query to answer to the question: What c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER)
Question: When the crowd was larger than 20,915 what did the Away team score?
[/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_87 (away_team VARCHAR, crowd INTEGER)
Question: When the crowd was larger than 20,915 what did the Away team score?
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_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
Question: What's the volume:issue of Sheryl Crow with 3 weeks on top?
[/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_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
Question: What's the volume:issue of Sheryl Crow with 3 weeks on top?
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_58 (points VARCHAR, club VARCHAR)
Question: How many points did Newport RFC get?
[/INST]
Here is the SQLite query to answer to the question: How many poi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR)
Question: How many points did Newport RFC get?
Here is the SQLite query to answer to the question: How many points did Newpo... | bugdaryan/sql-create-context-instruction | |
[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 (accreditation_type VARCHAR, network_brand_name VARCHAR)
Question: What is Deutsche Telekom's accreditation type?
[/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_88 (accreditation_type VARCHAR, network_brand_name VARCHAR)
Question: What is Deutsche Telekom's accreditation type?
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_17015_2 (tongyong VARCHAR, chinese VARCHAR)
Question: Name the tongyong for chinese of ζΉε
§ε
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17015_2 (tongyong VARCHAR, chinese VARCHAR)
Question: Name the tongyong for chinese of ζΉε
§ε
Here is the SQLite query to answer to the question: Name the tongyong 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 people (Birth_Place VARCHAR)
Question: How many distinct birth places are there?
[/INST]
Here is the SQLite query to answer to the question: How many distinct birth... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (Birth_Place VARCHAR)
Question: How many distinct birth places are there?
Here is the SQLite query to answer to the question: How many distinct birth places are t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (week INTEGER, date VARCHAR)
Question: What is the average week of a game on November 12, 1989?
[/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_26 (week INTEGER, date VARCHAR)
Question: What is the average week of a game on November 12, 1989?
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_24 (record VARCHAR, location VARCHAR, date VARCHAR)
Question: What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR)
Question: What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR)
Question: What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR)
Question: What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme?
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_90 (home_team VARCHAR, away_team VARCHAR)
Question: Who was Melbourne's home team opponent?
[/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_90 (home_team VARCHAR, away_team VARCHAR)
Question: Who was Melbourne's home team opponent?
Here is the SQLite query to answer to the question: Who was Melbou... | bugdaryan/sql-create-context-instruction | |
[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 (gold VARCHAR, silver VARCHAR)
Question: In the Year Yugoslavia won 1 Silver, how many Gold medals did they win?
[/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_14 (gold VARCHAR, silver VARCHAR)
Question: In the Year Yugoslavia won 1 Silver, how many Gold medals did they win?
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_66 (round VARCHAR, overall VARCHAR, position VARCHAR)
Question: How many rounds have an Overall larger than 17, and a Position of quarterback?
[/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_66 (round VARCHAR, overall VARCHAR, position VARCHAR)
Question: How many rounds have an Overall larger than 17, and a Position of quarterback?
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_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR)
Question: What's the world r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR)
Question: What's the world ranking... | bugdaryan/sql-create-context-instruction | |
[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 (college VARCHAR, pick VARCHAR)
Question: What college had the 93 pick?
[/INST]
Here is the SQLite query to answer to the question: What college had t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR)
Question: What college had the 93 pick?
Here is the SQLite query to answer to the question: What college had the 93 pick?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR)
Question: What is every value when Mitchell is 676?
[/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_1818471_1 (value VARCHAR, mitchell VARCHAR)
Question: What is every value when Mitchell is 676?
Here is the SQLite query to answer to the question: What is every v... | bugdaryan/sql-create-context-instruction | |
[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 (ship VARCHAR, pennant_number VARCHAR)
Question: Which ship has a Pennant number of h.69?
[/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_43 (ship VARCHAR, pennant_number VARCHAR)
Question: Which ship has a Pennant number of h.69?
Here is the SQLite query to answer to the question: Which ship 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_name_96 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team's score when they played at Lake Oval?
[/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_96 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team's score when they played at Lake Oval?
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_73 (college VARCHAR, position VARCHAR, pick VARCHAR)
Question: What college has a pick smaller than 87 for the position of tackle?
[/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_73 (college VARCHAR, position VARCHAR, pick VARCHAR)
Question: What college has a pick smaller than 87 for the position of tackle?
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_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR)
Question: Who had the pole(s) when esteban guerrieri led the most l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR)
Question: Who had the pole(s) when esteban guerrieri led the most laps ro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR)... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR)
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR)
Question: When was Quantum Research's poll conducted?
[/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_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR)
Question: When was Quantum Research's poll conducted?
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_97 (height_m___feet VARCHAR, name VARCHAR)
Question: What is the height for shanghai x-1 financial building?
[/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_97 (height_m___feet VARCHAR, name VARCHAR)
Question: What is the height for shanghai x-1 financial building?
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_2430014_9 (series_no INTEGER)
Question: Name the least series number
[/INST]
Here is the SQLite query to answer to the question: Name the least series number:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2430014_9 (series_no INTEGER)
Question: Name the least series number
Here is the SQLite query to answer to the question: Name the least series number:
```
SELECT M... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (course VARCHAR, edition VARCHAR)
Question: What was the course called that had an Edition of 117th?
[/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_68 (course VARCHAR, edition VARCHAR)
Question: What was the course called that had an Edition of 117th?
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_62 (tie_no VARCHAR, away_team VARCHAR)
Question: What was the tie no when Watford was the away team?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (tie_no VARCHAR, away_team VARCHAR)
Question: What was the tie no when Watford was the away team?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22904780_1 (title VARCHAR, us_viewers__million_ VARCHAR)
Question: List the number of shows that had 12.04 million viewers in the united states
[/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_22904780_1 (title VARCHAR, us_viewers__million_ VARCHAR)
Question: List the number of shows that had 12.04 million viewers in the united states
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 Friend (student_id VARCHAR)
Question: Show the student IDs and numbers of friends corresponding to each.
[/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 Friend (student_id VARCHAR)
Question: Show the student IDs and numbers of friends corresponding to each.
Here is the SQLite query to answer to the question: Show the stu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13657749_2 (results VARCHAR, gto_winning_team VARCHAR)
Question: What is Peter Gregg Hurley Haywood's results?
[/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_13657749_2 (results VARCHAR, gto_winning_team VARCHAR)
Question: What is Peter Gregg Hurley Haywood's results?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR)
Question: Name the result for 2000 afc asian cup qualification
[/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_14 (result VARCHAR, competition VARCHAR)
Question: Name the result for 2000 afc asian cup qualification
Here is the SQLite query to answer to the question: Na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (regular_season VARCHAR, league VARCHAR, year VARCHAR)
Question: WHICH Regular Season has a League of npsl, and a Year of 2008?
[/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_64 (regular_season VARCHAR, league VARCHAR, year VARCHAR)
Question: WHICH Regular Season has a League of npsl, and a Year of 2008?
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_41 (game VARCHAR, opponents VARCHAR)
Question: In which game did the opponents score 14 points?
[/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_41 (game VARCHAR, opponents VARCHAR)
Question: In which game did the opponents score 14 points?
Here is the SQLite query to answer to the question: In which g... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR)
Question: Name the opponent with a record of 60-61
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR)
Question: Name the opponent with a record of 60-61
Here is the SQLite query to answer to the question: Name the opponent... | bugdaryan/sql-create-context-instruction | |
[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 (race VARCHAR, weight__kg_ INTEGER)
Question: In which races did the jockey weigh less than 55.5 kg?
[/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_78 (race VARCHAR, weight__kg_ INTEGER)
Question: In which races did the jockey weigh less than 55.5 kg?
Here is the SQLite query to answer to the question: 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_14016079_1 (date VARCHAR, rd VARCHAR)
Question: What were the dates for Round 8?
[/INST]
Here is the SQLite query to answer to the question: What were the dat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14016079_1 (date VARCHAR, rd VARCHAR)
Question: What were the dates for Round 8?
Here is the SQLite query to answer to the question: What were the dates for Round ... | bugdaryan/sql-create-context-instruction | |
[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 (pos INTEGER, league VARCHAR, postseason VARCHAR)
Question: What is the average position for tb2l teams promoted champion?
[/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_79 (pos INTEGER, league VARCHAR, postseason VARCHAR)
Question: What is the average position for tb2l teams promoted champion?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (winning_driver VARCHAR, date VARCHAR)
Question: Name the winner for 29 march
[/INST]
Here is the SQLite query to answer to the question: Name the win... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (winning_driver VARCHAR, date VARCHAR)
Question: Name the winner for 29 march
Here is the SQLite query to answer to the question: Name the winner for 29 ma... | 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.