text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (tries_against VARCHAR, tries_for VARCHAR)
Question: What is Tries Against, when Tries For is 20?
[/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_22 (tries_against VARCHAR, tries_for VARCHAR)
Question: What is Tries Against, when Tries For is 20?
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_90 (aggravated_assault INTEGER, crime_index_total VARCHAR, crime_rate_per_1000 VARCHAR, rape VARCHAR)
Question: Which aggravated assault has the highest ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (aggravated_assault INTEGER, crime_index_total VARCHAR, crime_rate_per_1000 VARCHAR, rape VARCHAR)
Question: Which aggravated assault has the highest amount... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (year INTEGER, director VARCHAR)
Question: What is the most recent year featuring the director Christopher Kulikowski?
[/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_89 (year INTEGER, director VARCHAR)
Question: What is the most recent year featuring the director Christopher Kulikowski?
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_95 (laps VARCHAR, year VARCHAR)
Question: How many laps were in 1969?
[/INST]
Here is the SQLite query to answer to the question: How many laps were in 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (laps VARCHAR, year VARCHAR)
Question: How many laps were in 1969?
Here is the SQLite query to answer to the question: How many laps were in 1969?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, player VARCHAR)
Question: What is Anders Forsbrand's Place?
[/INST]
Here is the SQLite query to answer to the question: What is Anders... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (place VARCHAR, player VARCHAR)
Question: What is Anders Forsbrand's Place?
Here is the SQLite query to answer to the question: What is Anders Forsbrand'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_23242968_1 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed the episode that was written by Jonathan Fener?
[/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_23242968_1 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed the episode that was written by Jonathan Fener?
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_22297140_3 (team VARCHAR, outgoing_manager VARCHAR)
Question: Which team had an outgoing manager of Behtash Fariba?
[/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_22297140_3 (team VARCHAR, outgoing_manager VARCHAR)
Question: Which team had an outgoing manager of Behtash Fariba?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1310499_1 (input_splines VARCHAR, tag_id VARCHAR)
Question: What is the 3rd ratio for tag number 1386-000-017 and input splines of 26?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1310499_1 (input_splines VARCHAR, tag_id VARCHAR)
Question: What is the 3rd ratio for tag number 1386-000-017 and input splines of 26?
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_23799417_2 (rating VARCHAR)
Question: What is the rating if the rating/share (18-49) is 3.6?
[/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_23799417_2 (rating VARCHAR)
Question: What is the rating if the rating/share (18-49) is 3.6?
Here is the SQLite query to answer to the question: What is the rating... | bugdaryan/sql-create-context-instruction | |
[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 (season VARCHAR, ufl_cup VARCHAR)
Question: Which Season has a UFL Cup of quarter-finals?
[/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_42 (season VARCHAR, ufl_cup VARCHAR)
Question: Which Season has a UFL Cup of quarter-finals?
Here is the SQLite query to answer to the question: Which Season ... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, record VARCHAR)
Question: Which Attendance is the lowest one that has a Record of 5–5–0?
[/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_77 (attendance INTEGER, record VARCHAR)
Question: Which Attendance is the lowest one that has a Record of 5–5–0?
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_52 (date VARCHAR, ground VARCHAR, opponent VARCHAR, tournament VARCHAR)
Question: Which date's opponent was Dender when the tournament was in the Jupiler... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (date VARCHAR, ground VARCHAR, opponent VARCHAR, tournament VARCHAR)
Question: Which date's opponent was Dender when the tournament was in the Jupiler Leagu... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, score VARCHAR)
Question: What place is the player with a score of 69-68=137?
[/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_84 (place VARCHAR, score VARCHAR)
Question: What place is the player with a score of 69-68=137?
Here is the SQLite query to answer to the question: What place... | bugdaryan/sql-create-context-instruction | |
[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 (race_name VARCHAR, circuit VARCHAR)
Question: What is the name of the race for which the circuit was Snetterton?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (race_name VARCHAR, circuit VARCHAR)
Question: What is the name of the race for which the circuit was Snetterton?
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_27 (speed VARCHAR, team VARCHAR, rank VARCHAR)
Question: What was #7 BMW's speed?
[/INST]
Here is the SQLite query to answer to the question: What was #7... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (speed VARCHAR, team VARCHAR, rank VARCHAR)
Question: What was #7 BMW's speed?
Here is the SQLite query to answer to the question: What was #7 BMW's speed?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18461045_1 (michigan VARCHAR, indiana VARCHAR)
Question: What was the little league team from Michigan when the little league team from Indiana was Terre Haut... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18461045_1 (michigan VARCHAR, indiana VARCHAR)
Question: What was the little league team from Michigan when the little league team from Indiana was Terre Haute Nort... | bugdaryan/sql-create-context-instruction | |
[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 (airing_date VARCHAR, english_title__chinese_title_ VARCHAR, genre VARCHAR, official_website VARCHAR, number_of_episodes VARCHAR)
Question: What's the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (airing_date VARCHAR, english_title__chinese_title_ VARCHAR, genre VARCHAR, official_website VARCHAR, number_of_episodes VARCHAR)
Question: What's the airin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR)
Question: What is the engine displacement for the engine type b5254 t?
[/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_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR)
Question: What is the engine displacement for the engine type b5254 t?
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_19 (time_retired VARCHAR, grid VARCHAR)
Question: What is the time/retired for grid 3?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (time_retired VARCHAR, grid VARCHAR)
Question: What is the time/retired for grid 3?
Here is the SQLite query to answer to the question: What is the time/re... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)
Question: How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opp... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)
Question: How many were in attendance at Griffith Stadium with Philadelphia Eagles as an 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_1756264_2 (subsidiaries INTEGER, company_name VARCHAR)
Question: How many subsidiaries are there of Postermobile Advertising Limited?
[/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_1756264_2 (subsidiaries INTEGER, company_name VARCHAR)
Question: How many subsidiaries are there of Postermobile Advertising Limited?
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_17 (played INTEGER, drawn VARCHAR, against VARCHAR)
Question: What is the average played that has a drawn greater than 1, with an against greater than 16... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (played INTEGER, drawn VARCHAR, against VARCHAR)
Question: What is the average played that has a drawn greater than 1, with an against greater than 16?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (prominence__m_ INTEGER, col__m_ INTEGER)
Question: Count the Prominence (m) of Col (m) smaller than 0?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (prominence__m_ INTEGER, col__m_ INTEGER)
Question: Count the Prominence (m) of Col (m) smaller than 0?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (number_of_electorates__2009_ INTEGER, name VARCHAR)
Question: What is the electorates in 2009 for Modi Nagar?
[/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_6 (number_of_electorates__2009_ INTEGER, name VARCHAR)
Question: What is the electorates in 2009 for Modi Nagar?
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 Allergy_type (allergy VARCHAR, allergytype VARCHAR)
Question: Show all allergies with type food.
[/INST]
Here is the SQLite query to answer to the question: Show al... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Allergy_type (allergy VARCHAR, allergytype VARCHAR)
Question: Show all allergies with type food.
Here is the SQLite query to answer to the question: Show all allergies 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_54 (high_points VARCHAR, date VARCHAR)
Question: Who was the leading scorer and how many did he score for the game on June 13?
[/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_54 (high_points VARCHAR, date VARCHAR)
Question: Who was the leading scorer and how many did he score for the game on June 13?
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_24427210_1 (date VARCHAR, stadium VARCHAR)
Question: Name the date for raymond james stadium
[/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_24427210_1 (date VARCHAR, stadium VARCHAR)
Question: Name the date for raymond james stadium
Here is the SQLite query to answer to the question: Name the date 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_88 (japan VARCHAR, total VARCHAR)
Question: What are the sales in Japan for the release totaling 1.82 million?
[/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_88 (japan VARCHAR, total VARCHAR)
Question: What are the sales in Japan for the release totaling 1.82 million?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (position VARCHAR, nfl_club VARCHAR)
Question: What is the position of the pittsburgh steelers?
[/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_29 (position VARCHAR, nfl_club VARCHAR)
Question: What is the position of the pittsburgh steelers?
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_27734577_2 (high_assists VARCHAR, high_rebounds VARCHAR)
Question: List the highest number of assists when zaza pachulia (6) had the most rebounds.
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27734577_2 (high_assists VARCHAR, high_rebounds VARCHAR)
Question: List the highest number of assists when zaza pachulia (6) had the most rebounds.
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_55 (ties INTEGER, wins VARCHAR, season VARCHAR)
Question: What's the average amount of ties had when a team wins 6 and it's past the 2004 season?
[/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 (ties INTEGER, wins VARCHAR, season VARCHAR)
Question: What's the average amount of ties had when a team wins 6 and it's past the 2004 season?
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_19 (silver INTEGER, bronze INTEGER)
Question: COunt the silver that has a Bronze smaller than 1?
[/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_19 (silver INTEGER, bronze INTEGER)
Question: COunt the silver that has a Bronze smaller than 1?
Here is the SQLite query to answer to the question: COunt 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_18 (date VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the date for a week before 9, and a opponent of dallas cowboys?
[/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_18 (date VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the date for a week before 9, and a opponent of dallas cowboys?
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_39 (lifetime_achievement VARCHAR, year VARCHAR)
Question: who won the lifetime achievement in the year 1998?
[/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_39 (lifetime_achievement VARCHAR, year VARCHAR)
Question: who won the lifetime achievement in the year 1998?
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 Companies (Industry VARCHAR, Headquarters VARCHAR)
Question: Show the industries shared by companies whose headquarters are "USA" and companies whose headquarters a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Companies (Industry VARCHAR, Headquarters VARCHAR)
Question: Show the industries shared by companies whose headquarters are "USA" and companies whose headquarters are "Ch... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28138035_33 (mens_doubles VARCHAR, mens_singles VARCHAR)
Question: How many times has Ma Long won the men's singles?
[/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_28138035_33 (mens_doubles VARCHAR, mens_singles VARCHAR)
Question: How many times has Ma Long won the men's singles?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (_percentage_of_popular_vote VARCHAR, _number_of_seats_available VARCHAR)
Question: What is the percentage of the popular vote when there were 90 seat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (_percentage_of_popular_vote VARCHAR, _number_of_seats_available VARCHAR)
Question: What is the percentage of the popular vote when there were 90 seats avai... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (winner VARCHAR, prize VARCHAR, runner_up VARCHAR)
Question: What is Winner, when Prize is "£50,000", and when Runner-Up is "Korosh Nejad"?
[/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_82 (winner VARCHAR, prize VARCHAR, runner_up VARCHAR)
Question: What is Winner, when Prize is "£50,000", and when Runner-Up is "Korosh Nejad"?
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_61 (captain VARCHAR, year VARCHAR, runner_up VARCHAR)
Question: When the Runner-up was Angaston, and the Year was less than 1927, who was the Captain?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (captain VARCHAR, year VARCHAR, runner_up VARCHAR)
Question: When the Runner-up was Angaston, and the Year was less than 1927, who was the Captain?
Here is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR)
Question: What is the best finish record for Sean O'hair?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR)
Question: What is the best finish record for Sean O'hair?
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_30087032_5 (game VARCHAR, high_rebounds VARCHAR)
Question: In how many different games did Oliver Miller (7) did the high rebounds?
[/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_30087032_5 (game VARCHAR, high_rebounds VARCHAR)
Question: In how many different games did Oliver Miller (7) did the high rebounds?
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_66 (chassis VARCHAR, points VARCHAR, engine VARCHAR, year VARCHAR)
Question: Before 1976 and with 12 points, what chassis did the Ford V8 have?
[/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_66 (chassis VARCHAR, points VARCHAR, engine VARCHAR, year VARCHAR)
Question: Before 1976 and with 12 points, what chassis did the Ford V8 have?
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 user_profiles (name VARCHAR, followers VARCHAR)
Question: Find the name of the user who has the largest number of followers.
[/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 user_profiles (name VARCHAR, followers VARCHAR)
Question: Find the name of the user who has the largest number of followers.
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_60 (points INTEGER, position VARCHAR, lost VARCHAR)
Question: Which Points is the highest one that has a Position of 1, and a Lost smaller than 0?
[/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 (points INTEGER, position VARCHAR, lost VARCHAR)
Question: Which Points is the highest one that has a Position of 1, and a Lost smaller than 0?
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_1 (Id VARCHAR)
Question: Name the 2006 with 2003 of a and 2012 of a
[/INST]
Here is the SQLite query to answer to the question: Name the 2006 with 2003 o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (Id VARCHAR)
Question: Name the 2006 with 2003 of a and 2012 of a
Here is the SQLite query to answer to the question: Name the 2006 with 2003 of a and 2012 ... | bugdaryan/sql-create-context-instruction | |
[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 (loss VARCHAR, opponent VARCHAR, date VARCHAR)
Question: On June 8, what's the loss when the Blue Jays played the Tigers?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (loss VARCHAR, opponent VARCHAR, date VARCHAR)
Question: On June 8, what's the loss when the Blue Jays played the Tigers?
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_88 (prize VARCHAR, name VARCHAR)
Question: What was the prize won by Sebastian Ruthenberg?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (prize VARCHAR, name VARCHAR)
Question: What was the prize won by Sebastian Ruthenberg?
Here is the SQLite query to answer to the question: What was the 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_name_78 (record VARCHAR, year VARCHAR)
Question: Name the record for 1997
[/INST]
Here is the SQLite query to answer to the question: Name the record for 1997... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (record VARCHAR, year VARCHAR)
Question: Name the record for 1997
Here is the SQLite query to answer to the question: Name the record for 1997:
```
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_18 (elevation__m_ VARCHAR, prominence__m_ INTEGER)
Question: How much Elevation (m) has a Prominence (m) larger than 2,876?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (elevation__m_ VARCHAR, prominence__m_ INTEGER)
Question: How much Elevation (m) has a Prominence (m) larger than 2,876?
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_23495048_2 (height__mtr_ VARCHAR, contestant VARCHAR)
Question: How many meters tall is Ulrike Wolful?
[/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_23495048_2 (height__mtr_ VARCHAR, contestant VARCHAR)
Question: How many meters tall is Ulrike Wolful?
Here is the SQLite query to answer to the question: How many... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the total of rank when gold is 2 and total is more than 4?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (rank INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the total of rank when gold is 2 and total is more than 4?
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_18 (rank VARCHAR, laps VARCHAR)
Question: Name the rank for 151 Laps
[/INST]
Here is the SQLite query to answer to the question: Name the rank for 151 La... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (rank VARCHAR, laps VARCHAR)
Question: Name the rank for 151 Laps
Here is the SQLite query to answer to the question: Name the rank for 151 Laps:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, round VARCHAR)
Question: Which opponent has a Round of r5?
[/INST]
Here is the SQLite query to answer to the question: Which oppone... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (opponent VARCHAR, round VARCHAR)
Question: Which opponent has a Round of r5?
Here is the SQLite query to answer to the question: Which opponent has a Roun... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26982362_2 (directed_by VARCHAR, original_airdate VARCHAR)
Question: The episode with the original airdate October 8, 2010, is directed by who?
[/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_26982362_2 (directed_by VARCHAR, original_airdate VARCHAR)
Question: The episode with the original airdate October 8, 2010, is directed by who?
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_1936678_1 (class_3 VARCHAR, location VARCHAR, class_1 VARCHAR)
Question: Name the class 3 for silverstone rmit university
[/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_1936678_1 (class_3 VARCHAR, location VARCHAR, class_1 VARCHAR)
Question: Name the class 3 for silverstone rmit university
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 Students (login_name VARCHAR, family_name VARCHAR)
Question: What are the login names of the students with family name "Ward"?
[/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 Students (login_name VARCHAR, family_name VARCHAR)
Question: What are the login names of the students with family name "Ward"?
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_25 (school VARCHAR, mascot VARCHAR)
Question: Which school has a mascot of the Panthers?
[/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_25 (school VARCHAR, mascot VARCHAR)
Question: Which school has a mascot of the Panthers?
Here is the SQLite query to answer to the question: Which school has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)
Question: What is the average bronze when the total is 2, silver is less than 1 and gold... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)
Question: What is the average bronze when the total is 2, silver is less than 1 and gold is mo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (season VARCHAR, champion VARCHAR)
Question: what season did the juventus win
[/INST]
Here is the SQLite query to answer to the question: what season ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (season VARCHAR, champion VARCHAR)
Question: what season did the juventus win
Here is the SQLite query to answer to the question: what season did the juven... | bugdaryan/sql-create-context-instruction | |
[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 (catalog VARCHAR, date VARCHAR)
Question: Which catalog has a date of 24 march 2006?
[/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_44 (catalog VARCHAR, date VARCHAR)
Question: Which catalog has a date of 24 march 2006?
Here is the SQLite query to answer to the question: Which catalog has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE musical (Name VARCHAR, Nominee VARCHAR)
Question: What are the names of musicals with nominee "Bob Fosse"?
[/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 musical (Name VARCHAR, Nominee VARCHAR)
Question: What are the names of musicals with nominee "Bob Fosse"?
Here is the SQLite query to answer to the question: What 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_5 (home_team VARCHAR, away_team VARCHAR)
Question: Who played as the home team when Footscray was the away team?
[/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_5 (home_team VARCHAR, away_team VARCHAR)
Question: Who played as the home team when Footscray was the away team?
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_80 (owner VARCHAR, entered_service__t_ VARCHAR)
Question: Who owns the locomotive that entered service on 30 October 1956?
[/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_80 (owner VARCHAR, entered_service__t_ VARCHAR)
Question: Who owns the locomotive that entered service on 30 October 1956?
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_8 (score VARCHAR, date VARCHAR)
Question: What was the score on May 12, 2008?
[/INST]
Here is the SQLite query to answer to the question: What was the sc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR)
Question: What was the score on May 12, 2008?
Here is the SQLite query to answer to the question: What was the score on May 12... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, date VARCHAR)
Question: What was the result of the December 15, 2002 game?
[/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_66 (result VARCHAR, date VARCHAR)
Question: What was the result of the December 15, 2002 game?
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_21269143_1 (opponent VARCHAR, date VARCHAR)
Question: Name the total number of opponets for 05/09/2009
[/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_21269143_1 (opponent VARCHAR, date VARCHAR)
Question: Name the total number of opponets for 05/09/2009
Here is the SQLite query to answer to the question: Name th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (year VARCHAR, english_title VARCHAR)
Question: English title of amélie had what year?
[/INST]
Here is the SQLite query to answer to the question: Eng... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (year VARCHAR, english_title VARCHAR)
Question: English title of amélie had what year?
Here is the SQLite query to answer to the question: English title 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_23285761_7 (record VARCHAR, date VARCHAR)
Question: What was the record of the game played on January 5?
[/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_23285761_7 (record VARCHAR, date VARCHAR)
Question: What was the record of the game played on January 5?
Here is the SQLite query to answer to the question: What w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (place INTEGER, artist VARCHAR)
Question: Where did the artist All Mixed Up place?
[/INST]
Here is the SQLite query to answer to the question: Where di... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (place INTEGER, artist VARCHAR)
Question: Where did the artist All Mixed Up place?
Here is the SQLite query to answer to the question: Where did the artist ... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, record VARCHAR)
Question: Which opponent led to a 6-3 record?
[/INST]
Here is the SQLite query to answer to the question: Which opp... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (opponent VARCHAR, record VARCHAR)
Question: Which opponent led to a 6-3 record?
Here is the SQLite query to answer to the question: Which opponent led 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_13463790_2 (height__ft_ VARCHAR, name VARCHAR)
Question: what's the height (ft) with name being leadenhall building
[/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_13463790_2 (height__ft_ VARCHAR, name VARCHAR)
Question: what's the height (ft) with name being leadenhall building
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21021796_1 (stroke VARCHAR, applications VARCHAR)
Question: For the 1999 w210 e-class , 2000 w203 c-class, what is the stroke?
[/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_21021796_1 (stroke VARCHAR, applications VARCHAR)
Question: For the 1999 w210 e-class , 2000 w203 c-class, what is the stroke?
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_29471472_1 (season INTEGER, podiums VARCHAR)
Question: What season shows podium 7?
[/INST]
Here is the SQLite query to answer to the question: What season sho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29471472_1 (season INTEGER, podiums VARCHAR)
Question: What season shows podium 7?
Here is the SQLite query to answer to the question: What season shows podium 7?:... | bugdaryan/sql-create-context-instruction | |
[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 (placings VARCHAR, name VARCHAR, free VARCHAR, total VARCHAR)
Question: Can you tell me the Placings that hasthe Free smaller than 524.3, and the Tota... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (placings VARCHAR, name VARCHAR, free VARCHAR, total VARCHAR)
Question: Can you tell me the Placings that hasthe Free smaller than 524.3, and the Total smal... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (runner_s__up VARCHAR, date VARCHAR)
Question: Who was the runner-up on Jan 19, 1964?
[/INST]
Here is the SQLite query to answer to the question: Who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (runner_s__up VARCHAR, date VARCHAR)
Question: Who was the runner-up on Jan 19, 1964?
Here is the SQLite query to answer to the question: Who was the runne... | bugdaryan/sql-create-context-instruction | |
[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 (to_par INTEGER, country VARCHAR, score VARCHAR)
Question: What is the lowest to par of a player from australia with a score of 76-70-75-72=293?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (to_par INTEGER, country VARCHAR, score VARCHAR)
Question: What is the lowest to par of a player from australia with a score of 76-70-75-72=293?
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_8 (points INTEGER, season VARCHAR, games VARCHAR)
Question: What's the sum of points for the 1963 season when there are more than 30 games?
[/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_8 (points INTEGER, season VARCHAR, games VARCHAR)
Question: What's the sum of points for the 1963 season when there are more than 30 games?
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_2562572_11 (population__2011_ INTEGER)
Question: What is the smallest population listed?
[/INST]
Here is the SQLite query to answer to the question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_11 (population__2011_ INTEGER)
Question: What is the smallest population listed?
Here is the SQLite query to answer to the question: What is the smallest p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE countries (country_name VARCHAR, country_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR); CREATE TABLE locations (location_id VARCHAR,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE countries (country_name VARCHAR, country_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR); CREATE TABLE locations (location_id VARCHAR, count... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25818630_1 (result___votes INTEGER, constituency VARCHAR)
Question: What is the largest vote result for the Huddersfield constituency?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25818630_1 (result___votes INTEGER, constituency VARCHAR)
Question: What is the largest vote result for the Huddersfield constituency?
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_95 (rd_3 VARCHAR, rd_2_1 VARCHAR)
Question: What Rd 3 has a Rd 2 1 of 0+1?
[/INST]
Here is the SQLite query to answer to the question: What Rd 3 has a Rd... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (rd_3 VARCHAR, rd_2_1 VARCHAR)
Question: What Rd 3 has a Rd 2 1 of 0+1?
Here is the SQLite query to answer to the question: What Rd 3 has a Rd 2 1 of 0+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_99 (population__2010_ INTEGER, city VARCHAR)
Question: What is taipei's lowest 2010 population?
[/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_99 (population__2010_ INTEGER, city VARCHAR)
Question: What is taipei's lowest 2010 population?
Here is the SQLite query to answer to the question: What is ta... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_145439_1 (country VARCHAR, health VARCHAR)
Question: what's the country with health being 91.4
[/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_145439_1 (country VARCHAR, health VARCHAR)
Question: what's the country with health being 91.4
Here is the SQLite query to answer to the question: what's the count... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16493961_1 (miles__km_ VARCHAR, date VARCHAR)
Question: Name the miles for june 7
[/INST]
Here is the SQLite query to answer to the question: Name the miles f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16493961_1 (miles__km_ VARCHAR, date VARCHAR)
Question: Name the miles for june 7
Here is the SQLite query to answer to the question: Name the miles for june 7:
``... | bugdaryan/sql-create-context-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_3 (exited VARCHAR, finished VARCHAR)
Question: How many people finished 9th?
[/INST]
Here is the SQLite query to answer to the question: How many peo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14345690_3 (exited VARCHAR, finished VARCHAR)
Question: How many people finished 9th?
Here is the SQLite query to answer to the question: How many people finished ... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, competition VARCHAR, date VARCHAR)
Question: What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (result VARCHAR, competition VARCHAR, date VARCHAR)
Question: What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 Sep... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (away_team VARCHAR, date VARCHAR)
Question: Who is the away team for the game played on December 24, 1977?
[/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_78 (away_team VARCHAR, date VARCHAR)
Question: Who is the away team for the game played on December 24, 1977?
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_98 (exaltation VARCHAR, domicile VARCHAR, fall VARCHAR)
Question: Which exaltation has a domicile of Saturn and a fall of Jupiter?
[/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_98 (exaltation VARCHAR, domicile VARCHAR, fall VARCHAR)
Question: Which exaltation has a domicile of Saturn and a fall of Jupiter?
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_75 (cancelable VARCHAR, attribute VARCHAR)
Question: For the attribute of onpointerout, what is the cancelable?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (cancelable VARCHAR, attribute VARCHAR)
Question: For the attribute of onpointerout, what is the cancelable?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27987767_2 (match_points VARCHAR, losers VARCHAR)
Question: how many match points rotherham lose
[/INST]
Here is the SQLite query to answer to the question: h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27987767_2 (match_points VARCHAR, losers VARCHAR)
Question: how many match points rotherham lose
Here is the SQLite query to answer to the question: how many match... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2846320_4 (last_meeting VARCHAR, name_of_rivalry VARCHAR)
Question: when was the ending time where the enemy met in the iron bowl
[/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_2846320_4 (last_meeting VARCHAR, name_of_rivalry VARCHAR)
Question: when was the ending time where the enemy met in the iron bowl
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_77 (Id VARCHAR)
Question: Which 1991 has an A 1993 ?
[/INST]
Here is the SQLite query to answer to the question: Which 1991 has an A 1993 ?:
```
SELECT 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (Id VARCHAR)
Question: Which 1991 has an A 1993 ?
Here is the SQLite query to answer to the question: Which 1991 has an A 1993 ?:
```
SELECT 1991 FROM tabl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (other_mozilla VARCHAR, safari VARCHAR)
Question: What is the other mozilla that has 9.41% for the safari?
[/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_71 (other_mozilla VARCHAR, safari VARCHAR)
Question: What is the other mozilla that has 9.41% for the safari?
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_12 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: What is the Score of T2 Place Player Dow Finsterwald?
[/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_12 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: What is the Score of T2 Place Player Dow Finsterwald?
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_2 (pos VARCHAR, year INTEGER)
Question: What is the position for years under 1999?
[/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_2 (pos VARCHAR, year INTEGER)
Question: What is the position for years under 1999?
Here is the SQLite query to answer to the question: What is the position fo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26769_1 (population__july_2009_est_ INTEGER, capital VARCHAR)
Question: What was the maximum population of the country with Quito as capital?
[/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_26769_1 (population__july_2009_est_ INTEGER, capital VARCHAR)
Question: What was the maximum population of the country with Quito as capital?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (moving_to VARCHAR, nat VARCHAR)
Question: Where is the nationality of Arg Esp moving to?
[/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_15 (moving_to VARCHAR, nat VARCHAR)
Question: Where is the nationality of Arg Esp moving to?
Here is the SQLite query to answer to the question: Where 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_32 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
Question: What was the winning score on Jan 22, 1995 when the margin of victory was 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
Question: What was the winning score on Jan 22, 1995 when the margin of victory was 1 strok... | bugdaryan/sql-create-context-instruction | |
[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 (iata VARCHAR, country VARCHAR, city VARCHAR)
Question: What is the IATA for Benghazi, Libya?
[/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_56 (iata VARCHAR, country VARCHAR, city VARCHAR)
Question: What is the IATA for Benghazi, Libya?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (image VARCHAR, husband VARCHAR)
Question: Which image is of the woman married to william iv?
[/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_86 (image VARCHAR, husband VARCHAR)
Question: Which image is of the woman married to william iv?
Here is the SQLite query to answer to the question: Which ima... | 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.