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 Invoices (invoice_date VARCHAR, order_id VARCHAR); CREATE TABLE Orders (order_details VARCHAR, order_id VARCHAR)
Question: Show invoice dates and order id and detai... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Invoices (invoice_date VARCHAR, order_id VARCHAR); CREATE TABLE Orders (order_details VARCHAR, order_id VARCHAR)
Question: Show invoice dates and order id and details for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (week VARCHAR, result VARCHAR)
Question: Tell me the total number of week for w 35–7
[/INST]
Here is the SQLite query to answer to the question: Tell ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (week VARCHAR, result VARCHAR)
Question: Tell me the total number of week for w 35–7
Here is the SQLite query to answer to the question: Tell me the total ... | bugdaryan/sql-create-context-instruction | |
[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 (placings VARCHAR, nation VARCHAR)
Question: What was the placing of the nation of East Germany?
[/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_92 (placings VARCHAR, nation VARCHAR)
Question: What was the placing of the nation of East Germany?
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 airports (name VARCHAR, city VARCHAR)
Question: Find the name of the airport in the city of Goroka.
[/INST]
Here is the SQLite query to answer to the question: Find... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE airports (name VARCHAR, city VARCHAR)
Question: Find the name of the airport in the city of Goroka.
Here is the SQLite query to answer to the question: Find the name of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (population INTEGER, surfacearea INTEGER, continent VARCHAR)
Question: What is the total population and average area of countries in the continent of North ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (population INTEGER, surfacearea INTEGER, continent VARCHAR)
Question: What is the total population and average area of countries in the continent of North Americ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27671835_3 (new_membership_total VARCHAR, conference VARCHAR)
Question: What was the new membership total at the nchc (men only) conference?
[/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_27671835_3 (new_membership_total VARCHAR, conference VARCHAR)
Question: What was the new membership total at the nchc (men only) conference?
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_14 (Id VARCHAR)
Question: Which 1998 tournament had a performance of 3R in 2007?
[/INST]
Here is the SQLite query to answer to the question: Which 1998 t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (Id VARCHAR)
Question: Which 1998 tournament had a performance of 3R in 2007?
Here is the SQLite query to answer to the question: Which 1998 tournament 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_2008069_2 (uyghur___k̢ona_yezik̢__ VARCHAR, chinese VARCHAR)
Question: Name the uyghur for 瓦恰
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2008069_2 (uyghur___k̢ona_yezik̢__ VARCHAR, chinese VARCHAR)
Question: Name the uyghur for 瓦恰
Here is the SQLite query to answer to the question: Name the uyghur ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (country VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What country has to par E with Mark O'Meara?
[/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_44 (country VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What country has to par E with Mark O'Meara?
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_78 (frequency VARCHAR, class VARCHAR)
Question: Name the frequency with class of b
[/INST]
Here is the SQLite query to answer to the question: Name the f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (frequency VARCHAR, class VARCHAR)
Question: Name the frequency with class of b
Here is the SQLite query to answer to the question: Name the frequency with... | bugdaryan/sql-create-context-instruction | |
[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 (fa_cup_goals INTEGER, league_cup_goals VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR, league_goals VARCHAR)
Question: What is the lowest FA Cup G... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (fa_cup_goals INTEGER, league_cup_goals VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR, league_goals VARCHAR)
Question: What is the lowest FA Cup Goals, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
Question: Which Winning driver has a Winning constructor of mercedes, and a Name o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
Question: Which Winning driver has a Winning constructor of mercedes, and a Name of elgi... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, venue VARCHAR)
Question: What is the score of the away team that played at Kardinia Park?
[/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_33 (away_team VARCHAR, venue VARCHAR)
Question: What is the score of the away team that played at Kardinia Park?
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_50 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What is the Score of Stewart Cink with a To par of +4?
[/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_50 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What is the Score of Stewart Cink with a To par of +4?
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_28 (tournament VARCHAR, result VARCHAR)
Question: In what tournament is there a result of 46-18?
[/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_28 (tournament VARCHAR, result VARCHAR)
Question: In what tournament is there a result of 46-18?
Here is the SQLite query to answer to the question: In what 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_2847477_2 (pinyin VARCHAR, english_name VARCHAR)
Question: What is the pinyin name for the english name xin county?
[/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_2847477_2 (pinyin VARCHAR, english_name VARCHAR)
Question: What is the pinyin name for the english name xin county?
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 participants (participant_type_code VARCHAR)
Question: What is the most common participant type?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE participants (participant_type_code VARCHAR)
Question: What is the most common participant type?
Here is the SQLite query to answer to the question: What is the most com... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
Question: who won mixed doubles when zhou mi won womens singles
[/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_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
Question: who won mixed doubles when zhou mi won womens singles
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR)
Question: What is Attendance, when Date is "26 December 2004"?
[/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_56 (attendance VARCHAR, date VARCHAR)
Question: What is Attendance, when Date is "26 December 2004"?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (fuel_system VARCHAR, displacement VARCHAR)
Question: Which fuel system has a displacement of 1490cc?
[/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_68 (fuel_system VARCHAR, displacement VARCHAR)
Question: Which fuel system has a displacement of 1490cc?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (club VARCHAR, try_bonus VARCHAR)
Question: Which club has a try bonus of 2 ?
[/INST]
Here is the SQLite query to answer to the question: Which club ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (club VARCHAR, try_bonus VARCHAR)
Question: Which club has a try bonus of 2 ?
Here is the SQLite query to answer to the question: Which club has a try bonus... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (removal_treaty__year_signed_ VARCHAR, nation VARCHAR)
Question: Which removal treaty covered the chickasaw nation?
[/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_32 (removal_treaty__year_signed_ VARCHAR, nation VARCHAR)
Question: Which removal treaty covered the chickasaw nation?
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 matches (winner_id VARCHAR, tourney_name VARCHAR); CREATE TABLE players (country_code VARCHAR, first_name VARCHAR, player_id VARCHAR)
Question: What are the country... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE matches (winner_id VARCHAR, tourney_name VARCHAR); CREATE TABLE players (country_code VARCHAR, first_name VARCHAR, player_id VARCHAR)
Question: What are the country code ... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, nation VARCHAR, gold VARCHAR)
Question: What is the sum of silver medals of the nation Cuba, which has less than 0 gold?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR, gold VARCHAR)
Question: What is the sum of silver medals of the nation Cuba, which has less than 0 gold?
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_31 (date VARCHAR, record VARCHAR)
Question: Name the date that had a record of 90-60
[/INST]
Here is the SQLite query to answer to the question: Name the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)
Question: Name the date that had a record of 90-60
Here is the SQLite query to answer to the question: Name the date that 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_73 (status VARCHAR, style VARCHAR)
Question: what's the status in the style of ballet/ gymnastics?
[/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_73 (status VARCHAR, style VARCHAR)
Question: what's the status in the style of ballet/ gymnastics?
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_name_24 (score VARCHAR, date VARCHAR)
Question: What was the score of the game on May 26?
[/INST]
Here is the SQLite query to answer to the question: What was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR)
Question: What was the score of the game on May 26?
Here is the SQLite query to answer to the question: What was the score of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1176162_3 (cylinders__valves VARCHAR, model VARCHAR)
Question: what's the cylinders/ valves with model being 1.8 20v
[/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_1176162_3 (cylinders__valves VARCHAR, model VARCHAR)
Question: what's the cylinders/ valves with model being 1.8 20v
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 country (Name VARCHAR, SurfaceArea INTEGER, Continent VARCHAR)
Question: What are the countries that have greater surface area than any country in Europe?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Name VARCHAR, SurfaceArea INTEGER, Continent VARCHAR)
Question: What are the countries that have greater surface area than any country in Europe?
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_27654988_1 (scorers VARCHAR, result VARCHAR)
Question: Who were the scorers in the game with final score 0–4 7–1 0–3?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27654988_1 (scorers VARCHAR, result VARCHAR)
Question: Who were the scorers in the game with final score 0–4 7–1 0–3?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (label VARCHAR, format VARCHAR, date VARCHAR)
Question: What Label released a CD single in 1993?
[/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_5 (label VARCHAR, format VARCHAR, date VARCHAR)
Question: What Label released a CD single in 1993?
Here is the SQLite query to answer to the question: What La... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR)
Question: What is the famous for where the finished is 5th?
[/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_14345690_5 (famous_for VARCHAR, finished VARCHAR)
Question: What is the famous for where the finished is 5th?
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_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
Question: How many films are titled "Dans la Ville Blanche"?
[/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_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
Question: How many films are titled "Dans la Ville Blanche"?
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_49 (group VARCHAR, population VARCHAR, island VARCHAR)
Question: What group on the island of Muckle Green Holm has a population of 0?
[/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_49 (group VARCHAR, population VARCHAR, island VARCHAR)
Question: What group on the island of Muckle Green Holm has a population of 0?
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_49 (competition VARCHAR, score VARCHAR)
Question: What is the name of the competition with a score of 1-5?
[/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_49 (competition VARCHAR, score VARCHAR)
Question: What is the name of the competition with a score of 1-5?
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_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR)
Question: How many different results came out of the round in which #98 All American Racers became the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR)
Question: How many different results came out of the round in which #98 All American Racers became the GTU wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (city VARCHAR, seasons_in_league VARCHAR, club VARCHAR)
Question: Which City has Seasons in league of 17, and a Club of shakhter?
[/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_99 (city VARCHAR, seasons_in_league VARCHAR, club VARCHAR)
Question: Which City has Seasons in league of 17, and a Club of shakhter?
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_11 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: How many Gold medals does the country with 2 Silver and more than 2 Bronze have?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: How many Gold medals does the country with 2 Silver and more than 2 Bronze have?
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_9 (time VARCHAR, notes VARCHAR, country VARCHAR)
Question: What is the time for Estonia with sc/d notes?
[/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_9 (time VARCHAR, notes VARCHAR, country VARCHAR)
Question: What is the time for Estonia with sc/d notes?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (finish VARCHAR, start VARCHAR)
Question: What is the finish of the year with start 5?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (finish VARCHAR, start VARCHAR)
Question: What is the finish of the year with start 5?
Here is the SQLite query to answer to the question: What is the fini... | bugdaryan/sql-create-context-instruction | |
[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 (bb_pop VARCHAR, riaa VARCHAR, cb_cw VARCHAR, year VARCHAR)
Question: What is the BB pop of the song with a CB CW of 1, RIAA of P and was released mor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (bb_pop VARCHAR, riaa VARCHAR, cb_cw VARCHAR, year VARCHAR)
Question: What is the BB pop of the song with a CB CW of 1, RIAA of P and was released more rece... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25519358_1 (vertical_0_b VARCHAR, name VARCHAR)
Question: Name the vertical for 边 bian
[/INST]
Here is the SQLite query to answer to the question: Name the v... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25519358_1 (vertical_0_b VARCHAR, name VARCHAR)
Question: Name the vertical for 边 bian
Here is the SQLite query to answer to the question: Name the vertical for ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18733480_1 (players_left_after_round_1 VARCHAR, team_1 VARCHAR)
Question: How many times was team 1 the wykeham wonderers?
[/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_18733480_1 (players_left_after_round_1 VARCHAR, team_1 VARCHAR)
Question: How many times was team 1 the wykeham wonderers?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (wheels VARCHAR, railway VARCHAR, built VARCHAR, location VARCHAR)
Question: Which Wheels has Built smaller than 1958, a Location of york, and a Railw... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (wheels VARCHAR, railway VARCHAR, built VARCHAR, location VARCHAR)
Question: Which Wheels has Built smaller than 1958, a Location of york, and a Railway of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19255192_1 (fiscal_year VARCHAR)
Question: What is the largest 6-car-sets for fiscal year 1968?
[/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_19255192_1 (fiscal_year VARCHAR)
Question: What is the largest 6-car-sets for fiscal year 1968?
Here is the SQLite query to answer to the question: What is the lar... | bugdaryan/sql-create-context-instruction | |
[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 (league_goals VARCHAR, league_cup_goals VARCHAR, scorer VARCHAR)
Question: What is the number of league goals when Bill Dearden was the scorer and 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 (league_goals VARCHAR, league_cup_goals VARCHAR, scorer VARCHAR)
Question: What is the number of league goals when Bill Dearden was the scorer and there was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Tell me the time/retired for Laps larger than 63 and has a grid of 20
[/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 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Tell me the time/retired for Laps larger than 63 and has a grid of 20
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_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: Who was the successor that was formally installed on March 30, 1870?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: Who was the successor that was formally installed on March 30, 1870?
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_25718552_2 (Ends INTEGER, stolen_ends VARCHAR)
Question: What is the largest amount of ends won when stolen ends were 3?
[/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_25718552_2 (Ends INTEGER, stolen_ends VARCHAR)
Question: What is the largest amount of ends won when stolen ends were 3?
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_51 (tns_sofres_6_2_09 VARCHAR, ipsos_6_3_09 VARCHAR)
Question: What's the TNS-Sofres when Ipsos was 27%?
[/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_51 (tns_sofres_6_2_09 VARCHAR, ipsos_6_3_09 VARCHAR)
Question: What's the TNS-Sofres when Ipsos was 27%?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (name VARCHAR, replacement VARCHAR)
Question: Who was replaced by Lieve Wierinck?
[/INST]
Here is the SQLite query to answer to the question: Who was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (name VARCHAR, replacement VARCHAR)
Question: Who was replaced by Lieve Wierinck?
Here is the SQLite query to answer to the question: Who was replaced by 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_92 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the total attendance in a week greater than 1 with an opponent of Philadelphia ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the total attendance in a week greater than 1 with an opponent of Philadelphia Eagles... | bugdaryan/sql-create-context-instruction | |
[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 (third_vice_president VARCHAR, inaugurated VARCHAR)
Question: What is Third Vice President, when Inaugurated is "15 March 1934"?
[/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_38 (third_vice_president VARCHAR, inaugurated VARCHAR)
Question: What is Third Vice President, when Inaugurated is "15 March 1934"?
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_34 (election VARCHAR)
Question: What is the 1st party during the 1857 election?
[/INST]
Here is the SQLite query to answer to the question: What is the 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (election VARCHAR)
Question: What is the 1st party during the 1857 election?
Here is the SQLite query to answer to the question: What is the 1st party duri... | bugdaryan/sql-create-context-instruction | |
[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 (scheduled VARCHAR, wind_farm VARCHAR, capacity__mw_ VARCHAR, type VARCHAR)
Question: What is the scheduled value for the farm having a capacity under... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (scheduled VARCHAR, wind_farm VARCHAR, capacity__mw_ VARCHAR, type VARCHAR)
Question: What is the scheduled value for the farm having a capacity under 32.5M... | bugdaryan/sql-create-context-instruction | |
[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 (shooting_score__pts_ VARCHAR, total VARCHAR, athlete VARCHAR)
Question: Which Shooting Score (pts) has a Total larger than 5464 and a Athlete of heath... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (shooting_score__pts_ VARCHAR, total VARCHAR, athlete VARCHAR)
Question: Which Shooting Score (pts) has a Total larger than 5464 and a Athlete of heather fel... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (grid INTEGER, laps VARCHAR)
Question: What is biggest grid when the laps are 65?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (grid INTEGER, laps VARCHAR)
Question: What is biggest grid when the laps are 65?
Here is the SQLite query to answer to the question: What is biggest grid ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (date VARCHAR, scorers VARCHAR)
Question: When was the scorer mccoist (3), johnston, butcher, steven?
[/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_48 (date VARCHAR, scorers VARCHAR)
Question: When was the scorer mccoist (3), johnston, butcher, steven?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR)
Question: Which Adelaide has Sydney yes, Melbourne yes, and Perth no?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR)
Question: Which Adelaide has Sydney yes, Melbourne yes, and Perth no?
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 Products (Product_Type_Code VARCHAR, Product_Price INTEGER)
Question: Show the product type codes that have both products with price higher than 4500 and products w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Products (Product_Type_Code VARCHAR, Product_Price INTEGER)
Question: Show the product type codes that have both products with price higher than 4500 and products with pr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17251764_1 (shire VARCHAR, area_in_km_2 VARCHAR)
Question: how many shire in the land of area in km 2 is 27.17
[/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_17251764_1 (shire VARCHAR, area_in_km_2 VARCHAR)
Question: how many shire in the land of area in km 2 is 27.17
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (song_title VARCHAR, artist VARCHAR)
Question: What's the title of the song by Winger?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (song_title VARCHAR, artist VARCHAR)
Question: What's the title of the song by Winger?
Here is the SQLite query to answer to the question: What's the title... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, crowd INTEGER)
Question: Which venue exceeded a crowd size of 33,642?
[/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_26 (venue VARCHAR, crowd INTEGER)
Question: Which venue exceeded a crowd size of 33,642?
Here is the SQLite query to answer to the question: Which venue excee... | bugdaryan/sql-create-context-instruction | |
[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 (perigee__km_ INTEGER, launch_date VARCHAR)
Question: What is the lowest Perigee with a Launch date of 1970-08-26?
[/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_30 (perigee__km_ INTEGER, launch_date VARCHAR)
Question: What is the lowest Perigee with a Launch date of 1970-08-26?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (appearances INTEGER, win__percentage VARCHAR)
Question: What's listed as the lowest Appearances with a Win % of 0.706?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (appearances INTEGER, win__percentage VARCHAR)
Question: What's listed as the lowest Appearances with a Win % of 0.706?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (record VARCHAR, result VARCHAR, date VARCHAR)
Question: What record has w as the result, with January 2 as the date?
[/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_7 (record VARCHAR, result VARCHAR, date VARCHAR)
Question: What record has w as the result, with January 2 as the date?
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 university (school VARCHAR, LOCATION VARCHAR, affiliation VARCHAR)
Question: List all public schools and their locations.
[/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 university (school VARCHAR, LOCATION VARCHAR, affiliation VARCHAR)
Question: List all public schools and their locations.
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 Customers (customer_address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
Question: Which city does has most number of customers?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Customers (customer_address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
Question: Which city does has most number of customers?
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_13746866_2 (number_of_deputies VARCHAR, number_of_votes_received VARCHAR, election_date VARCHAR)
Question: what's the number of deputies with number of votes ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13746866_2 (number_of_deputies VARCHAR, number_of_votes_received VARCHAR, election_date VARCHAR)
Question: what's the number of deputies with number of votes receiv... | bugdaryan/sql-create-context-instruction | |
[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 (poll_source VARCHAR, steve_poizner VARCHAR)
Question: What poll had Steve Poizner at 37%?
[/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_55 (poll_source VARCHAR, steve_poizner VARCHAR)
Question: What poll had Steve Poizner at 37%?
Here is the SQLite query to answer to the question: What poll 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_12 (visiting_team VARCHAR, final_score VARCHAR)
Question: Which visiting team had a final score of 14-34?
[/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_12 (visiting_team VARCHAR, final_score VARCHAR)
Question: Which visiting team had a final score of 14-34?
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_10638523_1 (mid_hill_zone VARCHAR, particulars_and_characteristics VARCHAR)
Question: For mid-hill zone what is the altitude?
[/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_10638523_1 (mid_hill_zone VARCHAR, particulars_and_characteristics VARCHAR)
Question: For mid-hill zone what is the altitude?
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 employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, salary VARCHAR, department_id VARCHAR)
Question: display the full name (first and last), hire d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, salary VARCHAR, department_id VARCHAR)
Question: display the full name (first and last), hire date, 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 customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_name VARCHAR, customer_phone VARCHAR, customer_... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VAR... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE competition (country VARCHAR, competition_type VARCHAR)
Question: which country did participated in the most number of Tournament competitions?
[/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 competition (country VARCHAR, competition_type VARCHAR)
Question: which country did participated in the most number of Tournament competitions?
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 (country VARCHAR, builder VARCHAR, ship VARCHAR)
Question: What country was the Pegasus, build by Royal Dockyard, from?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (country VARCHAR, builder VARCHAR, ship VARCHAR)
Question: What country was the Pegasus, build by Royal Dockyard, from?
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_1496582_1 (gdp_millions_of_usd__2009_ VARCHAR, country___territory VARCHAR)
Question: What was the GDP (in millions USD) of Indonesia in 2009?
[/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_1496582_1 (gdp_millions_of_usd__2009_ VARCHAR, country___territory VARCHAR)
Question: What was the GDP (in millions USD) of Indonesia in 2009?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (area__km_2__ INTEGER, area__sq_mi_ VARCHAR, location VARCHAR)
Question: What is the average area in New York that is larger than 55 sq mi?
[/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 (area__km_2__ INTEGER, area__sq_mi_ VARCHAR, location VARCHAR)
Question: What is the average area in New York that is larger than 55 sq mi?
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_66 (attendance INTEGER, loss VARCHAR)
Question: What was the average attendance for games with a loss of papelbon (0–1)?
[/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_66 (attendance INTEGER, loss VARCHAR)
Question: What was the average attendance for games with a loss of papelbon (0–1)?
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_26866233_1 (title VARCHAR, original_airdate VARCHAR)
Question: The episode with the original airdate December22,1996 has what title?
[/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_26866233_1 (title VARCHAR, original_airdate VARCHAR)
Question: The episode with the original airdate December22,1996 has what title?
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 (cuts_made INTEGER, top_10 VARCHAR)
Question: How many average cuts made when 11 is the Top-10?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (cuts_made INTEGER, top_10 VARCHAR)
Question: How many average cuts made when 11 is the Top-10?
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 poker_player (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
Question: What are the names of poker players?
[/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 poker_player (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
Question: What are the names of poker players?
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_49 (attendance VARCHAR, date VARCHAR)
Question: What was the Attendance on September 11, 1983?
[/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_49 (attendance VARCHAR, date VARCHAR)
Question: What was the Attendance on September 11, 1983?
Here is the SQLite query to answer to the question: What 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_17861179_1 (result VARCHAR, week VARCHAR)
Question: For week 6, what were the results?
[/INST]
Here is the SQLite query to answer to the question: For week 6,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17861179_1 (result VARCHAR, week VARCHAR)
Question: For week 6, what were the results?
Here is the SQLite query to answer to the question: For week 6, what were th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (player VARCHAR, s_wicket VARCHAR)
Question: Which player has a s wicket at 48?
[/INST]
Here is the SQLite query to answer to the question: Which play... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (player VARCHAR, s_wicket VARCHAR)
Question: Which player has a s wicket at 48?
Here is the SQLite query to answer to the question: Which player has a s wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30134667_2 (circuit VARCHAR, location VARCHAR)
Question: What is the circuit located in baltimore , maryland?
[/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_30134667_2 (circuit VARCHAR, location VARCHAR)
Question: What is the circuit located in baltimore , maryland?
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_16119656_1 (attendance INTEGER)
Question: What was the lowest no. of attendance on record?
[/INST]
Here is the SQLite query to answer to the question: What wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16119656_1 (attendance INTEGER)
Question: What was the lowest no. of attendance on record?
Here is the SQLite query to answer to the question: What was the lowest ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18594107_1 (points INTEGER, team VARCHAR)
Question: What is the least number of poins for San Lorenzo?
[/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_18594107_1 (points INTEGER, team VARCHAR)
Question: What is the least number of poins for San Lorenzo?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR)
Question: What is the Sweet Potato amount when the soybean amount is 1.65?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR)
Question: What is the Sweet Potato amount when the soybean amount is 1.65?
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_63 (record VARCHAR, high_rebounds VARCHAR)
Question: What was the record when the high rebound was Deandre Jordan (11)?
[/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_63 (record VARCHAR, high_rebounds VARCHAR)
Question: What was the record when the high rebound was Deandre Jordan (11)?
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_61 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What is the Score of the Round with Player Aaron Baddeley having a To par of +2?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What is the Score of the Round with Player Aaron Baddeley having a To par of +2?
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_22514845_4 (reporters VARCHAR, year VARCHAR)
Question: Who are the reporters for the year of 1984?
[/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_22514845_4 (reporters VARCHAR, year VARCHAR)
Question: Who are the reporters for the year of 1984?
Here is the SQLite query to answer to the question: Who are 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_23710609_2 (romanian__colloquial_ VARCHAR, english VARCHAR)
Question: What is the colloquial translation of (s)he will sing?
[/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_23710609_2 (romanian__colloquial_ VARCHAR, english VARCHAR)
Question: What is the colloquial translation of (s)he will sing?
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_1341604_11 (district VARCHAR, incumbent VARCHAR)
Question: Name the districk for larry mcdonald
[/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_1341604_11 (district VARCHAR, incumbent VARCHAR)
Question: Name the districk for larry mcdonald
Here is the SQLite query to answer to the question: Name the distri... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (total INTEGER, fa_cup_goals VARCHAR, league_goals VARCHAR)
Question: Which Total has an FA Cup goals of 1, and a League goals of 4 + 7?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (total INTEGER, fa_cup_goals VARCHAR, league_goals VARCHAR)
Question: Which Total has an FA Cup goals of 1, and a League goals of 4 + 7?
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_43 (losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)
Question: What is the losses average when the against is greater than 1255 and wins is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)
Question: What is the losses average when the against is greater than 1255 and wins is 0 and ... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, opponent VARCHAR)
Question: Which Score had an Opponent of chris evert-lloyd?
[/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_53 (score VARCHAR, opponent VARCHAR)
Question: Which Score had an Opponent of chris evert-lloyd?
Here is the SQLite query to answer to the question: Which Sco... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, year_s__won VARCHAR, total VARCHAR)
Question: What is the To par for the player that won in 2003, with a total larger than 145?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (to_par VARCHAR, year_s__won VARCHAR, total VARCHAR)
Question: What is the To par for the player that won in 2003, with a total larger than 145?
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_1 (score VARCHAR, result VARCHAR)
Question: What was the final score when the result was 4-0?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (score VARCHAR, result VARCHAR)
Question: What was the final score when the result was 4-0?
Here is the SQLite query to answer to the question: What was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (position VARCHAR, round VARCHAR, pick VARCHAR)
Question: What position after round 8 has a pick less than 270?
[/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_67 (position VARCHAR, round VARCHAR, pick VARCHAR)
Question: What position after round 8 has a pick less than 270?
Here is the SQLite query to answer to the q... | 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.