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_48 (melamine_content_mg_kg_ INTEGER, producer VARCHAR, samples_failed VARCHAR)
Question: What's the most melamine content that has more than 1 samples fa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (melamine_content_mg_kg_ INTEGER, producer VARCHAR, samples_failed VARCHAR)
Question: What's the most melamine content that has more than 1 samples failed 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_24089503_1 (travers_stakes VARCHAR, year VARCHAR)
Question: What was the attendance at the Travers Stakes in 1977?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24089503_1 (travers_stakes VARCHAR, year VARCHAR)
Question: What was the attendance at the Travers Stakes in 1977?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22883210_10 (location_attendance VARCHAR, team VARCHAR)
Question: Name the location attendance for minnesota
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22883210_10 (location_attendance VARCHAR, team VARCHAR)
Question: Name the location attendance for minnesota
Here is the SQLite query to answer to the question: Na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)
Question: What are the names of the courses that have ex... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)
Question: What are the names of the courses that have exactly ... | bugdaryan/sql-create-context-instruction | |
[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 (laps INTEGER, qual VARCHAR)
Question: What is the lowest laps with a 142.744 qual?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (laps INTEGER, qual VARCHAR)
Question: What is the lowest laps with a 142.744 qual?
Here is the SQLite query to answer to the question: What is the lowest ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (constitutional_ticket VARCHAR, socialist_ticket VARCHAR)
Question: Who was the constitutional ticket when william karlin was the socialist ticket?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (constitutional_ticket VARCHAR, socialist_ticket VARCHAR)
Question: Who was the constitutional ticket when william karlin was the socialist ticket?
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_1 (opponent VARCHAR, round VARCHAR, event VARCHAR)
Question: Who was the opponent in round 2 of the UFC 49 event?
[/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_1 (opponent VARCHAR, round VARCHAR, event VARCHAR)
Question: Who was the opponent in round 2 of the UFC 49 event?
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 track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (track_id VARCHAR)
Question: Show the name of track and the number of races in each track.
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (track_id VARCHAR)
Question: Show the name of track and the number of races in each track.
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)
Question: I want the constructor for brakes and grid less than 14
[/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_39 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)
Question: I want the constructor for brakes and grid less than 14
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (owner VARCHAR, name___format VARCHAR)
Question: Which Owner has a Name / Format of 105.3 kool fm - hot adult contemporary?
[/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_18 (owner VARCHAR, name___format VARCHAR)
Question: Which Owner has a Name / Format of 105.3 kool fm - hot adult contemporary?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (home_team VARCHAR, game VARCHAR)
Question: Which was the home team for game 3?
[/INST]
Here is the SQLite query to answer to the question: Which was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (home_team VARCHAR, game VARCHAR)
Question: Which was the home team for game 3?
Here is the SQLite query to answer to the question: Which was the home team... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342149_42 (result VARCHAR, candidates VARCHAR)
Question: What is the candidates result that is tom j. murray (d) unopposed?
[/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_1342149_42 (result VARCHAR, candidates VARCHAR)
Question: What is the candidates result that is tom j. murray (d) unopposed?
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 (born_died VARCHAR, name VARCHAR)
Question: What is the Born-Died dates of Xhafer Bej Ypi?
[/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_39 (born_died VARCHAR, name VARCHAR)
Question: What is the Born-Died dates of Xhafer Bej Ypi?
Here is the SQLite query to answer to the question: What 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 Invoices (order_id VARCHAR)
Question: Show the order ids and the number of invoices for each order.
[/INST]
Here is the SQLite query to answer to the question: Show... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Invoices (order_id VARCHAR)
Question: Show the order ids and the number of invoices for each order.
Here is the SQLite query to answer to the question: Show the order id... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (silver INTEGER, rank VARCHAR, gold VARCHAR)
Question: Which Silver is the highest one that has a Rank of 19, and a Gold larger than 0?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (silver INTEGER, rank VARCHAR, gold VARCHAR)
Question: Which Silver is the highest one that has a Rank of 19, and a Gold larger than 0?
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_32 (music VARCHAR, points_jury VARCHAR)
Question: Which Music has a Points Jury of 18 (5,5,4,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_name_32 (music VARCHAR, points_jury VARCHAR)
Question: Which Music has a Points Jury of 18 (5,5,4,4)?
Here is the SQLite query to answer to the question: Which Mus... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (competition VARCHAR, goal VARCHAR)
Question: What was the competition for goal 8?
[/INST]
Here is the SQLite query to answer to the question: What wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (competition VARCHAR, goal VARCHAR)
Question: What was the competition for goal 8?
Here is the SQLite query to answer to the question: What was the competi... | bugdaryan/sql-create-context-instruction | |
[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 (game INTEGER, date VARCHAR)
Question: What is the number of the game that was played on October 4?
[/INST]
Here is the SQLite query to answer to the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (game INTEGER, date VARCHAR)
Question: What is the number of the game that was played on October 4?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (director_s_ VARCHAR, recipient VARCHAR)
Question: Who directed the film that Avie Luthra received an award for?
[/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 (director_s_ VARCHAR, recipient VARCHAR)
Question: Who directed the film that Avie Luthra received an award for?
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_23685890_2 (type VARCHAR, local_government_area VARCHAR)
Question: What type of local government area is Yalata?
[/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_23685890_2 (type VARCHAR, local_government_area VARCHAR)
Question: What type of local government area is Yalata?
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_92 (winner VARCHAR, city___state VARCHAR, team VARCHAR)
Question: What is Winner, when City / State is "Mallala , South Australia", and when Team is "Elf... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (winner VARCHAR, city___state VARCHAR, team VARCHAR)
Question: What is Winner, when City / State is "Mallala , South Australia", and when Team is "Elfin Spo... | bugdaryan/sql-create-context-instruction | |
[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 (lner_class VARCHAR)
Question: What is the 1913 Class of the d32 LNER Class?
[/INST]
Here is the SQLite query to answer to the question: What is the 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (lner_class VARCHAR)
Question: What is the 1913 Class of the d32 LNER Class?
Here is the SQLite query to answer to the question: What is the 1913 Class of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (overall_ranking VARCHAR, status VARCHAR, name VARCHAR)
Question: What's the total number of overall rankings of 廖尹宁 jvnne leow's events that are elim... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (overall_ranking VARCHAR, status VARCHAR, name VARCHAR)
Question: What's the total number of overall rankings of 廖尹宁 jvnne leow's events that are eliminated... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (date VARCHAR, week VARCHAR)
Question: What date did Week 9 begin?
[/INST]
Here is the SQLite query to answer to the question: What date did Week 9 be... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (date VARCHAR, week VARCHAR)
Question: What date did Week 9 begin?
Here is the SQLite query to answer to the question: What date did Week 9 begin?:
```
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_61 (draw INTEGER, place VARCHAR, percentage VARCHAR)
Question: what is the highest draw when the place is less than 3 and the percentage is 30.71%?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (draw INTEGER, place VARCHAR, percentage VARCHAR)
Question: what is the highest draw when the place is less than 3 and the percentage is 30.71%?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (_percentage_of_seats VARCHAR, difference VARCHAR)
Question: What is the % of seats where the difference is 0.19?
[/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_92 (_percentage_of_seats VARCHAR, difference VARCHAR)
Question: What is the % of seats where the difference is 0.19?
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_11 (game INTEGER, date VARCHAR)
Question: Which game is on the date October 16?
[/INST]
Here is the SQLite query to answer to the question: Which game is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (game INTEGER, date VARCHAR)
Question: Which game is on the date October 16?
Here is the SQLite query to answer to the question: Which game is on the date ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (date VARCHAR, record VARCHAR)
Question: What is the Date of the game with a Record of 1–2–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_name_27 (date VARCHAR, record VARCHAR)
Question: What is the Date of the game with a Record of 1–2–4?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1939405_2 (latin_americans_2001 INTEGER, _percentage_2001 VARCHAR, _percentage_2011 VARCHAR)
Question: How many Latin Americans were there in 2001 in the prov... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1939405_2 (latin_americans_2001 INTEGER, _percentage_2001 VARCHAR, _percentage_2011 VARCHAR)
Question: How many Latin Americans were there in 2001 in the province 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_11 (rank VARCHAR, points INTEGER)
Question: How much Rank has Points larger than 282.5?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (rank VARCHAR, points INTEGER)
Question: How much Rank has Points larger than 282.5?
Here is the SQLite query to answer to the question: How much Rank has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342256_40 (candidates VARCHAR, district VARCHAR)
Question: What is the candidate for south carolina 4?
[/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_1342256_40 (candidates VARCHAR, district VARCHAR)
Question: What is the candidate for south carolina 4?
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_171250_2 (population VARCHAR, area_km_2 VARCHAR)
Question: What is the population that has an area of 715.58?
[/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_171250_2 (population VARCHAR, area_km_2 VARCHAR)
Question: What is the population that has an area of 715.58?
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_73 (score VARCHAR, player VARCHAR)
Question: What is the score for Billy Andrade?
[/INST]
Here is the SQLite query to answer to the question: 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_73 (score VARCHAR, player VARCHAR)
Question: What is the score for Billy Andrade?
Here is the SQLite query to answer to the question: What is the score for Bi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (home VARCHAR, date VARCHAR)
Question: Who was the home team on March 5, 2008?
[/INST]
Here is the SQLite query to answer to the question: Who was the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (home VARCHAR, date VARCHAR)
Question: Who was the home team on March 5, 2008?
Here is the SQLite query to answer to the question: Who was the home team on... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12792876_2 (tries_for VARCHAR)
Question: What is the 8th entry in the row with a first entry of "club"?
[/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_12792876_2 (tries_for VARCHAR)
Question: What is the 8th entry in the row with a first entry of "club"?
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_82 (silver INTEGER, bronze INTEGER)
Question: What is the sum of all silver medals with more than 2 bronze?
[/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_82 (silver INTEGER, bronze INTEGER)
Question: What is the sum of all silver medals with more than 2 bronze?
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_30 (television_service VARCHAR, package_option VARCHAR, language VARCHAR)
Question: What is the television service that has package with sky tv, and it i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (television_service VARCHAR, package_option VARCHAR, language VARCHAR)
Question: What is the television service that has package with sky tv, and it in Ital... | bugdaryan/sql-create-context-instruction | |
[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 (visitor VARCHAR, home VARCHAR)
Question: Which visitor lives in Minnesota?
[/INST]
Here is the SQLite query to answer to the question: Which visitor ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (visitor VARCHAR, home VARCHAR)
Question: Which visitor lives in Minnesota?
Here is the SQLite query to answer to the question: Which visitor lives in Minn... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, city VARCHAR)
Question: What was the result of the game in Milwaukee?
[/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_34 (result VARCHAR, city VARCHAR)
Question: What was the result of the game in Milwaukee?
Here is the SQLite query to answer to the question: What was the res... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341973_11 (candidates VARCHAR, first_elected VARCHAR)
Question: Who is the candidate that was first elected in 1914?
[/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_1341973_11 (candidates VARCHAR, first_elected VARCHAR)
Question: Who is the candidate that was first elected in 1914?
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 countrylanguage (LANGUAGE VARCHAR, CountryCode VARCHAR, Percentage INTEGER)
Question: What is the language spoken by the largest percentage of people in each countr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE countrylanguage (LANGUAGE VARCHAR, CountryCode VARCHAR, Percentage INTEGER)
Question: What is the language spoken by the largest percentage of people in each country?
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_23286112_8 (team VARCHAR, date VARCHAR)
Question: Name the team for january 4
[/INST]
Here is the SQLite query to answer to the question: Name the team for ja... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23286112_8 (team VARCHAR, date VARCHAR)
Question: Name the team for january 4
Here is the SQLite query to answer to the question: Name the team for january 4:
```
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (location VARCHAR, attendance INTEGER)
Question: Where was the attendance more than 57,347?
[/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_27 (location VARCHAR, attendance INTEGER)
Question: Where was the attendance more than 57,347?
Here is the SQLite query to answer to the question: Where was 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_33 (points_for VARCHAR, drawn VARCHAR, points VARCHAR)
Question: Name the points for with drawn of 0 and points of 88
[/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_33 (points_for VARCHAR, drawn VARCHAR, points VARCHAR)
Question: Name the points for with drawn of 0 and points of 88
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_1301373_1 (location VARCHAR, stadium VARCHAR)
Question: Where is Bluetongue Stadium located?
[/INST]
Here is the SQLite query to answer to the question: Wher... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1301373_1 (location VARCHAR, stadium VARCHAR)
Question: Where is Bluetongue Stadium located?
Here is the SQLite query to answer to the question: Where is Bluetong... | bugdaryan/sql-create-context-instruction | |
[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 (years VARCHAR, roll VARCHAR, area VARCHAR)
Question: Murupara has a roll greater than 296 for what years?
[/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_6 (years VARCHAR, roll VARCHAR, area VARCHAR)
Question: Murupara has a roll greater than 296 for what years?
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_54 (hindi VARCHAR, kannada VARCHAR)
Question: WHAT HINDI HAS Kannada of shukravara?
[/INST]
Here is the SQLite query to answer to the question: WHAT HIND... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (hindi VARCHAR, kannada VARCHAR)
Question: WHAT HINDI HAS Kannada of shukravara?
Here is the SQLite query to answer to the question: WHAT HINDI HAS Kannada... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2015453_1 (date VARCHAR, attendance VARCHAR)
Question: What date was the attendance 22000?
[/INST]
Here is the SQLite query to answer to the question: What da... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2015453_1 (date VARCHAR, attendance VARCHAR)
Question: What date was the attendance 22000?
Here is the SQLite query to answer to the question: What date was the at... | bugdaryan/sql-create-context-instruction | |
[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 (games INTEGER, points_difference VARCHAR, points VARCHAR)
Question: Points difference of 18 - 33, and a Points smaller than 4 is the total of what su... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (games INTEGER, points_difference VARCHAR, points VARCHAR)
Question: Points difference of 18 - 33, and a Points smaller than 4 is the total of what sum of g... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE song (languages VARCHAR)
Question: What is the language used most often in the songs?
[/INST]
Here is the SQLite query to answer to the question: What is the langua... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE song (languages VARCHAR)
Question: What is the language used most often in the songs?
Here is the SQLite query to answer to the question: What is the language used most ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)
Question: What is the Result of the game on November 24, 1946?
[/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_78 (result VARCHAR, date VARCHAR)
Question: What is the Result of the game on November 24, 1946?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (number_of_broadband_subscribers VARCHAR, number_of_users VARCHAR)
Question: How many broadband subscribers are there where there are ~47,372 users?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (number_of_broadband_subscribers VARCHAR, number_of_users VARCHAR)
Question: How many broadband subscribers are there where there are ~47,372 users?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (rank INTEGER, industry VARCHAR, revenue_in_usd VARCHAR)
Question: What is the rank of the petroleum company who has a revenue of $481.7 billion?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (rank INTEGER, industry VARCHAR, revenue_in_usd VARCHAR)
Question: What is the rank of the petroleum company who has a revenue of $481.7 billion?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (elected VARCHAR, district VARCHAR)
Question: What was the year elected in District 15?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (elected VARCHAR, district VARCHAR)
Question: What was the year elected in District 15?
Here is the SQLite query to answer to the question: What was the ye... | bugdaryan/sql-create-context-instruction | |
[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 (australian VARCHAR, examples VARCHAR)
Question: What is 17th c., when Australian is "i, ɪ, ə", and when Examples is "œsophagus"?
[/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_25 (australian VARCHAR, examples VARCHAR)
Question: What is 17th c., when Australian is "i, ɪ, ə", and when Examples is "œsophagus"?
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_89 (score VARCHAR, total VARCHAR)
Question: What was the score when the total was 75–53?
[/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_89 (score VARCHAR, total VARCHAR)
Question: What was the score when the total was 75–53?
Here is the SQLite query to answer to the question: What was the scor... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE staff (phone_number VARCHAR); CREATE TABLE customers (phone_number VARCHAR)
Question: Find the phone number of all the customers and staff.
[/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 staff (phone_number VARCHAR); CREATE TABLE customers (phone_number VARCHAR)
Question: Find the phone number of all the customers and staff.
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (money___ INTEGER, to_par VARCHAR, country VARCHAR)
Question: What is the average money for a to par of 15, and is from the United States?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (money___ INTEGER, to_par VARCHAR, country VARCHAR)
Question: What is the average money for a to par of 15, and is from the United States?
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_17104539_10 (high_rebounds VARCHAR, record VARCHAR)
Question: Who had a high rebound where the associated record is 11-13?
[/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_17104539_10 (high_rebounds VARCHAR, record VARCHAR)
Question: Who had a high rebound where the associated record is 11-13?
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_62 (first VARCHAR, position VARCHAR, bats VARCHAR)
Question: Which First has a Position of c, and Bats of l?
[/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_62 (first VARCHAR, position VARCHAR, bats VARCHAR)
Question: Which First has a Position of c, and Bats of l?
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_67 (points VARCHAR, drawn VARCHAR, lost VARCHAR)
Question: What is Points, when Drawn is "1", and when Lost is "5"?
[/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_67 (points VARCHAR, drawn VARCHAR, lost VARCHAR)
Question: What is Points, when Drawn is "1", and when Lost is "5"?
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_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR)
Question: How big was the crowd when the South Dragons were the away team at the Gold Coast Conventi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR)
Question: How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Cen... | bugdaryan/sql-create-context-instruction | |
[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 (psychological_dependence INTEGER, physical_dependence VARCHAR, pleasure VARCHAR, drug VARCHAR)
Question: What is the highest Psychological Dependence... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (psychological_dependence INTEGER, physical_dependence VARCHAR, pleasure VARCHAR, drug VARCHAR)
Question: What is the highest Psychological Dependence, when... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24620684_2 (vehicle VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR)
Question: When 100 g/mi (62 g/km) is the clean electric grid california (... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24620684_2 (vehicle VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR)
Question: When 100 g/mi (62 g/km) is the clean electric grid california (san fr... | bugdaryan/sql-create-context-instruction | |
[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 (gymnast VARCHAR, b_score VARCHAR, a_score VARCHAR)
Question: Which gymnast had a b score of 8.95 and an a score less than 6.9
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (gymnast VARCHAR, b_score VARCHAR, a_score VARCHAR)
Question: Which gymnast had a b score of 8.95 and an a score less than 6.9
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_36 (races VARCHAR, poles VARCHAR, team_name VARCHAR)
Question: Which race has a pole of test driver and a team name of Lucky Strike Honda Racing f1 team?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (races VARCHAR, poles VARCHAR, team_name VARCHAR)
Question: Which race has a pole of test driver and a team name of Lucky Strike Honda Racing f1 team?
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_83 (pop_dens VARCHAR, population INTEGER)
Question: What is the population density of the area with a population larger than 92,719?
[/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_83 (pop_dens VARCHAR, population INTEGER)
Question: What is the population density of the area with a population larger than 92,719?
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_10 (score VARCHAR, date VARCHAR)
Question: What is the score for the November 3 game?
[/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_10 (score VARCHAR, date VARCHAR)
Question: What is the score for the November 3 game?
Here is the SQLite query to answer to the question: What is the score fo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (athlete VARCHAR, time VARCHAR)
Question: What is the Athlete of the race with a Time of 9.78?
[/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_14 (athlete VARCHAR, time VARCHAR)
Question: What is the Athlete of the race with a Time of 9.78?
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_65 (status VARCHAR, name VARCHAR)
Question: What is the current status of the person named Nicholls?
[/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_65 (status VARCHAR, name VARCHAR)
Question: What is the current status of the person named Nicholls?
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_17 (final_venue VARCHAR, winner VARCHAR)
Question: What was the Final Venue having Sheffield Reserves as the Winner?
[/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_17 (final_venue VARCHAR, winner VARCHAR)
Question: What was the Final Venue having Sheffield Reserves as the Winner?
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_29 (score VARCHAR, year VARCHAR)
Question: What's the score in 1990?
[/INST]
Here is the SQLite query to answer to the question: What's the score in 1990... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (score VARCHAR, year VARCHAR)
Question: What's the score in 1990?
Here is the SQLite query to answer to the question: What's the score in 1990?:
```
SELECT... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15162479_8 (nominee VARCHAR, net_vote VARCHAR)
Question: How many nominees had a net voice of 15.17%
[/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_15162479_8 (nominee VARCHAR, net_vote VARCHAR)
Question: How many nominees had a net voice of 15.17%
Here is the SQLite query to answer to the question: How many 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 table_name_91 (worst_dancer_s_ VARCHAR, dance VARCHAR)
Question: What's the worst dance of jive dancer(s)?
[/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_91 (worst_dancer_s_ VARCHAR, dance VARCHAR)
Question: What's the worst dance of jive dancer(s)?
Here is the SQLite query to answer to the question: What's 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_23292220_13 (episode VARCHAR, seans_team VARCHAR)
Question: What was the episode that had Jack Dee and Stacey Solomon on Sean's team?
[/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_23292220_13 (episode VARCHAR, seans_team VARCHAR)
Question: What was the episode that had Jack Dee and Stacey Solomon on Sean's team?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: I want to know the total for silver more than 0 with bronze more than 21 and g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: I want to know the total for silver more than 0 with bronze more than 21 and gold mo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1322904_1 (title VARCHAR, release VARCHAR)
Question: What title was released on August 27?
[/INST]
Here is the SQLite query to answer to the question: What ti... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1322904_1 (title VARCHAR, release VARCHAR)
Question: What title was released on August 27?
Here is the SQLite query to answer to the question: What title was relea... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, tie_no VARCHAR)
Question: On what day was the attendance that had a Tie value of 40?
[/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_84 (attendance VARCHAR, tie_no VARCHAR)
Question: On what day was the attendance that had a Tie value of 40?
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_71 (date VARCHAR, away_team VARCHAR)
Question: What day is richmond the away side?
[/INST]
Here is the SQLite query to answer to the question: What day i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (date VARCHAR, away_team VARCHAR)
Question: What day is richmond the away side?
Here is the SQLite query to answer to the question: What day is richmond 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_20861261_4 (choice INTEGER, weight VARCHAR)
Question: What's the choice score of the player who weights 303lb (137kg)?
[/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_20861261_4 (choice INTEGER, weight VARCHAR)
Question: What's the choice score of the player who weights 303lb (137kg)?
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 CAR_NAMES (Model VARCHAR)
Question: Which model has the most version(make) of cars?
[/INST]
Here is the SQLite query to answer to the question: Which model has the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CAR_NAMES (Model VARCHAR)
Question: Which model has the most version(make) of cars?
Here is the SQLite query to answer to the question: Which model has the most version(... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677691_10 (player VARCHAR, school VARCHAR)
Question: What player represented Vista Murrieta High School?
[/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_11677691_10 (player VARCHAR, school VARCHAR)
Question: What player represented Vista Murrieta High School?
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_98 (nationality VARCHAR, round VARCHAR)
Question: In round 9 what was the nationality?
[/INST]
Here is the SQLite query to answer to the question: In rou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (nationality VARCHAR, round VARCHAR)
Question: In round 9 what was the nationality?
Here is the SQLite query to answer to the question: In round 9 what 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_15 (score VARCHAR, place VARCHAR)
Question: What is Score, when Place is "T1"?
[/INST]
Here is the SQLite query to answer to the question: What is Score,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (score VARCHAR, place VARCHAR)
Question: What is Score, when Place is "T1"?
Here is the SQLite query to answer to the question: What is Score, when Place 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_68 (score VARCHAR, result VARCHAR)
Question: What was the score for the game that had an end result of 5-2?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (score VARCHAR, result VARCHAR)
Question: What was the score for the game that had an end result of 5-2?
Here is the SQLite query to answer to the question... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (win__percentage VARCHAR, manager VARCHAR, lost VARCHAR)
Question: what is the total win % of manager viktor prokopenko, when he lost fewer 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_43 (win__percentage VARCHAR, manager VARCHAR, lost VARCHAR)
Question: what is the total win % of manager viktor prokopenko, when he lost fewer than 2?
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_1474099_6 (goals INTEGER)
Question: At maximum, what are our goals?
[/INST]
Here is the SQLite query to answer to the question: At maximum, what are our goals... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1474099_6 (goals INTEGER)
Question: At maximum, what are our goals?
Here is the SQLite query to answer to the question: At maximum, what are our goals?:
```
SELECT... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (lost VARCHAR, draw INTEGER)
Question: How many games did they lose when they tied less than 2 games?
[/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_39 (lost VARCHAR, draw INTEGER)
Question: How many games did they lose when they tied less than 2 games?
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_name_67 (opponent_in_the_final VARCHAR, tournament VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: What is Opponent In The Final, when Outcome is "Winner... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (opponent_in_the_final VARCHAR, tournament VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: What is Opponent In The Final, when Outcome is "Winner", whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (driver VARCHAR, season VARCHAR, tuner VARCHAR, governing_body VARCHAR)
Question: Who is the driver in season 2003 with a tuner of N. Leelakrishnan an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (driver VARCHAR, season VARCHAR, tuner VARCHAR, governing_body VARCHAR)
Question: Who is the driver in season 2003 with a tuner of N. Leelakrishnan and a Ma... | bugdaryan/sql-create-context-instruction | |
[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 (tied VARCHAR)
Question: What venue had a tie?
[/INST]
Here is the SQLite query to answer to the question: What venue had a tie?:
```
SELECT tied FROM... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (tied VARCHAR)
Question: What venue had a tie?
Here is the SQLite query to answer to the question: What venue had a tie?:
```
SELECT tied FROM table_name_8... | bugdaryan/sql-create-context-instruction | |
[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 (strain VARCHAR, genes VARCHAR)
Question: Which strain has 1,312 genes?
[/INST]
Here is the SQLite query to answer to the question: Which strain has 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (strain VARCHAR, genes VARCHAR)
Question: Which strain has 1,312 genes?
Here is the SQLite query to answer to the question: Which strain has 1,312 genes?:
... | bugdaryan/sql-create-context-instruction | |
[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 (visitor VARCHAR, series VARCHAR)
Question: who is the Visitor that has a Series of series tied 2–2?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (visitor VARCHAR, series VARCHAR)
Question: who is the Visitor that has a Series of series tied 2–2?
Here is the SQLite query to answer to the question: wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (venue VARCHAR, gross_revenue__2012_ VARCHAR)
Question: Which Venue has a Gross Revenue (2012) of $179,712?
[/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_41 (venue VARCHAR, gross_revenue__2012_ VARCHAR)
Question: Which Venue has a Gross Revenue (2012) of $179,712?
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 (producer_s_ VARCHAR, length VARCHAR)
Question: Who produced the track that is 4:16 long?
[/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_25 (producer_s_ VARCHAR, length VARCHAR)
Question: Who produced the track that is 4:16 long?
Here is the SQLite query to answer to the question: Who produced ... | bugdaryan/sql-create-context-instruction | |
[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 (line VARCHAR, platform VARCHAR)
Question: Which Line has a Platform of 3?
[/INST]
Here is the SQLite query to answer to the question: Which Line has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (line VARCHAR, platform VARCHAR)
Question: Which Line has a Platform of 3?
Here is the SQLite query to answer to the question: Which Line has a Platform of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2219961_2 (season__number INTEGER, director VARCHAR)
Question: What is the latest season number that Eric Tuchman directed?
[/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_2219961_2 (season__number INTEGER, director VARCHAR)
Question: What is the latest season number that Eric Tuchman directed?
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_22 (event VARCHAR, record VARCHAR)
Question: What event has a Record of 4–2?
[/INST]
Here is the SQLite query to answer to the question: What event has a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (event VARCHAR, record VARCHAR)
Question: What event has a Record of 4–2?
Here is the SQLite query to answer to the question: What event has a Record of 4–... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2602958_4 (writer_s_ VARCHAR, no VARCHAR)
Question: Who wrote episode number 45?
[/INST]
Here is the SQLite query to answer to the question: Who wrote episode... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2602958_4 (writer_s_ VARCHAR, no VARCHAR)
Question: Who wrote episode number 45?
Here is the SQLite query to answer to the question: Who wrote episode number 45?:
... | bugdaryan/sql-create-context-instruction | |
[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 (charting VARCHAR, blogs VARCHAR, discussion VARCHAR)
Question: WHAT CHARTING HAS NO BLOGS OR DISCUSSION?
[/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_96 (charting VARCHAR, blogs VARCHAR, discussion VARCHAR)
Question: WHAT CHARTING HAS NO BLOGS OR DISCUSSION?
Here is the SQLite query to answer to the questio... | 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.