text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (goals_for INTEGER, points VARCHAR, losses VARCHAR, position VARCHAR)
Question: Name the most goals with losses less than 15 and position more than 8 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (goals_for INTEGER, points VARCHAR, losses VARCHAR, position VARCHAR)
Question: Name the most goals with losses less than 15 and position more than 8 with 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_91 (player VARCHAR, score VARCHAR)
Question: Who had a score of 77-69-70-71=287?
[/INST]
Here is the SQLite query to answer to the question: Who had a sc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR)
Question: Who had a score of 77-69-70-71=287?
Here is the SQLite query to answer to the question: Who had a score of 77-69-... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25519358_1 (horizontal_0_a VARCHAR, name VARCHAR)
Question: Name the horizontal 0 for 通 tong
[/INST]
Here is the SQLite query to answer to the question: Name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25519358_1 (horizontal_0_a VARCHAR, name VARCHAR)
Question: Name the horizontal 0 for 通 tong
Here is the SQLite query to answer to the question: Name the horizonta... | bugdaryan/sql-create-context-instruction | |
[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 (surface VARCHAR, opponents_in_final VARCHAR)
Question: What is Surface, when Opponents, when Final is "Gigi Fernández Robin White"?
[/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_81 (surface VARCHAR, opponents_in_final VARCHAR)
Question: What is Surface, when Opponents, when Final is "Gigi Fernández Robin White"?
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 Student_Course_Enrolment (course_id VARCHAR)
Question: How many distinct courses are enrolled in by students?
[/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 Student_Course_Enrolment (course_id VARCHAR)
Question: How many distinct courses are enrolled in by students?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (chinese VARCHAR, subject VARCHAR)
Question: Name the chinese with subject of adjectives, adverbs, mostly with reduplication
[/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_50 (chinese VARCHAR, subject VARCHAR)
Question: Name the chinese with subject of adjectives, adverbs, mostly with reduplication
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_9 (event VARCHAR, winner VARCHAR)
Question: What event did Mark Teltscher win?
[/INST]
Here is the SQLite query to answer to the question: What event did... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (event VARCHAR, winner VARCHAR)
Question: What event did Mark Teltscher win?
Here is the SQLite query to answer to the question: What event did Mark Teltsch... | bugdaryan/sql-create-context-instruction | |
[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 (year__ceremony_ VARCHAR, original_title VARCHAR)
Question: What is the year of the ceremony with the original title ničiji sin?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (year__ceremony_ VARCHAR, original_title VARCHAR)
Question: What is the year of the ceremony with the original title ničiji sin?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342198_6 (candidates VARCHAR, incumbent VARCHAR)
Question: How many candidates were there in the race where Cecil R. King is the incumbent?
[/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_1342198_6 (candidates VARCHAR, incumbent VARCHAR)
Question: How many candidates were there in the race where Cecil R. King is the incumbent?
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_178408_1 (sub_parish__sokn_ VARCHAR, year_built VARCHAR)
Question: Name the total number for sub parish sokn for 1865
[/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_178408_1 (sub_parish__sokn_ VARCHAR, year_built VARCHAR)
Question: Name the total number for sub parish sokn for 1865
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_44 (fa_cup INTEGER, malaysia_cup VARCHAR, total VARCHAR)
Question: Which FA Cup has a Malaysia Cup larger than 0, and a Total of 8?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (fa_cup INTEGER, malaysia_cup VARCHAR, total VARCHAR)
Question: Which FA Cup has a Malaysia Cup larger than 0, and a Total of 8?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (lane INTEGER, country VARCHAR, time VARCHAR, react VARCHAR)
Question: What is the average lane of the athlete from cuba who has a time greater than 22... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (lane INTEGER, country VARCHAR, time VARCHAR, react VARCHAR)
Question: What is the average lane of the athlete from cuba who has a time greater than 22.57 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_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)
Question: What is the total number of To Par, when Money ( $ ) is less than 387, and when Player... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)
Question: What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is "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_1 (britain__2013_ VARCHAR, us__2013_ VARCHAR)
Question: What was Britain's (2013) birthstone when the U.S (2013) birthstone was ruby?
[/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_1 (britain__2013_ VARCHAR, us__2013_ VARCHAR)
Question: What was Britain's (2013) birthstone when the U.S (2013) birthstone was ruby?
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (d_45_o VARCHAR, d_44_o VARCHAR)
Question: What is the value of D 45 O when the value of D 44 O is ← majority?
[/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_67 (d_45_o VARCHAR, d_44_o VARCHAR)
Question: What is the value of D 45 O when the value of D 44 O is ← majority?
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_11959669_3 (high_rebounds VARCHAR, date VARCHAR)
Question: Who had the highest rebounds on November 4
[/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_11959669_3 (high_rebounds VARCHAR, date VARCHAR)
Question: Who had the highest rebounds on November 4
Here is the SQLite query to answer to the question: Who had 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_72 (name VARCHAR, position INTEGER)
Question: Which Name has a Position smaller than 2?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (name VARCHAR, position INTEGER)
Question: Which Name has a Position smaller than 2?
Here is the SQLite query to answer to the question: Which Name has a 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_94 (romaji_title VARCHAR, japanese_title VARCHAR)
Question: Which romaji title, has Japanese title of 菊次郎とさき 3?
[/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_94 (romaji_title VARCHAR, japanese_title VARCHAR)
Question: Which romaji title, has Japanese title of 菊次郎とさき 3?
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_93 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR)
Question: What was the Billboard peak for the album released on September 12, 2000 by... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR)
Question: What was the Billboard peak for the album released on September 12, 2000 by sanct... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR)
Question: Who had the pole position in the August 15, 1981 race?
[/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_22765887_1 (pole_position VARCHAR, date VARCHAR)
Question: Who had the pole position in the August 15, 1981 race?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (country VARCHAR, rank INTEGER)
Question: What is the country with a rank less than 2?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (country VARCHAR, rank INTEGER)
Question: What is the country with a rank less than 2?
Here is the SQLite query to answer to the question: What is the coun... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, score VARCHAR)
Question: When the score was 71-71-70-70=282 what was the To par recorded?
[/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_94 (to_par VARCHAR, score VARCHAR)
Question: When the score was 71-71-70-70=282 what was the To par recorded?
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_25 (bronze VARCHAR, silver VARCHAR, total VARCHAR, nation VARCHAR)
Question: How many times was the total more than 1, the nation was east germany and si... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (bronze VARCHAR, silver VARCHAR, total VARCHAR, nation VARCHAR)
Question: How many times was the total more than 1, the nation was east germany and silver 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_72 (against VARCHAR, losses VARCHAR, byes VARCHAR)
Question: What is the number listed under against when there were less than 13 losses and less than 2 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (against VARCHAR, losses VARCHAR, byes VARCHAR)
Question: What is the number listed under against when there were less than 13 losses and less than 2 byes?
... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, left VARCHAR, nickname VARCHAR)
Question: Where was the game played with a 2013 left and Royals nickname?
[/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_13 (location VARCHAR, left VARCHAR, nickname VARCHAR)
Question: Where was the game played with a 2013 left and Royals nickname?
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_48 (mountains_classification VARCHAR, points_classification VARCHAR)
Question: Which Mountains classification has Points classification of not awarded?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (mountains_classification VARCHAR, points_classification VARCHAR)
Question: Which Mountains classification has Points classification of not awarded?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11390711_4 (provider_iai_ VARCHAR, foundation VARCHAR)
Question: How many providers were founded in 1964?
[/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_11390711_4 (provider_iai_ VARCHAR, foundation VARCHAR)
Question: How many providers were founded in 1964?
Here is the SQLite query to answer to the question: How 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_11916083_1 (mintage__bu_ VARCHAR, _clarification_needed_ VARCHAR, artist VARCHAR, issue_price__proof_ VARCHAR)
Question: What is the mintage (bu) with the art... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11916083_1 (mintage__bu_ VARCHAR, _clarification_needed_ VARCHAR, artist VARCHAR, issue_price__proof_ VARCHAR)
Question: What is the mintage (bu) with the artist Ro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (silver VARCHAR, nation VARCHAR)
Question: How much Silver has a Nation of total, and a Total smaller than 54?
[/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_58 (silver VARCHAR, nation VARCHAR)
Question: How much Silver has a Nation of total, and a Total smaller than 54?
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_6 (grid INTEGER, time_retired VARCHAR, driver VARCHAR)
Question: What is the smallest grid with collision as the Time/Retired for pedro diniz?
[/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_6 (grid INTEGER, time_retired VARCHAR, driver VARCHAR)
Question: What is the smallest grid with collision as the Time/Retired for pedro diniz?
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_21471897_2 (ranking VARCHAR, rr2_pts VARCHAR)
Question: Name the ranking for rr2 pts being 8
[/INST]
Here is the SQLite query to answer to the question: Name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21471897_2 (ranking VARCHAR, rr2_pts VARCHAR)
Question: Name the ranking for rr2 pts being 8
Here is the SQLite query to answer to the question: Name the ranking 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_10528691_4 (model INTEGER, introduction VARCHAR)
Question: What is the model number introduced May 1999?
[/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_10528691_4 (model INTEGER, introduction VARCHAR)
Question: What is the model number introduced May 1999?
Here is the SQLite query to answer to the question: What 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_12125069_2 (winning_pitcher VARCHAR, attendance VARCHAR)
Question: Who is the winning pitcher when attendance is 38109?
[/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_12125069_2 (winning_pitcher VARCHAR, attendance VARCHAR)
Question: Who is the winning pitcher when attendance is 38109?
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_10 (team VARCHAR, location VARCHAR)
Question: what team scored in gomel
[/INST]
Here is the SQLite query to answer to the question: what team scored in g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (team VARCHAR, location VARCHAR)
Question: what team scored in gomel
Here is the SQLite query to answer to the question: what team scored in gomel:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR)
Question: What was the score when stefan edberg won after 1978?
[/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_68 (score VARCHAR, year VARCHAR, champion VARCHAR)
Question: What was the score when stefan edberg won after 1978?
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_59 (points INTEGER, home VARCHAR, game__number VARCHAR)
Question: What is the points where Toronto was the home team and the game number was larger than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (points INTEGER, home VARCHAR, game__number VARCHAR)
Question: What is the points where Toronto was the home team and the game number was larger than 63?
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_17 (group_b VARCHAR, group_e VARCHAR)
Question: What is the group B region with a Group E region of Georgia?
[/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_17 (group_b VARCHAR, group_e VARCHAR)
Question: What is the group B region with a Group E region of Georgia?
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 competition (country VARCHAR, competition_type VARCHAR)
Question: Find the countries that have never participated in any competition with Friendly type.
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE competition (country VARCHAR, competition_type VARCHAR)
Question: Find the countries that have never participated in any competition with Friendly type.
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26476336_2 (years VARCHAR, new_classification VARCHAR)
Question: What are the years that the new classification was MCLA division i?
[/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_26476336_2 (years VARCHAR, new_classification VARCHAR)
Question: What are the years that the new classification was MCLA division i?
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_3 (round VARCHAR, position VARCHAR, pick VARCHAR)
Question: Which Round has a Position of lb, and a Pick smaller than 25?
[/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_3 (round VARCHAR, position VARCHAR, pick VARCHAR)
Question: Which Round has a Position of lb, and a Pick smaller than 25?
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_17971449_2 (population__2011_ VARCHAR, country VARCHAR)
Question: Name the population 2011 for luxembourg
[/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_17971449_2 (population__2011_ VARCHAR, country VARCHAR)
Question: Name the population 2011 for luxembourg
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 (silver INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
Question: I want to know the highest silver for total of 4 for poland and gold less than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
Question: I want to know the highest silver for total of 4 for poland and gold less than 1
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (rank INTEGER, lane INTEGER)
Question: What's the top rank that's lane is smaller than 1?
[/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_77 (rank INTEGER, lane INTEGER)
Question: What's the top rank that's lane is smaller than 1?
Here is the SQLite query to answer to the question: What's the 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_11647327_2 (married_filing_separately VARCHAR, head_of_household VARCHAR)
Question: What is ithe range for married filing separately where head of household i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11647327_2 (married_filing_separately VARCHAR, head_of_household VARCHAR)
Question: What is ithe range for married filing separately where head of household is $117... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Person (name VARCHAR, job VARCHAR)
Question: list the name, job title of all people ordered by their names.
[/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 Person (name VARCHAR, job VARCHAR)
Question: list the name, job title of all people ordered by their names.
Here is the SQLite query to answer to the question: list 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_95 (line VARCHAR, colour VARCHAR)
Question: Which line was green?
[/INST]
Here is the SQLite query to answer to the question: Which line was green?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (line VARCHAR, colour VARCHAR)
Question: Which line was green?
Here is the SQLite query to answer to the question: Which line was green?:
```
SELECT line 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_91 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)
Question: What is the airing date for costume comedy that has 20 episodes?
[/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_91 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)
Question: What is the airing date for costume comedy that has 20 episodes?
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_35 (school VARCHAR, college VARCHAR)
Question: What is the school of the player from the College of Michigan?
[/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_35 (school VARCHAR, college VARCHAR)
Question: What is the school of the player from the College of Michigan?
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_48 (name VARCHAR, employed VARCHAR)
Question: What is the name of the person employed 1970–2005?
[/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_48 (name VARCHAR, employed VARCHAR)
Question: What is the name of the person employed 1970–2005?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer_master_index (master_customer_id VARCHAR, cmi_details VARCHAR); CREATE TABLE cmi_cross_references (source_system_code VARCHAR, master_customer_id VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer_master_index (master_customer_id VARCHAR, cmi_details VARCHAR); CREATE TABLE cmi_cross_references (source_system_code VARCHAR, master_customer_id VARCHAR)
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_63 (goals VARCHAR, date VARCHAR)
Question: What is the number of Goals on 1950-05-30?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (goals VARCHAR, date VARCHAR)
Question: What is the number of Goals on 1950-05-30?
Here is the SQLite query to answer to the question: What is the number 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_name_87 (steals VARCHAR, rebounds VARCHAR)
Question: Who was the leader in Steals when Travis Watson (9) was the leader in Rebounds?
[/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_87 (steals VARCHAR, rebounds VARCHAR)
Question: Who was the leader in Steals when Travis Watson (9) was the leader in Rebounds?
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_94 (case_suffix__case_ VARCHAR, postposition VARCHAR)
Question: What is Case Suffix (Case), when Postposition is "-mde (drops d)"?
[/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_94 (case_suffix__case_ VARCHAR, postposition VARCHAR)
Question: What is Case Suffix (Case), when Postposition is "-mde (drops d)"?
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 country (Country_name VARCHAR, Capital VARCHAR)
Question: Show the country name and capital of all countries.
[/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 country (Country_name VARCHAR, Capital VARCHAR)
Question: Show the country name and capital of all countries.
Here is the SQLite query to answer to the question: Show 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_6 (attendance INTEGER, away VARCHAR)
Question: What was the average attendance when marathon was the away team?
[/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_6 (attendance INTEGER, away VARCHAR)
Question: What was the average attendance when marathon was the away team?
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_15592941_1 (college VARCHAR, player_name VARCHAR)
Question: What college did jeremy zuttah attend?
[/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_15592941_1 (college VARCHAR, player_name VARCHAR)
Question: What college did jeremy zuttah attend?
Here is the SQLite query to answer to the question: What college... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13779832_1 (judges VARCHAR, local_title VARCHAR, presenters VARCHAR)
Question: who is the the judges with local title being x factor and presenters being heik... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13779832_1 (judges VARCHAR, local_title VARCHAR, presenters VARCHAR)
Question: who is the the judges with local title being x factor and presenters being heikki paa... | bugdaryan/sql-create-context-instruction | |
[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 (total_games VARCHAR, years VARCHAR, pac_12 VARCHAR)
Question: How many total games associated with the Pac-12 of california and 117 years?
[/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_84 (total_games VARCHAR, years VARCHAR, pac_12 VARCHAR)
Question: How many total games associated with the Pac-12 of california and 117 years?
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_25 (set_1 VARCHAR, set_3 VARCHAR)
Question: Which Set 1 has a Set 3 of 16–25?
[/INST]
Here is the SQLite query to answer to the question: Which Set 1 has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (set_1 VARCHAR, set_3 VARCHAR)
Question: Which Set 1 has a Set 3 of 16–25?
Here is the SQLite query to answer to the question: Which Set 1 has a Set 3 of 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE film (Studio VARCHAR, Director VARCHAR)
Question: Show the studios that have produced films with director "Nicholas Meyer" and "Walter Hill".
[/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 film (Studio VARCHAR, Director VARCHAR)
Question: Show the studios that have produced films with director "Nicholas Meyer" and "Walter Hill".
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 Person (name VARCHAR, city VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR)
Question: Who has a friend that is from new york city?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Person (name VARCHAR, city VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR)
Question: Who has a friend that is from new york city?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR)
Question: Name the most late 1943 with late 194 in slovenia
[/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_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR)
Question: Name the most late 1943 with late 194 in slovenia
Here is the SQLite query to answer to the question: N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Documents_with_expenses (document_id VARCHAR, budget_type_code VARCHAR)
Question: What are the document ids for the budget type code 'SF'?
[/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 Documents_with_expenses (document_id VARCHAR, budget_type_code VARCHAR)
Question: What are the document ids for the budget type code 'SF'?
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_34 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team which plays at a venue called Win Entertainment Centre?
[/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_34 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team which plays at a venue called Win Entertainment Centre?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (club VARCHAR)
Question: Where did the Vitória de Setúbal club place in the 2006-2007 season?
[/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_13 (club VARCHAR)
Question: Where did the Vitória de Setúbal club place in the 2006-2007 season?
Here is the SQLite query to answer to the question: Where did... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, score VARCHAR)
Question: What is the to par for the player who scored 73-68=141?
[/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_91 (to_par VARCHAR, score VARCHAR)
Question: What is the to par for the player who scored 73-68=141?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (elected VARCHAR)
Question: Who is the 2nd member elected in 1461?
[/INST]
Here is the SQLite query to answer to the question: Who is the 2nd member e... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (elected VARCHAR)
Question: Who is the 2nd member elected in 1461?
Here is the SQLite query to answer to the question: Who is the 2nd member elected in 146... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, home_team VARCHAR)
Question: Who was South Melbourne's away team opponents?
[/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_70 (away_team VARCHAR, home_team VARCHAR)
Question: Who was South Melbourne's away team opponents?
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_75 (bronze INTEGER, total INTEGER)
Question: What nation has the most bronze medals with over 11 total medals?
[/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_75 (bronze INTEGER, total INTEGER)
Question: What nation has the most bronze medals with over 11 total medals?
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_3002894_4 (apple VARCHAR, sonnet VARCHAR)
Question: When 4 mb is the sonnet what is the apple?
[/INST]
Here is the SQLite query to answer to the question: Whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_3002894_4 (apple VARCHAR, sonnet VARCHAR)
Question: When 4 mb is the sonnet what is the apple?
Here is the SQLite query to answer to the question: When 4 mb 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_1682026_6 (market_value__billion_$_ VARCHAR, sales__billion_$_ VARCHAR)
Question: What is the market value of a company in billions that has 172.7 billion in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1682026_6 (market_value__billion_$_ VARCHAR, sales__billion_$_ VARCHAR)
Question: What is the market value of a company in billions that has 172.7 billion in sales?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17322817_6 (date VARCHAR, score VARCHAR)
Question: Name the date for l 92–103 (ot)
[/INST]
Here is the SQLite query to answer to the question: Name the date ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17322817_6 (date VARCHAR, score VARCHAR)
Question: Name the date for l 92–103 (ot)
Here is the SQLite query to answer to the question: Name the date for l 92–103... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25691838_12 (the_wørd VARCHAR, guest VARCHAR)
Question: What is "the wørd" when guests were daniel ellsberg , william wegman , julie taymor?
[/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_25691838_12 (the_wørd VARCHAR, guest VARCHAR)
Question: What is "the wørd" when guests were daniel ellsberg , william wegman , julie taymor?
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_30058355_7 (tues_23_aug VARCHAR, wed_24_aug VARCHAR)
Question: What is every entry for Tuesday August 23 if the entry for Wednesday August 24 is 22' 23.29 101... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30058355_7 (tues_23_aug VARCHAR, wed_24_aug VARCHAR)
Question: What is every entry for Tuesday August 23 if the entry for Wednesday August 24 is 22' 23.29 101.116mp... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held VARCHAR); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR)
Question: List the time of elimination of the wrestl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held VARCHAR); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR)
Question: List the time of elimination of the wrestlers wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR)
Question: Which Country has a Place of t1?
[/INST]
Here is the SQLite query to answer to the question: Which Country ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR)
Question: Which Country has a Place of t1?
Here is the SQLite query to answer to the question: Which Country has a Place 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_name_2 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR)
Question: In the Formula One World Championships, which entrant had 0 points with a Fe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR)
Question: In the Formula One World Championships, which entrant had 0 points with a Ferrari ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (unanimous VARCHAR, school VARCHAR)
Question: What is the Unanimous of the Minnesota Southern California School?
[/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_93 (unanimous VARCHAR, school VARCHAR)
Question: What is the Unanimous of the Minnesota Southern California School?
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_76 (cuts_made INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR)
Question: How man cuts were there of players who had 0 wins but had 1 player in the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (cuts_made INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR)
Question: How man cuts were there of players who had 0 wins but had 1 player in the top 25... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1859269_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR)
Question: If leagues entering this round is Süper Lig, what is the maximum amount ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1859269_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR)
Question: If leagues entering this round is Süper Lig, what is the maximum amount of clu... | bugdaryan/sql-create-context-instruction | |
[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 (decile INTEGER, authority VARCHAR, name VARCHAR)
Question: What is the highest decile of Tarras school, which had a state authority?
[/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_58 (decile INTEGER, authority VARCHAR, name VARCHAR)
Question: What is the highest decile of Tarras school, which had a state authority?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (year INTEGER, day_in_release VARCHAR, day_of_week VARCHAR)
Question: What is the average year for releases on Friday and weeks larger than 2 days?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (year INTEGER, day_in_release VARCHAR, day_of_week VARCHAR)
Question: What is the average year for releases on Friday and weeks larger than 2 days?
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_2387461_1 (points_per_game VARCHAR, tournament VARCHAR)
Question: How many points per game have the tournament 2005 eurobasket?
[/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_2387461_1 (points_per_game VARCHAR, tournament VARCHAR)
Question: How many points per game have the tournament 2005 eurobasket?
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_82 (blackpool INTEGER, draw INTEGER)
Question: Which Blackpool is the highest one that has a Draw larger than 18?
[/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_82 (blackpool INTEGER, draw INTEGER)
Question: Which Blackpool is the highest one that has a Draw larger than 18?
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 customer (state VARCHAR, acc_type VARCHAR, credit_score VARCHAR, no_of_loans VARCHAR)
Question: Find the state, account type, and credit score of the customer whose... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer (state VARCHAR, acc_type VARCHAR, credit_score VARCHAR, no_of_loans VARCHAR)
Question: Find the state, account type, and credit score of the customer whose numbe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_282413_3 (ethnic_group VARCHAR)
Question: What is the highest 2011 population when the ethnic group is asian or asian british: asian other?
[/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_282413_3 (ethnic_group VARCHAR)
Question: What is the highest 2011 population when the ethnic group is asian or asian british: asian other?
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_name_92 (round VARCHAR, overall VARCHAR, mlb_team VARCHAR)
Question: What round was less than 545 overall for San Francisco Giants?
[/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_92 (round VARCHAR, overall VARCHAR, mlb_team VARCHAR)
Question: What round was less than 545 overall for San Francisco Giants?
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_27615896_18 (points INTEGER, new_points VARCHAR)
Question: How many points were won where new points was 1680?
[/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_27615896_18 (points INTEGER, new_points VARCHAR)
Question: How many points were won where new points was 1680?
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_34 (circuit VARCHAR, winner VARCHAR, series VARCHAR)
Question: What is the Circuit in the ATCC Round 1 Series with Winner Jim Richards?
[/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_34 (circuit VARCHAR, winner VARCHAR, series VARCHAR)
Question: What is the Circuit in the ATCC Round 1 Series with Winner Jim Richards?
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_63 (Last INTEGER, club VARCHAR)
Question: What is the number of Last Runners-up that has the club name of dempo sc?
[/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_63 (Last INTEGER, club VARCHAR)
Question: What is the number of Last Runners-up that has the club name of dempo sc?
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_93 (opened_in INTEGER, ride_name VARCHAR, manufacture VARCHAR, type VARCHAR)
Question: What is the latest year a ride opened that was manufactured by Zam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (opened_in INTEGER, ride_name VARCHAR, manufacture VARCHAR, type VARCHAR)
Question: What is the latest year a ride opened that was manufactured by Zamperla,... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, player VARCHAR)
Question: What was Momoko Ueda's place?
[/INST]
Here is the SQLite query to answer to the question: What was Momoko Ue... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (place VARCHAR, player VARCHAR)
Question: What was Momoko Ueda's place?
Here is the SQLite query to answer to the question: What was Momoko Ueda's place?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (tournament VARCHAR)
Question: What is 2001, when 1989 is "A", and when Tournament is "U.S. Open"?
[/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_94 (tournament VARCHAR)
Question: What is 2001, when 1989 is "A", and when Tournament is "U.S. Open"?
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_15187735_3 (series_ep VARCHAR, netflix VARCHAR)
Question: Name the series ep for s02e08
[/INST]
Here is the SQLite query to answer to the question: Name the s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_3 (series_ep VARCHAR, netflix VARCHAR)
Question: Name the series ep for s02e08
Here is the SQLite query to answer to the question: Name the series ep for ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (game VARCHAR, november VARCHAR)
Question: How many games have a November of 10?
[/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_10 (game VARCHAR, november VARCHAR)
Question: How many games have a November of 10?
Here is the SQLite query to answer to the question: How many games 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 school (LOCATION VARCHAR, Enrollment VARCHAR)
Question: List the locations of schools in ascending order of enrollment.
[/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 school (LOCATION VARCHAR, Enrollment VARCHAR)
Question: List the locations of schools in ascending order of enrollment.
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_23 (interview VARCHAR, state VARCHAR, evening_gown VARCHAR)
Question: What is the total interviews of Iowa, and with an evening gown smaller than 9.625?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (interview VARCHAR, state VARCHAR, evening_gown VARCHAR)
Question: What is the total interviews of Iowa, and with an evening gown smaller than 9.625?
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_85 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR)
Question: What is the fewest number of laps for a Dale Coyne Racing team with a mec... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR)
Question: What is the fewest number of laps for a Dale Coyne Racing team with a mechanica... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR)
Question: Who directed the episode with a production code of 4WAB04?
[/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_20726262_5 (directedby VARCHAR, production_code VARCHAR)
Question: Who directed the episode with a production code of 4WAB04?
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 country (Code VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR, IsOfficial VARCHAR)
Question: What is the total number of unique offici... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Code VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR, IsOfficial VARCHAR)
Question: What is the total number of unique official lan... | 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.