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 products (product_category_code VARCHAR, product_name VARCHAR)
Question: Which category does the product named "flax" belong to?
[/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 products (product_category_code VARCHAR, product_name VARCHAR)
Question: Which category does the product named "flax" belong to?
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_27631002_1 (season VARCHAR, f_laps VARCHAR, races VARCHAR)
Question: Which season had f/laps is 0 and races is 2?
[/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_27631002_1 (season VARCHAR, f_laps VARCHAR, races VARCHAR)
Question: Which season had f/laps is 0 and races is 2?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (japanese_release_date VARCHAR, australia_release_date VARCHAR)
Question: What is Japanese Release Date, when Australia Release Date is "2006-03-23"?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (japanese_release_date VARCHAR, australia_release_date VARCHAR)
Question: What is Japanese Release Date, when Australia Release Date is "2006-03-23"?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (points INTEGER, year INTEGER)
Question: What is the average points of the drivers before 1964?
[/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 (points INTEGER, year INTEGER)
Question: What is the average points of the drivers before 1964?
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_21377473_7 (attendance VARCHAR, score VARCHAR)
Question: When 0 - 1 barbiero 78' is the score how many measurements of attendance are there?
[/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_21377473_7 (attendance VARCHAR, score VARCHAR)
Question: When 0 - 1 barbiero 78' is the score how many measurements of attendance are there?
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_1307842_7 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
Question: Name the gdp where gdp per capita 20200
[/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_1307842_7 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
Question: Name the gdp where gdp per capita 20200
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_21 (timeslot VARCHAR, calls VARCHAR)
Question: Tell me the timeslot of calls of wrko
[/INST]
Here is the SQLite query to answer to the question: Tell me ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (timeslot VARCHAR, calls VARCHAR)
Question: Tell me the timeslot of calls of wrko
Here is the SQLite query to answer to the question: Tell me the timeslot ... | bugdaryan/sql-create-context-instruction | |
[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 (area VARCHAR, years VARCHAR, name VARCHAR)
Question: Which area has Years of 1–8, and a Name of broomfield school?
[/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_9 (area VARCHAR, years VARCHAR, name VARCHAR)
Question: Which area has Years of 1–8, and a Name of broomfield school?
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_70 (rank INTEGER, earnings__$__ INTEGER)
Question: Who is the highest ranked player that has earnings below 395,386?
[/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_70 (rank INTEGER, earnings__$__ INTEGER)
Question: Who is the highest ranked player that has earnings below 395,386?
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_30 (position VARCHAR, surname VARCHAR)
Question: Which Position did Ruzic play?
[/INST]
Here is the SQLite query to answer to the question: Which Positio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (position VARCHAR, surname VARCHAR)
Question: Which Position did Ruzic play?
Here is the SQLite query to answer to the question: Which Position did Ruzic 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 table_name_65 (date VARCHAR, away_team VARCHAR)
Question: What date was the match against carlisle united?
[/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_65 (date VARCHAR, away_team VARCHAR)
Question: What date was the match against carlisle united?
Here is the SQLite query to answer to the question: What date ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (rank VARCHAR, laps VARCHAR, year VARCHAR)
Question: Name the rank for laps less than 130 and year of 1951
[/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_31 (rank VARCHAR, laps VARCHAR, year VARCHAR)
Question: Name the rank for laps less than 130 and year of 1951
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_40 (memory___ram__ VARCHAR, operating_system_version VARCHAR)
Question: How much memory (RAM) does the Maemo 5 operating system have?
[/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_40 (memory___ram__ VARCHAR, operating_system_version VARCHAR)
Question: How much memory (RAM) does the Maemo 5 operating system have?
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_19542477_9 (whole_weeks INTEGER)
Question: What is the longest number of weeks any 1 song was at number #1?
[/INST]
Here is the SQLite query to answer to the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19542477_9 (whole_weeks INTEGER)
Question: What is the longest number of weeks any 1 song was at number #1?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (team VARCHAR, high_rebounds VARCHAR)
Question: What is the Team when antonio davis (8) had the high rebounds?
[/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_53 (team VARCHAR, high_rebounds VARCHAR)
Question: What is the Team when antonio davis (8) had the high rebounds?
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_78 (count_rectified VARCHAR, material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR)
Question: Is the count rectified for s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (count_rectified VARCHAR, material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR)
Question: Is the count rectified for single ... | bugdaryan/sql-create-context-instruction | |
[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 (label VARCHAR, title VARCHAR, year VARCHAR, details VARCHAR)
Question: Which label has a year older than 2004 and a 2xcd detail as well as the sonic ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (label VARCHAR, title VARCHAR, year VARCHAR, details VARCHAR)
Question: Which label has a year older than 2004 and a 2xcd detail as well as the sonic seduce... | bugdaryan/sql-create-context-instruction | |
[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 (versus VARCHAR, player VARCHAR, venue VARCHAR)
Question: What is the Versus with a Player with ko otieno, with Venue with bloemfontein?
[/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_37 (versus VARCHAR, player VARCHAR, venue VARCHAR)
Question: What is the Versus with a Player with ko otieno, with Venue with bloemfontein?
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_11 (category VARCHAR, stations VARCHAR)
Question: Which category has 5 stations?
[/INST]
Here is the SQLite query to answer to the question: Which catego... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (category VARCHAR, stations VARCHAR)
Question: Which category has 5 stations?
Here is the SQLite query to answer to the question: Which category has 5 stat... | bugdaryan/sql-create-context-instruction | |
[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 (semi_finalist__number2 VARCHAR, year VARCHAR)
Question: Who was the Semi-Finalist #2 in 2001?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (semi_finalist__number2 VARCHAR, year VARCHAR)
Question: Who was the Semi-Finalist #2 in 2001?
Here is the SQLite query to answer to the question: Who 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_65 (seasons INTEGER, name VARCHAR, lost VARCHAR)
Question: What is the average number of seasons for Terri Drake who lost less than 9?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (seasons INTEGER, name VARCHAR, lost VARCHAR)
Question: What is the average number of seasons for Terri Drake who lost less than 9?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18852984_2 (bills_originally_cosponsored VARCHAR, all_amendments_cosponsored VARCHAR)
Question: How many bills where originally cosponsored in those years whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18852984_2 (bills_originally_cosponsored VARCHAR, all_amendments_cosponsored VARCHAR)
Question: How many bills where originally cosponsored in those years where 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_80 (delivery VARCHAR, name VARCHAR)
Question: Which Delivery has a Name of quince?
[/INST]
Here is the SQLite query to answer to the question: Which Deli... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (delivery VARCHAR, name VARCHAR)
Question: Which Delivery has a Name of quince?
Here is the SQLite query to answer to the question: Which Delivery has a Na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (third_place VARCHAR, score VARCHAR)
Question: Who holds third place in the tournament with a score of 2–6, 7–6(3), [10–5]?
[/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_16 (third_place VARCHAR, score VARCHAR)
Question: Who holds third place in the tournament with a score of 2–6, 7–6(3), [10–5]?
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_18600760_8 (township VARCHAR, county VARCHAR)
Question: Name the township for kidder
[/INST]
Here is the SQLite query to answer to the question: Name the town... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18600760_8 (township VARCHAR, county VARCHAR)
Question: Name the township for kidder
Here is the SQLite query to answer to the question: Name the township for kidd... | bugdaryan/sql-create-context-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 (fastest_lap VARCHAR, date VARCHAR)
Question: Who had the fastest lap on september 4?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30134667_2 (fastest_lap VARCHAR, date VARCHAR)
Question: Who had the fastest lap on september 4?
Here is the SQLite query to answer to the question: Who had the fa... | bugdaryan/sql-create-context-instruction | |
[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 (lost INTEGER, points_2 VARCHAR, goals_against VARCHAR, position VARCHAR)
Question: For a team with a goals against less than 58, a position of 10, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (lost INTEGER, points_2 VARCHAR, goals_against VARCHAR, position VARCHAR)
Question: For a team with a goals against less than 58, a position of 10, and a po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12407546_1 (athlete__noc_ VARCHAR, swimming VARCHAR)
Question: Who's the player with 2:05.63 (1296 pts) swimming score?
[/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_12407546_1 (athlete__noc_ VARCHAR, swimming VARCHAR)
Question: Who's the player with 2:05.63 (1296 pts) swimming score?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (country VARCHAR, base VARCHAR)
Question: what is the country when the base is ljubljana?
[/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_67 (country VARCHAR, base VARCHAR)
Question: what is the country when the base is ljubljana?
Here is the SQLite query to answer to the question: what is the c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (margin_of_victory VARCHAR, winner VARCHAR)
Question: What is the margin of victory for nikki garrett?
[/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_7 (margin_of_victory VARCHAR, winner VARCHAR)
Question: What is the margin of victory for nikki garrett?
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_86 (nationality VARCHAR, name VARCHAR)
Question: Which Nationality has a Name of assyrian?
[/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_86 (nationality VARCHAR, name VARCHAR)
Question: Which Nationality has a Name of assyrian?
Here is the SQLite query to answer to the question: Which Nationali... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR)
Question: Which Tournament was played in NH in 2011?
[/INST]
Here is the SQLite query to answer to the question: Which Tournament... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (tournament VARCHAR)
Question: Which Tournament was played in NH in 2011?
Here is the SQLite query to answer to the question: Which Tournament was played 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_19 (song VARCHAR, artist VARCHAR)
Question: What Song is by the Artist 'mor ve ötesi'?
[/INST]
Here is the SQLite query to answer to the question: What S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (song VARCHAR, artist VARCHAR)
Question: What Song is by the Artist 'mor ve ötesi'?
Here is the SQLite query to answer to the question: What Song is by 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_92 (year_began VARCHAR, userpics_paid VARCHAR, userpics_free VARCHAR)
Question: What is the year began for the site with free userpics cost of $1 and a u... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (year_began VARCHAR, userpics_paid VARCHAR, userpics_free VARCHAR)
Question: What is the year began for the site with free userpics cost of $1 and a userpic... | bugdaryan/sql-create-context-instruction | |
[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 (airport VARCHAR, country VARCHAR, icao VARCHAR)
Question: Which airport is in South Africa and has a ICAO fajs?
[/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_44 (airport VARCHAR, country VARCHAR, icao VARCHAR)
Question: Which airport is in South Africa and has a ICAO fajs?
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_22032599_1 (year__ceremony_ VARCHAR, director VARCHAR)
Question: What year did jaroslav vojtek category:articles with hcards Direct?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22032599_1 (year__ceremony_ VARCHAR, director VARCHAR)
Question: What year did jaroslav vojtek category:articles with hcards Direct?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18733814_2 (points_classification VARCHAR, stage VARCHAR)
Question: When 19 is the stage who is the points classification?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18733814_2 (points_classification VARCHAR, stage VARCHAR)
Question: When 19 is the stage who is the points classification?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (player VARCHAR, place VARCHAR)
Question: Which player has a place of t2?
[/INST]
Here is the SQLite query to answer to the question: Which player has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (player VARCHAR, place VARCHAR)
Question: Which player has a place of t2?
Here is the SQLite query to answer to the question: Which player has a place of t2... | bugdaryan/sql-create-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_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)
Question: Return the distinct ... | 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_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)
Question: Return the distinct name o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28846752_4 (player VARCHAR, highest_score VARCHAR)
Question: Who is the player when the highest score is 84?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28846752_4 (player VARCHAR, highest_score VARCHAR)
Question: Who is the player when the highest score is 84?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (season INTEGER, game VARCHAR, score VARCHAR)
Question: Which Season has a Game of fcs midwest region, and a Score of 40-33?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (season INTEGER, game VARCHAR, score VARCHAR)
Question: Which Season has a Game of fcs midwest region, and a Score of 40-33?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (lane INTEGER, nationality VARCHAR, time VARCHAR)
Question: What is the lowest lane in the Czech Republic and a time larger than 21.05?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (lane INTEGER, nationality VARCHAR, time VARCHAR)
Question: What is the lowest lane in the Czech Republic and a time larger than 21.05?
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_75 (byes INTEGER, against VARCHAR, draws VARCHAR)
Question: What is the average number of Byes when there were less than 0 losses and were against 1247?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (byes INTEGER, against VARCHAR, draws VARCHAR)
Question: What is the average number of Byes when there were less than 0 losses and were against 1247?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (score VARCHAR, result VARCHAR)
Question: Which item has a score of 5-1?
[/INST]
Here is the SQLite query to answer to the question: Which item has a s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (score VARCHAR, result VARCHAR)
Question: Which item has a score of 5-1?
Here is the SQLite query to answer to the question: Which item has a score of 5-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_95 (dissolved VARCHAR, elected VARCHAR)
Question: Who was dissolved that was elected in 1553?
[/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_95 (dissolved VARCHAR, elected VARCHAR)
Question: Who was dissolved that was elected in 1553?
Here is the SQLite query to answer to the question: Who was diss... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (runs INTEGER, matches INTEGER)
Question: What was the highest amount of runs for more than 5 matches?
[/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_45 (runs INTEGER, matches INTEGER)
Question: What was the highest amount of runs for more than 5 matches?
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_12 (silver VARCHAR, republic VARCHAR, total VARCHAR)
Question: Can you tell me total number of Silver that has the Republic of latvian ssr, and the Total... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (silver VARCHAR, republic VARCHAR, total VARCHAR)
Question: Can you tell me total number of Silver that has the Republic of latvian ssr, and the Total large... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, score VARCHAR)
Question: What venue had a Score of 120-108?
[/INST]
Here is the SQLite query to answer to the question: What venue had ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (venue VARCHAR, score VARCHAR)
Question: What venue had a Score of 120-108?
Here is the SQLite query to answer to the question: What venue had a Score of 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_5 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)
Question: Which Republican ran against the American Labor candidate Matthew J. Merritt?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)
Question: Which Republican ran against the American Labor candidate Matthew J. Merritt?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (stadium VARCHAR, final_score VARCHAR)
Question: At what stadium was the game with the final score of 9-23 played?
[/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_55 (stadium VARCHAR, final_score VARCHAR)
Question: At what stadium was the game with the final score of 9-23 played?
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_39 (bronze INTEGER, total VARCHAR, gold VARCHAR)
Question: What is the number of bronze medals when the total medals were 78 and there were less than 12 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (bronze INTEGER, total VARCHAR, gold VARCHAR)
Question: What is the number of bronze medals when the total medals were 78 and there were less than 12 golds?... | bugdaryan/sql-create-context-instruction | |
[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 (home VARCHAR, date VARCHAR)
Question: What is the home team that played on February 25?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (home VARCHAR, date VARCHAR)
Question: What is the home team that played on February 25?
Here is the SQLite query to answer to the question: What is the ho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (metas_volantes_classification VARCHAR, stage VARCHAR)
Question: Who led the metas volantes classification for stage 4?
[/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_36 (metas_volantes_classification VARCHAR, stage VARCHAR)
Question: Who led the metas volantes classification for stage 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_23 (position VARCHAR)
Question: What position did Garion Weller hold in 2012?
[/INST]
Here is the SQLite query to answer to the question: What position d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (position VARCHAR)
Question: What position did Garion Weller hold in 2012?
Here is the SQLite query to answer to the question: What position did Garion Wel... | bugdaryan/sql-create-context-instruction | |
[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 (runner_up VARCHAR, tournament VARCHAR)
Question: What is the name of the runner up in the Tournament of são paulo?
[/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_92 (runner_up VARCHAR, tournament VARCHAR)
Question: What is the name of the runner up in the Tournament of são paulo?
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_27383390_4 (outgoing_head_coach VARCHAR, incoming_head_coach VARCHAR)
Question: Who is the outgoing head coach when the incoming head coach is abdollah veysi?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27383390_4 (outgoing_head_coach VARCHAR, incoming_head_coach VARCHAR)
Question: Who is the outgoing head coach when the incoming head coach is abdollah veysi?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (course VARCHAR, year VARCHAR, location VARCHAR)
Question: what is the course at midlothian, illinois for a year before 1934?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (course VARCHAR, year VARCHAR, location VARCHAR)
Question: what is the course at midlothian, illinois for a year before 1934?
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_10 (rank INTEGER, games VARCHAR, reb_avg VARCHAR, total_rebounds VARCHAR)
Question: Which lowest rank(player) has a rebound average larger than 9, out of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (rank INTEGER, games VARCHAR, reb_avg VARCHAR, total_rebounds VARCHAR)
Question: Which lowest rank(player) has a rebound average larger than 9, out of 920 r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10812293_3 (high_points VARCHAR, game VARCHAR)
Question: Who scored the most points in game 4?
[/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_10812293_3 (high_points VARCHAR, game VARCHAR)
Question: Who scored the most points in game 4?
Here is the SQLite query to answer to the question: Who scored the m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (result VARCHAR, week INTEGER)
Question: What results has a week larger than 13?
[/INST]
Here is the SQLite query to answer to the question: What resu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (result VARCHAR, week INTEGER)
Question: What results has a week larger than 13?
Here is the SQLite query to answer to the question: What results has a wee... | bugdaryan/sql-create-context-instruction | |
[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 (copa_libertadores_1996 VARCHAR, copa_conmebol_1996 VARCHAR)
Question: What is the copa libertadores 1996 result of the team with a copa conmebol 1996... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (copa_libertadores_1996 VARCHAR, copa_conmebol_1996 VARCHAR)
Question: What is the copa libertadores 1996 result of the team with a copa conmebol 1996 resul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
Question: Who was the visiting team on October 15, 2006?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
Question: Who was the visiting team on October 15, 2006?
Here is the SQLite query to answer to the question: Who 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_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR)
Question: Which Top-10 has a Top-25 smaller than 18, and a Top-5 of 6, and a Cuts m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR)
Question: Which Top-10 has a Top-25 smaller than 18, and a Top-5 of 6, and a Cuts made sm... | bugdaryan/sql-create-context-instruction | |
[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 (byes INTEGER, benalla_dfl VARCHAR, against VARCHAR)
Question: What's the most number of byes for Longwood having less than 1944 against?
[/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_13 (byes INTEGER, benalla_dfl VARCHAR, against VARCHAR)
Question: What's the most number of byes for Longwood having less than 1944 against?
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_19722233_5 (assists VARCHAR, points VARCHAR)
Question: how many assists did the player who scored 251 points make
[/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_19722233_5 (assists VARCHAR, points VARCHAR)
Question: how many assists did the player who scored 251 points make
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR)
Question: How many gold have a bronze of 1, a rank smaller than 6, and a total less than 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR)
Question: How many gold have a bronze of 1, a rank smaller than 6, and a total less than 3?
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_28885977_1 (stadium VARCHAR, location VARCHAR)
Question: Which stadium is located in Adelaide, South Australia?
[/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_28885977_1 (stadium VARCHAR, location VARCHAR)
Question: Which stadium is located in Adelaide, South Australia?
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_23183195_5 (free_throws INTEGER, steals VARCHAR)
Question: Name the most free throws for 4 steals
[/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_23183195_5 (free_throws INTEGER, steals VARCHAR)
Question: Name the most free throws for 4 steals
Here is the SQLite query to answer to the question: Name the most... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (score VARCHAR, date VARCHAR)
Question: What was the score on April 20?
[/INST]
Here is the SQLite query to answer to the question: What was the score ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (score VARCHAR, date VARCHAR)
Question: What was the score on April 20?
Here is the SQLite query to answer to the question: What was the score on April 20?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342013_20 (result VARCHAR, first_elected VARCHAR)
Question: What was the result for the politician first elected in 1942?
[/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_1342013_20 (result VARCHAR, first_elected VARCHAR)
Question: What was the result for the politician first elected in 1942?
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_58 (date VARCHAR, week VARCHAR, result VARCHAR)
Question: What is the date of the post-week 2 game with a result of l 16–10?
[/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 (date VARCHAR, week VARCHAR, result VARCHAR)
Question: What is the date of the post-week 2 game with a result of l 16–10?
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_61 (home_team VARCHAR, away_team VARCHAR)
Question: In the match where north melbourne was the away team, how much did the home team score?
[/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_61 (home_team VARCHAR, away_team VARCHAR)
Question: In the match where north melbourne was the away team, how much did the home team score?
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_25 (score VARCHAR, loss VARCHAR)
Question: What was the score of the game that had a loss of Coates (0–2)?
[/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_25 (score VARCHAR, loss VARCHAR)
Question: What was the score of the game that had a loss of Coates (0–2)?
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_16075179_6 (date_of_appointment VARCHAR, team VARCHAR)
Question: When was the date of appointment for St. Johnstone's manager?
[/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_16075179_6 (date_of_appointment VARCHAR, team VARCHAR)
Question: When was the date of appointment for St. Johnstone's manager?
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 branch (city VARCHAR, open_year INTEGER)
Question: Show the city and the number of branches opened before 2010 for each city.
[/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 branch (city VARCHAR, open_year INTEGER)
Question: Show the city and the number of branches opened before 2010 for each city.
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (title VARCHAR, year VARCHAR, genre VARCHAR)
Question: What was the title of Ashanti's 2003 rap song?
[/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_83 (title VARCHAR, year VARCHAR, genre VARCHAR)
Question: What was the title of Ashanti's 2003 rap song?
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_83 (date VARCHAR, home_team VARCHAR)
Question: On what date were the Melbourne Tigers the home team?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR)
Question: On what date were the Melbourne Tigers the home team?
Here is the SQLite query to answer to the question: On wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20760407_1 (date VARCHAR, game VARCHAR)
Question: What was the date for game 9?
[/INST]
Here is the SQLite query to answer to the question: What was the date ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20760407_1 (date VARCHAR, game VARCHAR)
Question: What was the date for game 9?
Here is the SQLite query to answer to the question: What was the date for game 9?:
... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance at the week 2 game?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance at the week 2 game?
Here is the SQLite query to answer to the question: What was the a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (name VARCHAR, total VARCHAR, rank VARCHAR)
Question: What is the Name of the person with a Total of 3 (15), and Rank of more than 3?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (name VARCHAR, total VARCHAR, rank VARCHAR)
Question: What is the Name of the person with a Total of 3 (15), and Rank of more than 3?
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 salary (salary VARCHAR, YEAR VARCHAR)
Question: What were all the salary values of players in 2010 and 2001?
[/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 salary (salary VARCHAR, YEAR VARCHAR)
Question: What were all the salary values of players in 2010 and 2001?
Here is the SQLite query to answer to the question: What wer... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Which Record has an Opponent of twins, and a Date of july 25?
[/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_10 (record VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Which Record has an Opponent of twins, and a Date of july 25?
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_89 (goals VARCHAR, assists VARCHAR, player VARCHAR)
Question: What is Goals, when Assists is greater than 28, and when Player is Steve Walker?
[/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_89 (goals VARCHAR, assists VARCHAR, player VARCHAR)
Question: What is Goals, when Assists is greater than 28, and when Player is Steve Walker?
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_22860_1 (atlantic_europe VARCHAR, central_europe VARCHAR)
Question: What is every entry for Atlantic Europe when Central Europe is Wisconsin stage?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, central_europe VARCHAR)
Question: What is every entry for Atlantic Europe when Central Europe is Wisconsin stage?
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_49 (torque VARCHAR, name VARCHAR, power VARCHAR)
Question: What is the torque of the 1.6 petrol with daewoo power?
[/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_49 (torque VARCHAR, name VARCHAR, power VARCHAR)
Question: What is the torque of the 1.6 petrol with daewoo power?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (opponent VARCHAR, ground VARCHAR, score VARCHAR)
Question: Who played on waca ground and scored 79 points?
[/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_43 (opponent VARCHAR, ground VARCHAR, score VARCHAR)
Question: Who played on waca ground and scored 79 points?
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_19072602_5 (team_usa VARCHAR, team_europe VARCHAR)
Question: When paul moor is on the europe team who is on the usa team?
[/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_19072602_5 (team_usa VARCHAR, team_europe VARCHAR)
Question: When paul moor is on the europe team who is on the usa team?
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_18 (playoffs_2 VARCHAR, season VARCHAR)
Question: What is the playoffs 2 result of season 2010-11?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (playoffs_2 VARCHAR, season VARCHAR)
Question: What is the playoffs 2 result of season 2010-11?
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_27 (nanquan INTEGER, total VARCHAR, nandao VARCHAR, rank VARCHAR)
Question: Which Nanquan has a Nandao smaller than 9.44, and a Rank smaller than 9, and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (nanquan INTEGER, total VARCHAR, nandao VARCHAR, rank VARCHAR)
Question: Which Nanquan has a Nandao smaller than 9.44, and a Rank smaller than 9, and a Tota... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, player VARCHAR)
Question: What place is player leo diegel?
[/INST]
Here is the SQLite query to answer to the question: What place is p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR)
Question: What place is player leo diegel?
Here is the SQLite query to answer to the question: What place is player leo die... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student_Tests_Taken (test_result VARCHAR)
Question: List each test result and its count in descending order of count.
[/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 Student_Tests_Taken (test_result VARCHAR)
Question: List each test result and its count in descending order of count.
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_26 (attendance INTEGER, week VARCHAR)
Question: What was the attendance in week 9?
[/INST]
Here is the SQLite query to answer to the question: What was t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (attendance INTEGER, week VARCHAR)
Question: What was the attendance in week 9?
Here is the SQLite query to answer to the question: What was the attendance... | bugdaryan/sql-create-context-instruction | |
[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 (place INTEGER, year VARCHAR, clean_and_jerk VARCHAR)
Question: What was the highest place result in 2010 with a Clean and Jerk weight of 224kg?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (place INTEGER, year VARCHAR, clean_and_jerk VARCHAR)
Question: What was the highest place result in 2010 with a Clean and Jerk weight of 224kg?
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_10 (class VARCHAR, wa VARCHAR)
Question: What class is associated with a W.A. of 0-8-0?
[/INST]
Here is the SQLite query to answer to the question: What ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (class VARCHAR, wa VARCHAR)
Question: What class is associated with a W.A. of 0-8-0?
Here is the SQLite query to answer to the question: What class is asso... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (evening_gown INTEGER, state VARCHAR, interview VARCHAR)
Question: What is the highest evening gown number in North Carolina with less than 9.214 inte... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (evening_gown INTEGER, state VARCHAR, interview VARCHAR)
Question: What is the highest evening gown number in North Carolina with less than 9.214 interviews... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)
Question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)
Question: Find ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27786562_1 (poles VARCHAR, season VARCHAR)
Question: Name the poles for season 2006
[/INST]
Here is the SQLite query to answer to the question: Name the poles... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27786562_1 (poles VARCHAR, season VARCHAR)
Question: Name the poles for season 2006
Here is the SQLite query to answer to the question: Name the poles for season 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR)
Question: what is the score when the competition is 1995 southeast asian games?
[/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_1 (score VARCHAR, competition VARCHAR)
Question: what is the score when the competition is 1995 southeast asian games?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (time VARCHAR, competition VARCHAR, opponent VARCHAR)
Question: What is the time of the tim trophy competition where juventus was the opponent?
[/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 (time VARCHAR, competition VARCHAR, opponent VARCHAR)
Question: What is the time of the tim trophy competition where juventus was the opponent?
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_53 (total_area VARCHAR, code VARCHAR, density__per_km_2_land_ VARCHAR)
Question: What is the total area for a code less than 1862 and a density (per km 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (total_area VARCHAR, code VARCHAR, density__per_km_2_land_ VARCHAR)
Question: What is the total area for a code less than 1862 and a density (per km 2 land)... | 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.