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 orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: Find the name of the customers who have at most two orde... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: Find the name of the customers who have at most two orders.
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Video_games (gtype VARCHAR)
Question: How many video games have type Massively multiplayer online 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 Video_games (gtype VARCHAR)
Question: How many video games have type Massively multiplayer online game?
Here is the SQLite query to answer to the question: How many vide... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, home_team VARCHAR)
Question: What was the date when South Melbourne was the home team?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)
Question: What was the date when South Melbourne was the home team?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR)
Question: What was the attendance at the game on December 11, 1966?
[/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_66 (attendance VARCHAR, date VARCHAR)
Question: What was the attendance at the game on December 11, 1966?
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 head (age INTEGER)
Question: How many heads of the departments are older than 56 ?
[/INST]
Here is the SQLite query to answer to the question: How many heads of the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE head (age INTEGER)
Question: How many heads of the departments are older than 56 ?
Here is the SQLite query to answer to the question: How many heads of the departments ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2248784_4 (country VARCHAR)
Question: What 2011 GDP (PPP) billions of USD does Iraq have?
[/INST]
Here is the SQLite query to answer to the question: What 201... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2248784_4 (country VARCHAR)
Question: What 2011 GDP (PPP) billions of USD does Iraq have?
Here is the SQLite query to answer to the question: What 2011 GDP (PPP) b... | bugdaryan/sql-create-context-instruction | |
[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 (displacement VARCHAR, power VARCHAR)
Question: What Displacement has 185hp (138kw) Power o
[/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_57 (displacement VARCHAR, power VARCHAR)
Question: What Displacement has 185hp (138kw) Power o
Here is the SQLite query to answer to the question: What Displa... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, result VARCHAR)
Question: What is the Date of the game with a Result of L 33–14?
[/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_89 (date VARCHAR, result VARCHAR)
Question: What is the Date of the game with a Result of L 33–14?
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_74 (first_performance VARCHAR, status VARCHAR, style VARCHAR)
Question: What is the First Performance when the status is past and the style was ballet, t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (first_performance VARCHAR, status VARCHAR, style VARCHAR)
Question: What is the First Performance when the status is past and the style was ballet, tap?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, goal VARCHAR)
Question: Which date has 3 as the goal?
[/INST]
Here is the SQLite query to answer to the question: Which date has 3 as t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, goal VARCHAR)
Question: Which date has 3 as the goal?
Here is the SQLite query to answer to the question: Which date has 3 as the goal?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (attendance VARCHAR, opponent VARCHAR)
Question: What was the attendance when they played at Detroit Lions?
[/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_72 (attendance VARCHAR, opponent VARCHAR)
Question: What was the attendance when they played at Detroit Lions?
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 (total INTEGER, gold VARCHAR, nation VARCHAR)
Question: Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia?
[/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_29 (total INTEGER, gold VARCHAR, nation VARCHAR)
Question: Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia?
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_92 (lost VARCHAR, club VARCHAR)
Question: What did the loss come from a Club of mumbles rfc?
[/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_92 (lost VARCHAR, club VARCHAR)
Question: What did the loss come from a Club of mumbles rfc?
Here is the SQLite query to answer to the question: What did 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_1174162_1 (median_age__in_2006_ VARCHAR, area__km²_ VARCHAR)
Question: What is the median age where the area is 1.7?
[/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_1174162_1 (median_age__in_2006_ VARCHAR, area__km²_ VARCHAR)
Question: What is the median age where the area is 1.7?
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_16275828_4 (sanction VARCHAR, location VARCHAR)
Question: Who sanctioned the event in lincoln, illinois?
[/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_16275828_4 (sanction VARCHAR, location VARCHAR)
Question: Who sanctioned the event in lincoln, illinois?
Here is the SQLite query to answer to the question: Who sa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1067441_1 (_in_€_ VARCHAR, gdp_per_cap__2003 INTEGER, province VARCHAR)
Question: What is Friesland's gdp per capita?
[/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_1067441_1 (_in_€_ VARCHAR, gdp_per_cap__2003 INTEGER, province VARCHAR)
Question: What is Friesland's gdp per capita?
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_32 (copa_libertadores_1996 VARCHAR, team VARCHAR)
Question: What is the copa libertadores 1996 of team corinthians?
[/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_32 (copa_libertadores_1996 VARCHAR, team VARCHAR)
Question: What is the copa libertadores 1996 of team corinthians?
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_64 (college VARCHAR, player VARCHAR)
Question: What was the college for Alex Poythress?
[/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_64 (college VARCHAR, player VARCHAR)
Question: What was the college for Alex Poythress?
Here is the SQLite query to answer to the question: What was the colle... | bugdaryan/sql-create-context-instruction | |
[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 (overall INTEGER, pick VARCHAR)
Question: what is the lowest overall when the pick is 20?
[/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_50 (overall INTEGER, pick VARCHAR)
Question: what is the lowest overall when the pick is 20?
Here is the SQLite query to answer to the question: what is the l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15717093_1 (season__number INTEGER, series__number VARCHAR)
Question: What season number corresponds to series number 102?
[/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_15717093_1 (season__number INTEGER, series__number VARCHAR)
Question: What season number corresponds to series number 102?
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_82 (round VARCHAR, event VARCHAR, record VARCHAR)
Question: How many rounds did the event rings: king of kings 2000 block a have with a record of 6-1?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (round VARCHAR, event VARCHAR, record VARCHAR)
Question: How many rounds did the event rings: king of kings 2000 block a have with a record of 6-1?
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_name_52 (week VARCHAR, date VARCHAR)
Question: November 25, 2001 was what week of the season?
[/INST]
Here is the SQLite query to answer to the question: Nove... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (week VARCHAR, date VARCHAR)
Question: November 25, 2001 was what week of the season?
Here is the SQLite query to answer to the question: November 25, 2001... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, winning_score VARCHAR)
Question: What was the date of the match with a winning score of –7 (67-72-69-69=277)?
[/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_10 (date VARCHAR, winning_score VARCHAR)
Question: What was the date of the match with a winning score of –7 (67-72-69-69=277)?
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_18 (second VARCHAR, third VARCHAR)
Question: Who is the second when Mikkel Krause is the third?
[/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_18 (second VARCHAR, third VARCHAR)
Question: Who is the second when Mikkel Krause is the third?
Here is the SQLite query to answer to the question: Who 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_21 (year VARCHAR, competition VARCHAR)
Question: In which year did he compete in the Universiade?
[/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_21 (year VARCHAR, competition VARCHAR)
Question: In which year did he compete in the Universiade?
Here is the SQLite query to answer to the question: In which... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
Question: When Fitzroy was the home team, what was the away team's score?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
Question: When Fitzroy was the home team, what was the away team's score?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE professor (emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE emplo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE professor (emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE employee (e... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11803648_21 (club_team VARCHAR, player VARCHAR)
Question: What club team did JArrod Maidens play for?
[/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_11803648_21 (club_team VARCHAR, player VARCHAR)
Question: What club team did JArrod Maidens play for?
Here is the SQLite query to answer to the question: What club... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_host VARCHAR, sideline_reporters VARCHAR)
Question: Who did the play-by-play when the pregame host was Brian William... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_host VARCHAR, sideline_reporters VARCHAR)
Question: Who did the play-by-play when the pregame host was Brian Williams and ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (opened INTEGER, themed_area VARCHAR, manufacturer VARCHAR)
Question: Which Opened is the highest one that has a Themed Area of aerial park, and a Man... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (opened INTEGER, themed_area VARCHAR, manufacturer VARCHAR)
Question: Which Opened is the highest one that has a Themed Area of aerial park, and a Manufactu... | bugdaryan/sql-create-context-instruction | |
[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 (example VARCHAR, formula VARCHAR)
Question: Which example has rx as the formula?
[/INST]
Here is the SQLite query to answer to the question: Which ex... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (example VARCHAR, formula VARCHAR)
Question: Which example has rx as the formula?
Here is the SQLite query to answer to the question: Which example has rx ... | bugdaryan/sql-create-context-instruction | |
[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 (bronze INTEGER, silver VARCHAR, total VARCHAR)
Question: With silver medals less than 1, and total medals less than 2, what is the most bronze medals... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (bronze INTEGER, silver VARCHAR, total VARCHAR)
Question: With silver medals less than 1, and total medals less than 2, what is the most bronze medals?
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 trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREAT... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE 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_41 (pick INTEGER, year VARCHAR, round VARCHAR)
Question: What is the highest pick for a year after 2010 and a round larger than 1?
[/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_41 (pick INTEGER, year VARCHAR, round VARCHAR)
Question: What is the highest pick for a year after 2010 and a round larger than 1?
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_5 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
Question: Which Time/Retired has Laps smaller than 24, and a Ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
Question: Which Time/Retired has Laps smaller than 24, and a Manufact... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (league VARCHAR, year VARCHAR, position VARCHAR)
Question: What is the league of the third baseman player before 1973?
[/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_79 (league VARCHAR, year VARCHAR, position VARCHAR)
Question: What is the league of the third baseman player before 1973?
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_70 (country VARCHAR, player VARCHAR)
Question: What is Country, when Player is "Scott Dunlap"?
[/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_70 (country VARCHAR, player VARCHAR)
Question: What is Country, when Player is "Scott Dunlap"?
Here is the SQLite query to answer to the question: What is Cou... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1356555_2 (median_family_income VARCHAR, county VARCHAR)
Question: Name the median family income for riverside
[/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_1356555_2 (median_family_income VARCHAR, county VARCHAR)
Question: Name the median family income for riverside
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (lowest INTEGER, average INTEGER)
Question: What is the lowest attendance for a stadium that has an average smaller than 307?
[/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_24 (lowest INTEGER, average INTEGER)
Question: What is the lowest attendance for a stadium that has an average smaller than 307?
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_28212888_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What's the title of the episode seen by 12.85 millions of people in the US?
[/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_28212888_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What's the title of the episode seen by 12.85 millions of people in the US?
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_90 (player VARCHAR, year VARCHAR, school VARCHAR, position VARCHAR)
Question: Which player was from Western Washington University, played midfield, and w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (player VARCHAR, year VARCHAR, school VARCHAR, position VARCHAR)
Question: Which player was from Western Washington University, played midfield, and was fro... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: What is the 2009 value with q1 in 2010?
[/INST]
Here is the SQLite query to answer to the question: What is the 2009 value with... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (Id VARCHAR)
Question: What is the 2009 value with q1 in 2010?
Here is the SQLite query to answer to the question: What is the 2009 value with q1 in 2010?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (avg INTEGER, player VARCHAR, fumbles VARCHAR)
Question: What was Buck Pierce's highest average when there were less than 2 fumbles?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (avg INTEGER, player VARCHAR, fumbles VARCHAR)
Question: What was Buck Pierce's highest average when there were less than 2 fumbles?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (Id VARCHAR)
Question: What 2009 has 52-75 as the 2010?
[/INST]
Here is the SQLite query to answer to the question: What 2009 has 52-75 as the 2010?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (Id VARCHAR)
Question: What 2009 has 52-75 as the 2010?
Here is the SQLite query to answer to the question: What 2009 has 52-75 as the 2010?:
```
SELECT 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_2622469_1 (wins VARCHAR, year VARCHAR)
Question: What were the wins of 1983?
[/INST]
Here is the SQLite query to answer to the question: What were the wins of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2622469_1 (wins VARCHAR, year VARCHAR)
Question: What were the wins of 1983?
Here is the SQLite query to answer to the question: What were the wins of 1983?:
```
S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (district VARCHAR, first_elected VARCHAR, party VARCHAR)
Question: What district was a republican first elected in 2000?
[/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_98 (district VARCHAR, first_elected VARCHAR, party VARCHAR)
Question: What district was a republican first elected in 2000?
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_14 (matches VARCHAR, lose VARCHAR, draw VARCHAR, lost_point VARCHAR)
Question: I want the total number of matches for draw less than 7 and lost point of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (matches VARCHAR, lose VARCHAR, draw VARCHAR, lost_point VARCHAR)
Question: I want the total number of matches for draw less than 7 and lost point of 16 wit... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, away_team VARCHAR)
Question: What was the score of the match played against away team Arsenal?
[/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_96 (score VARCHAR, away_team VARCHAR)
Question: What was the score of the match played against away team Arsenal?
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_4 (year INTEGER, chassis VARCHAR, points VARCHAR)
Question: When is the latest year that an entrant has toro rosso str1 chassis and under 1 point?
[/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 (year INTEGER, chassis VARCHAR, points VARCHAR)
Question: When is the latest year that an entrant has toro rosso str1 chassis and under 1 point?
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_54 (county INTEGER, town VARCHAR, total VARCHAR, city VARCHAR)
Question: How many counties have 2 as the total, 0 as the city with a town less than 1?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (county INTEGER, town VARCHAR, total VARCHAR, city VARCHAR)
Question: How many counties have 2 as the total, 0 as the city with a town less than 1?
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_name_48 (record VARCHAR, event VARCHAR)
Question: What is the record at the UW: Ultimate Fight Minnesota?
[/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_48 (record VARCHAR, event VARCHAR)
Question: What is the record at the UW: Ultimate Fight Minnesota?
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_29499399_2 (money_list_rank VARCHAR, best_finish VARCHAR)
Question: How many ranks on the money list had a best finish of t10?
[/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_29499399_2 (money_list_rank VARCHAR, best_finish VARCHAR)
Question: How many ranks on the money list had a best finish of t10?
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_9 (cubic_inches__exact_ VARCHAR, metric_value VARCHAR)
Question: What are the exact Cubic inches of the Metric value of 104.955 L?
[/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_9 (cubic_inches__exact_ VARCHAR, metric_value VARCHAR)
Question: What are the exact Cubic inches of the Metric value of 104.955 L?
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_15 (away_team VARCHAR)
Question: What was the score of essendon when they were the away team?
[/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 (away_team VARCHAR)
Question: What was the score of essendon when they were the away team?
Here is the SQLite query to answer to the question: What was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (round VARCHAR, opponent VARCHAR)
Question: What round was the opponent Manny Gamburyan?
[/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_92 (round VARCHAR, opponent VARCHAR)
Question: What round was the opponent Manny Gamburyan?
Here is the SQLite query to answer to the question: What round 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_17 (opponent VARCHAR, date VARCHAR)
Question: WHAT OPPONENT HAD A DATE OF SEPTEMBER 28?
[/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_17 (opponent VARCHAR, date VARCHAR)
Question: WHAT OPPONENT HAD A DATE OF SEPTEMBER 28?
Here is the SQLite query to answer to the question: WHAT OPPONENT HAD ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (doubles_w_l VARCHAR, player VARCHAR)
Question: Tell me the doubles W-L for player of laurynas grigelis
[/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_91 (doubles_w_l VARCHAR, player VARCHAR)
Question: Tell me the doubles W-L for player of laurynas grigelis
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_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR)
Question: What is the lowest value of Points 2 when the goal average is 1.50?
[/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_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR)
Question: What is the lowest value of Points 2 when the goal average is 1.50?
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_24302700_6 (position VARCHAR, event_6_atlas_stones VARCHAR)
Question: What is the position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24302700_6 (position VARCHAR, event_6_atlas_stones VARCHAR)
Question: What is the position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event?
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_55 (area__km²_ INTEGER, population__2010_ VARCHAR)
Question: Where is the lowest area with a population of 7,616?
[/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_55 (area__km²_ INTEGER, population__2010_ VARCHAR)
Question: Where is the lowest area with a population of 7,616?
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_79 (date VARCHAR, venue VARCHAR, result VARCHAR, competition VARCHAR)
Question: On what date did a friendly competition, hosted in Dubai, result in a dra... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (date VARCHAR, venue VARCHAR, result VARCHAR, competition VARCHAR)
Question: On what date did a friendly competition, hosted in Dubai, result in a draw?
He... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, miss_fire__3rd_runner_up_ VARCHAR)
Question: What year was Caroline Medina Miss Fire (3rd Runner-up)?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (year INTEGER, miss_fire__3rd_runner_up_ VARCHAR)
Question: What year was Caroline Medina Miss Fire (3rd Runner-up)?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (builder VARCHAR, date VARCHAR)
Question: Which Builder has a Date of early 1871?
[/INST]
Here is the SQLite query to answer to the question: Which Bu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (builder VARCHAR, date VARCHAR)
Question: Which Builder has a Date of early 1871?
Here is the SQLite query to answer to the question: Which Builder has a D... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (role VARCHAR, registration VARCHAR)
Question: What is the role of the aircraft that has a registration of s5-hpg s5-hpc?
[/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_26 (role VARCHAR, registration VARCHAR)
Question: What is the role of the aircraft that has a registration of s5-hpg s5-hpc?
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_25 (nationality VARCHAR, goals VARCHAR, ranking VARCHAR)
Question: What is the nationality of the person with 50 goals and rank 3?
[/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_25 (nationality VARCHAR, goals VARCHAR, ranking VARCHAR)
Question: What is the nationality of the person with 50 goals and rank 3?
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_1 (round VARCHAR, college VARCHAR)
Question: In what Round was a player from College of Connecticut drafted?
[/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_1 (round VARCHAR, college VARCHAR)
Question: In what Round was a player from College of Connecticut drafted?
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_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR)
Question: What was the GTP winning team in the round in Portland during which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR)
Question: What was the GTP winning team in the round in Portland during which Jack ... | bugdaryan/sql-create-context-instruction | |
[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 (area__km_2__ INTEGER, density__inhabitants_km_2__ VARCHAR, altitude__mslm_ VARCHAR)
Question: What is the average area of the city that has a density... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (area__km_2__ INTEGER, density__inhabitants_km_2__ VARCHAR, altitude__mslm_ VARCHAR)
Question: What is the average area of the city that has a density less ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17632217_2 (third_place VARCHAR, season VARCHAR)
Question: Who was placed third in 2001?
[/INST]
Here is the SQLite query to answer to the question: Who was p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17632217_2 (third_place VARCHAR, season VARCHAR)
Question: Who was placed third in 2001?
Here is the SQLite query to answer to the question: Who was placed third 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_23 (average INTEGER, tally VARCHAR, total VARCHAR)
Question: Which Average has a Tally of 2-12, and a Total larger than 18?
[/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_23 (average INTEGER, tally VARCHAR, total VARCHAR)
Question: Which Average has a Tally of 2-12, and a Total larger than 18?
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_59 (game_site VARCHAR, week VARCHAR)
Question: Where did they have the divisional playoffs?
[/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_59 (game_site VARCHAR, week VARCHAR)
Question: Where did they have the divisional playoffs?
Here is the SQLite query to answer to the question: Where did they... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, year VARCHAR)
Question: What Team was in 2005?
[/INST]
Here is the SQLite query to answer to the question: What Team was in 2005?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (team VARCHAR, year VARCHAR)
Question: What Team was in 2005?
Here is the SQLite query to answer to the question: What Team was in 2005?:
```
SELECT team F... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (pick VARCHAR, college VARCHAR)
Question: College of boston college has what pick?
[/INST]
Here is the SQLite query to answer to the question: College... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (pick VARCHAR, college VARCHAR)
Question: College of boston college has what pick?
Here is the SQLite query to answer to the question: College of boston co... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (year INTEGER, player VARCHAR)
Question: What year was the player David Rose?
[/INST]
Here is the SQLite query to answer to the question: What year wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (year INTEGER, player VARCHAR)
Question: What year was the player David Rose?
Here is the SQLite query to answer to the question: What year was the player ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (shooter VARCHAR, total VARCHAR)
Question: Who is the shooter that is the Defending Champion?
[/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_63 (shooter VARCHAR, total VARCHAR)
Question: Who is the shooter that is the Defending Champion?
Here is the SQLite query to answer to the question: Who 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_33 (goals VARCHAR, result VARCHAR)
Question: How many goals have a Result of 12 – 0?
[/INST]
Here is the SQLite query to answer to the question: How many... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (goals VARCHAR, result VARCHAR)
Question: How many goals have a Result of 12 – 0?
Here is the SQLite query to answer to the question: How many goals have 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_47 (chassis VARCHAR, points VARCHAR)
Question: Which chassis was used when over 6 points were earned?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (chassis VARCHAR, points VARCHAR)
Question: Which chassis was used when over 6 points were earned?
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[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 (set_2 VARCHAR, set_3 VARCHAR, time VARCHAR)
Question: Which Set 2 has a Set 3 of 25–20, and a Time of 13:45?
[/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_5 (set_2 VARCHAR, set_3 VARCHAR, time VARCHAR)
Question: Which Set 2 has a Set 3 of 25–20, and a Time of 13:45?
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_1939367_1 (arabs_2001 INTEGER, _percentage_2001 VARCHAR)
Question: If %2001 is 0.1%, what is the minimum Arabs 2001 number?
[/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_1939367_1 (arabs_2001 INTEGER, _percentage_2001 VARCHAR)
Question: If %2001 is 0.1%, what is the minimum Arabs 2001 number?
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_1997759_1 (number VARCHAR, registration VARCHAR)
Question: how many number is located at registration f-bvff?
[/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_1997759_1 (number VARCHAR, registration VARCHAR)
Question: how many number is located at registration f-bvff?
Here is the SQLite query to answer to the question: h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11545282_11 (player VARCHAR, no VARCHAR)
Question: Who is player number 51?
[/INST]
Here is the SQLite query to answer to the question: Who is player number 5... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11545282_11 (player VARCHAR, no VARCHAR)
Question: Who is player number 51?
Here is the SQLite query to answer to the question: Who is player number 51?:
```
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_1 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR)
Question: What is the largest amount of wins when there are less than 5 point... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR)
Question: What is the largest amount of wins when there are less than 5 points, 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_2333416_2 (wins INTEGER)
Question: What is the greatest number of wins Ken Bouchard had in a season?
[/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_2333416_2 (wins INTEGER)
Question: What is the greatest number of wins Ken Bouchard had in a season?
Here is the SQLite query to answer to the question: What 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_88 (Id VARCHAR)
Question: What is the 2005 Lukoil oil prodroduction when in 2007 oil production 5.545 million tonnes?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (Id VARCHAR)
Question: What is the 2005 Lukoil oil prodroduction when in 2007 oil production 5.545 million tonnes?
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_60 (attendance VARCHAR, competition VARCHAR, date VARCHAR)
Question: How many people attended the Scottish Cup on 29.02.2000?
[/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_60 (attendance VARCHAR, competition VARCHAR, date VARCHAR)
Question: How many people attended the Scottish Cup on 29.02.2000?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Ref_locations (location_code VARCHAR, location_name VARCHAR)
Question: List all location codes and location names.
[/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 Ref_locations (location_code VARCHAR, location_name VARCHAR)
Question: List all location codes and location names.
Here is the SQLite query to answer to the question: Li... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21133193_1 (gdp_per_capita__us INTEGER, languages VARCHAR)
Question: Name the most gdp per capita latvian
[/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_21133193_1 (gdp_per_capita__us INTEGER, languages VARCHAR)
Question: Name the most gdp per capita latvian
Here is the SQLite query to answer to the question: Name ... | bugdaryan/sql-create-context-instruction | |
[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 (category VARCHAR, award VARCHAR)
Question: Name the category for 2nd melon music awards
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (category VARCHAR, award VARCHAR)
Question: Name the category for 2nd melon music awards
Here is the SQLite query to answer to the question: Name the catego... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE available_policies (policy_type_code VARCHAR)
Question: Which policy type has the most records in the database?
[/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 available_policies (policy_type_code VARCHAR)
Question: Which policy type has the most records in the database?
Here is the SQLite query to answer to the question: Which... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22050544_1 (winner VARCHAR, elapsed_time VARCHAR)
Question: Who is the winner with an elapsed time of 12 h 42 min?
[/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_22050544_1 (winner VARCHAR, elapsed_time VARCHAR)
Question: Who is the winner with an elapsed time of 12 h 42 min?
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 FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
Question: What are flight numbers of flights arriving at ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
Question: What are flight numbers of flights arriving at City "... | bugdaryan/sql-create-context-instruction | |
[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 (rank VARCHAR, date VARCHAR)
Question: Which Rank that is on september 9, 2004?
[/INST]
Here is the SQLite query to answer to the question: Which Rank... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (rank VARCHAR, date VARCHAR)
Question: Which Rank that is on september 9, 2004?
Here is the SQLite query to answer to the question: Which Rank that is on s... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (college VARCHAR, pick VARCHAR, position VARCHAR)
Question: What school did the punter picked after 101 attend?
[/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_62 (college VARCHAR, pick VARCHAR, position VARCHAR)
Question: What school did the punter picked after 101 attend?
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_54 (status VARCHAR, builder VARCHAR)
Question: Name the status with builder of orenstein and koppel
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (status VARCHAR, builder VARCHAR)
Question: Name the status with builder of orenstein and koppel
Here is the SQLite query to answer to the question: Name 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 (tie_no VARCHAR, attendance VARCHAR, home_team VARCHAR)
Question: For the attendance of 2 january 1999 with a home team of plymouth argyle what is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (tie_no VARCHAR, attendance VARCHAR, home_team VARCHAR)
Question: For the attendance of 2 january 1999 with a home team of plymouth argyle what is the tie no... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341586_19 (candidates VARCHAR, first_elected VARCHAR)
Question: who is the the candidates with first elected being 1977
[/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_1341586_19 (candidates VARCHAR, first_elected VARCHAR)
Question: who is the the candidates with first elected being 1977
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_44 (builder VARCHAR, lot_no VARCHAR)
Question: What builder has lot number 30702?
[/INST]
Here is the SQLite query to answer to the question: What builde... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (builder VARCHAR, lot_no VARCHAR)
Question: What builder has lot number 30702?
Here is the SQLite query to answer to the question: What builder has lot num... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17675675_2 (tries_for VARCHAR, lost VARCHAR)
Question: With the given loss of 4, what was the number of tries?
[/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_17675675_2 (tries_for VARCHAR, lost VARCHAR)
Question: With the given loss of 4, what was the number of tries?
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_55 (alternate VARCHAR, skip VARCHAR)
Question: What is the alternate of the nation with Erkki Lill as the skip?
[/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_55 (alternate VARCHAR, skip VARCHAR)
Question: What is the alternate of the nation with Erkki Lill as the skip?
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_72 (laps VARCHAR, grid VARCHAR)
Question: Hows many Laps are in a Grid of 4?
[/INST]
Here is the SQLite query to answer to the question: Hows many Laps a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (laps VARCHAR, grid VARCHAR)
Question: Hows many Laps are in a Grid of 4?
Here is the SQLite query to answer to the question: Hows many Laps are in a Grid ... | 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.