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 Students (first_name VARCHAR, current_address_id VARCHAR, permanent_address_id VARCHAR)
Question: Whose permanent address is different from his or her current addre... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Students (first_name VARCHAR, current_address_id VARCHAR, permanent_address_id VARCHAR)
Question: Whose permanent address is different from his or her current address? Li... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (fname VARCHAR, sex VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Has_allergy (fname VARCHAR, sex VARCHAR, StuID VARCHAR, Allergy VARCHAR)
Question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (fname VARCHAR, sex VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Has_allergy (fname VARCHAR, sex VARCHAR, StuID VARCHAR, Allergy VARCHAR)
Question: Find... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR)
Question: what was the score in the loss to tapani (0-1)?
[/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_39 (score VARCHAR, loss VARCHAR)
Question: what was the score in the loss to tapani (0-1)?
Here is the SQLite query to answer to the question: what was the sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (building VARCHAR, storeys VARCHAR)
Question: Which building has 26 storeys?
[/INST]
Here is the SQLite query to answer to the question: Which buildin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (building VARCHAR, storeys VARCHAR)
Question: Which building has 26 storeys?
Here is the SQLite query to answer to the question: Which building has 26 stor... | bugdaryan/sql-create-context-instruction | |
[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 (street_address VARCHAR, floors VARCHAR)
Question: The building with 48 floors has an address in Las Vegas of what?
[/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_2 (street_address VARCHAR, floors VARCHAR)
Question: The building with 48 floors has an address in Las Vegas of what?
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_9 (tournament VARCHAR, partner VARCHAR)
Question: Which tournament had a partner of Erika Sema?
[/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_9 (tournament VARCHAR, partner VARCHAR)
Question: Which tournament had a partner of Erika Sema?
Here is the SQLite query to answer to the question: Which tour... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28562675_3 (germany VARCHAR, italy VARCHAR, england VARCHAR)
Question: How many years did Germany participate, when the team from Italy was Naples LL Naples a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28562675_3 (germany VARCHAR, italy VARCHAR, england VARCHAR)
Question: How many years did Germany participate, when the team from Italy was Naples LL Naples and 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_18904831_6 (high_points VARCHAR, high_rebounds VARCHAR)
Question: When dydek (8) has the highest rebounds who has the highest amount of points?
[/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_18904831_6 (high_points VARCHAR, high_rebounds VARCHAR)
Question: When dydek (8) has the highest rebounds who has the highest amount of points?
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_13241993_3 (part_2 VARCHAR, part_1 VARCHAR)
Question: What was the air date of part 2 of the episode whose part 1 was aired on January 31, 2008?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13241993_3 (part_2 VARCHAR, part_1 VARCHAR)
Question: What was the air date of part 2 of the episode whose part 1 was aired on January 31, 2008?
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_16 (attendance INTEGER, week INTEGER)
Question: What is the total attendance before week 1?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (attendance INTEGER, week INTEGER)
Question: What is the total attendance before week 1?
Here is the SQLite query to answer to the question: What is 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_name_4 (opponent VARCHAR, week VARCHAR)
Question: Who was the opponent on week 5?
[/INST]
Here is the SQLite query to answer to the question: Who was the oppo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (opponent VARCHAR, week VARCHAR)
Question: Who was the opponent on week 5?
Here is the SQLite query to answer to the question: Who was the opponent on week ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26914076_4 (_number INTEGER, us_viewers__millions_ VARCHAR)
Question: What number episode in the season was watched by 0.49 million U.S. viewers?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26914076_4 (_number INTEGER, us_viewers__millions_ VARCHAR)
Question: What number episode in the season was watched by 0.49 million U.S. viewers?
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_name_32 (result VARCHAR, attendance VARCHAR)
Question: Tell me the result for attendance of 54,462
[/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_32 (result VARCHAR, attendance VARCHAR)
Question: Tell me the result for attendance of 54,462
Here is the SQLite query to answer to the question: Tell me 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_47 (tries_for VARCHAR, losing_bonus VARCHAR)
Question: what is the tries fow when losing bonus is losing bonus?
[/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_47 (tries_for VARCHAR, losing_bonus VARCHAR)
Question: what is the tries fow when losing bonus is losing bonus?
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_90 (transfer_window VARCHAR, name VARCHAR)
Question: Emerson has what transfer window?
[/INST]
Here is the SQLite query to answer to the question: Emerso... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (transfer_window VARCHAR, name VARCHAR)
Question: Emerson has what transfer window?
Here is the SQLite query to answer to the question: Emerson has what tr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (date VARCHAR, attendance VARCHAR)
Question: What was the date when the attendance was 73,529?
[/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_89 (date VARCHAR, attendance VARCHAR)
Question: What was the date when the attendance was 73,529?
Here is the SQLite query to answer to the question: 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_57 (director VARCHAR, title VARCHAR, result VARCHAR)
Question: Who is the director with the Min Dally Nseek title, and won?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (director VARCHAR, title VARCHAR, result VARCHAR)
Question: Who is the director with the Min Dally Nseek title, and won?
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 Customers_cards (customer_id VARCHAR)
Question: Show all customer ids and the number of cards owned by each customer.
[/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 Customers_cards (customer_id VARCHAR)
Question: Show all customer ids and the number of cards owned by each customer.
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_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR, m_v_ft_s VARCHAR)
Question: What is the average maximum height of a shell that trav... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR, m_v_ft_s VARCHAR)
Question: What is the average maximum height of a shell that travels 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_34 (city__town VARCHAR, year_founded VARCHAR)
Question: In what City/town was their institution founded in 1860?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (city__town VARCHAR, year_founded VARCHAR)
Question: In what City/town was their institution founded in 1860?
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_261941_1 (enrollment VARCHAR, joined VARCHAR)
Question: How many different items appear in the enrollment column that joined in 1931, 1949 1?
[/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_261941_1 (enrollment VARCHAR, joined VARCHAR)
Question: How many different items appear in the enrollment column that joined in 1931, 1949 1?
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_53 (season VARCHAR, downhill VARCHAR, overall VARCHAR)
Question: What season had a downhill of 35 and overall greater than 21?
[/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_53 (season VARCHAR, downhill VARCHAR, overall VARCHAR)
Question: What season had a downhill of 35 and overall greater than 21?
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 country (Name VARCHAR, Continent VARCHAR, population INTEGER)
Question: Which Asian countries have a population that is larger than any country in Africa?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)
Question: Which Asian countries have a population that is larger than any country in Africa?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (score VARCHAR, game VARCHAR)
Question: What was the score of Game 16?
[/INST]
Here is the SQLite query to answer to the question: What was the score o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (score VARCHAR, game VARCHAR)
Question: What was the score of Game 16?
Here is the SQLite query to answer to the question: What was the score of Game 16?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_manufacturer VARCHAR)
Question: Who is the winning driver of the race with no race as the winning manufacturer?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_manufacturer VARCHAR)
Question: Who is the winning driver of the race with no race as the winning manufacturer?
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_33 (team_2 VARCHAR)
Question: What is the second leg that Valencia was on?
[/INST]
Here is the SQLite query to answer to the question: What is the second... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (team_2 VARCHAR)
Question: What is the second leg that Valencia was on?
Here is the SQLite query to answer to the question: What is the second leg that Val... | bugdaryan/sql-create-context-instruction | |
[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 (pos VARCHAR)
Question: What is the 2012 club of the cf pos. player?
[/INST]
Here is the SQLite query to answer to the question: What is the 2012 club... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (pos VARCHAR)
Question: What is the 2012 club of the cf pos. player?
Here is the SQLite query to answer to the question: What is the 2012 club of the cf po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (surname VARCHAR, first VARCHAR)
Question: What is Marc's Surname?
[/INST]
Here is the SQLite query to answer to the question: What is Marc's Surname?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (surname VARCHAR, first VARCHAR)
Question: What is Marc's Surname?
Here is the SQLite query to answer to the question: What is Marc's Surname?:
```
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_10 (lead VARCHAR, skip VARCHAR)
Question: Which Lead has Katarina Radonic as Skip?
[/INST]
Here is the SQLite query to answer to the question: Which Lead... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (lead VARCHAR, skip VARCHAR)
Question: Which Lead has Katarina Radonic as Skip?
Here is the SQLite query to answer to the question: Which Lead has Katarina... | bugdaryan/sql-create-context-instruction | |
[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 (aug_2013 INTEGER, jun_2011 VARCHAR, nov_2011 VARCHAR, jul_2012 VARCHAR)
Question: What is the highest Aug 2013 with a Nov 2011 smaller than 968, and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (aug_2013 INTEGER, jun_2011 VARCHAR, nov_2011 VARCHAR, jul_2012 VARCHAR)
Question: What is the highest Aug 2013 with a Nov 2011 smaller than 968, and a Jul ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16799784_12 (year_named VARCHAR, latitude VARCHAR)
Question: What is every year named for the latitude of 66.5N?
[/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_16799784_12 (year_named VARCHAR, latitude VARCHAR)
Question: What is every year named for the latitude of 66.5N?
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_56 (height VARCHAR, name VARCHAR, position VARCHAR, year VARCHAR)
Question: How tall is the freshman guard Cetera Degraffenreid?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (height VARCHAR, name VARCHAR, position VARCHAR, year VARCHAR)
Question: How tall is the freshman guard Cetera Degraffenreid?
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_77 (other_awards VARCHAR, year VARCHAR)
Question: What are the other awards for 1995?
[/INST]
Here is the SQLite query to answer to the question: What ar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (other_awards VARCHAR, year VARCHAR)
Question: What are the other awards for 1995?
Here is the SQLite query to answer to the question: What are the other 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_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR)
Question: What is the high 10 profile when high profile is 160?
[/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_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR)
Question: What is the high 10 profile when high profile is 160?
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_72 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: What was Laura Diaz's score for place t9?
[/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_72 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: What was Laura Diaz's score for place t9?
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_81 (main_date VARCHAR, number_of_fixtures VARCHAR)
Question: What was the main date of the round with 20 fixtures?
[/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_81 (main_date VARCHAR, number_of_fixtures VARCHAR)
Question: What was the main date of the round with 20 fixtures?
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_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR)
Question: How many men from the Ukraine?
[/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_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR)
Question: How many men from the Ukraine?
Here is the SQLite query to answer to the question: How many men... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (time_retired VARCHAR, driver VARCHAR)
Question: The driver Jacky Ickx had what time/retired?
[/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_64 (time_retired VARCHAR, driver VARCHAR)
Question: The driver Jacky Ickx had what time/retired?
Here is the SQLite query to answer to the question: The drive... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, builder VARCHAR, laid_down VARCHAR)
Question: What is the name of the boat that was built by Chatham and Laid down of 25 april 1887?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (name VARCHAR, builder VARCHAR, laid_down VARCHAR)
Question: What is the name of the boat that was built by Chatham and Laid down of 25 april 1887?
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_90 (class VARCHAR, call_sign VARCHAR)
Question: what is the class of w269ax
[/INST]
Here is the SQLite query to answer to the question: what is the class... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (class VARCHAR, call_sign VARCHAR)
Question: what is the class of w269ax
Here is the SQLite query to answer to the question: what is the class of w269ax:
`... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, event VARCHAR)
Question: What Record has an Event of Pride Shockwave 2004?
[/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_22 (record VARCHAR, event VARCHAR)
Question: What Record has an Event of Pride Shockwave 2004?
Here is the SQLite query to answer to the question: What Record... | bugdaryan/sql-create-context-instruction | |
[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 (icao VARCHAR, city VARCHAR)
Question: What is the IcAO of Frankfurt?
[/INST]
Here is the SQLite query to answer to the question: What is the IcAO of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (icao VARCHAR, city VARCHAR)
Question: What is the IcAO of Frankfurt?
Here is the SQLite query to answer to the question: What is the IcAO of Frankfurt?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (grade VARCHAR, jockey VARCHAR, runner_up_winner VARCHAR)
Question: What grade did jockey Robby Albarado get when racing with Ravens Pass?
[/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_78 (grade VARCHAR, jockey VARCHAR, runner_up_winner VARCHAR)
Question: What grade did jockey Robby Albarado get when racing with Ravens Pass?
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_name_25 (class VARCHAR, laps VARCHAR, year VARCHAR, team VARCHAR)
Question: Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (class VARCHAR, laps VARCHAR, year VARCHAR, team VARCHAR)
Question: Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, ... | bugdaryan/sql-create-context-instruction | |
[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 (season INTEGER, profile VARCHAR)
Question: What is the earliest season with an advertising account manager profile?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (season INTEGER, profile VARCHAR)
Question: What is the earliest season with an advertising account manager profile?
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_46 (country VARCHAR, place VARCHAR)
Question: What is the Country, when Place is "1"?
[/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_46 (country VARCHAR, place VARCHAR)
Question: What is the Country, when Place is "1"?
Here is the SQLite query to answer to the question: What is the Country,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE students (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)
Question: List the id of students who registered some courses and the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE students (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)
Question: List the id of students who registered some courses and the number... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
Question: Which Visiting Team is on december 23?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
Question: Which Visiting Team is on december 23?
Here is the SQLite query to answer to the question: Which Visiting 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_83 (score VARCHAR, record VARCHAR, visitor VARCHAR, home VARCHAR)
Question: Which Score has a Visitor of toronto st. pats, and a Home of montreal canadie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (score VARCHAR, record VARCHAR, visitor VARCHAR, home VARCHAR)
Question: Which Score has a Visitor of toronto st. pats, and a Home of montreal canadiens, 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_1973816_1 (nickname VARCHAR, founded VARCHAR)
Question: What's the nickname of the students of the school founded in 1933?
[/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_1973816_1 (nickname VARCHAR, founded VARCHAR)
Question: What's the nickname of the students of the school founded in 1933?
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_74 (year INTEGER, country VARCHAR)
Question: What is the average year of the film from France/Hong Kong?
[/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_74 (year INTEGER, country VARCHAR)
Question: What is the average year of the film from France/Hong Kong?
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_22 (placings INTEGER, rank VARCHAR, points VARCHAR)
Question: What is the Place of the couple with a Rank smaller than 7 and 514.55 Points?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (placings INTEGER, rank VARCHAR, points VARCHAR)
Question: What is the Place of the couple with a Rank smaller than 7 and 514.55 Points?
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_13026799_3 (starts VARCHAR, year VARCHAR)
Question: What is the number of starts for 1987?
[/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_13026799_3 (starts VARCHAR, year VARCHAR)
Question: What is the number of starts for 1987?
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_66 (date VARCHAR, tournament VARCHAR)
Question: When was the general foods pga seniors' championship tournament?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR)
Question: When was the general foods pga seniors' championship tournament?
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_83 (years_active VARCHAR, wins VARCHAR)
Question: What is the total number of 2nd place finishes for riders active in years 2009-2010 and more than 0 win... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (years_active VARCHAR, wins VARCHAR)
Question: What is the total number of 2nd place finishes for riders active in years 2009-2010 and more than 0 wins?
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_15420044_1 (team VARCHAR, difference VARCHAR)
Question: Which teams had a difference of 8 between goals scored and goals conceeded
[/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_15420044_1 (team VARCHAR, difference VARCHAR)
Question: Which teams had a difference of 8 between goals scored and goals conceeded
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_8 (game VARCHAR, date VARCHAR)
Question: Which game took place on April 22?
[/INST]
Here is the SQLite query to answer to the question: Which game took p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (game VARCHAR, date VARCHAR)
Question: Which game took place on April 22?
Here is the SQLite query to answer to the question: Which game took place on April... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_36 (incumbent VARCHAR, district VARCHAR)
Question: Name the incumbent for north carolina 9
[/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_19753079_36 (incumbent VARCHAR, district VARCHAR)
Question: Name the incumbent for north carolina 9
Here is the SQLite query to answer to the question: Name the in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22603701_1 (result VARCHAR, name VARCHAR)
Question: What is the result for Steve Gonzalez?
[/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_22603701_1 (result VARCHAR, name VARCHAR)
Question: What is the result for Steve Gonzalez?
Here is the SQLite query to answer to the question: What is the result ... | bugdaryan/sql-create-context-instruction | |
[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 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)
Question: Who is the main contestant eliminated with a score of 1 +... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)
Question: Who is the main contestant eliminated with a score of 1 + 7 + 5... | bugdaryan/sql-create-context-instruction | |
[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 (season VARCHAR, round VARCHAR, result VARCHAR)
Question: What season had a game in the first round with a result of 4–1, 0–1?
[/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_87 (season VARCHAR, round VARCHAR, result VARCHAR)
Question: What season had a game in the first round with a result of 4–1, 0–1?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE WINE (Name VARCHAR, Price INTEGER, YEAR VARCHAR)
Question: What are the names of wines that are more expensive then all wines made in the year 2006?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE WINE (Name VARCHAR, Price INTEGER, YEAR VARCHAR)
Question: What are the names of wines that are more expensive then all wines made in the year 2006?
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_5 (player VARCHAR, position VARCHAR, jersey_number_s_ VARCHAR)
Question: Who wears the jersey number 20 and has the position of SG?
[/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_5 (player VARCHAR, position VARCHAR, jersey_number_s_ VARCHAR)
Question: Who wears the jersey number 20 and has the position of SG?
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_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)
Question: Who wrote the episode with 9.81 million US viewers?
[/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_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)
Question: Who wrote the episode with 9.81 million US viewers?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR)
Question: Which Round is the lowest one that has a Circuit of donington?
[/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_18 (round INTEGER, circuit VARCHAR)
Question: Which Round is the lowest one that has a Circuit of donington?
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_65 (record VARCHAR, date VARCHAR)
Question: what's the record on july 10?
[/INST]
Here is the SQLite query to answer to the question: what's the record o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)
Question: what's the record on july 10?
Here is the SQLite query to answer to the question: what's the record on july 10?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (run_1 VARCHAR, athletes VARCHAR)
Question: What is Run 1, when Athletes is "Theo Kitt & Friedrich Kuhn"?
[/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_89 (run_1 VARCHAR, athletes VARCHAR)
Question: What is Run 1, when Athletes is "Theo Kitt & Friedrich Kuhn"?
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_74 (joined VARCHAR, mascot VARCHAR)
Question: When doeas Mascot of blue devils in Gary Froebel School?
[/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_74 (joined VARCHAR, mascot VARCHAR)
Question: When doeas Mascot of blue devils in Gary Froebel School?
Here is the SQLite query to answer to the question: 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_22 (round VARCHAR, method VARCHAR, time VARCHAR)
Question: what is the total number of rounds when method is tko (punches) and time is 0:40?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (round VARCHAR, method VARCHAR, time VARCHAR)
Question: what is the total number of rounds when method is tko (punches) and time is 0:40?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (time__behind VARCHAR, jockey VARCHAR)
Question: What is the Time/ Behind, when Jockey is "Jose Lezcano"?
[/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_44 (time__behind VARCHAR, jockey VARCHAR)
Question: What is the Time/ Behind, when Jockey is "Jose Lezcano"?
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_19 (date_of_birth__age_ VARCHAR, player VARCHAR)
Question: When was nese malifa born?
[/INST]
Here is the SQLite query to answer to the question: When wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (date_of_birth__age_ VARCHAR, player VARCHAR)
Question: When was nese malifa born?
Here is the SQLite query to answer to the question: When was nese malifa... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, to_par VARCHAR)
Question: What is the Place of the Player with a To par of –6?
[/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_96 (place VARCHAR, to_par VARCHAR)
Question: What is the Place of the Player with a To par of –6?
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_30 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)
Question: What is the points difference for a loss less than 6, and points less than 11?
[/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 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)
Question: What is the points difference for a loss less than 6, and points less than 11?
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_76 (name__english_ VARCHAR, location VARCHAR)
Question: What is the English Name of the Location in Chester?
[/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_76 (name__english_ VARCHAR, location VARCHAR)
Question: What is the English Name of the Location in Chester?
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_23281862_10 (game INTEGER, score VARCHAR)
Question: Name the most game for w 113–96 (ot)
[/INST]
Here is the SQLite query to answer to the question: Name the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23281862_10 (game INTEGER, score VARCHAR)
Question: Name the most game for w 113–96 (ot)
Here is the SQLite query to answer to the question: Name the most game 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_22822559_8 (date VARCHAR, record VARCHAR)
Question: What date was the Piston's record at 23-47?
[/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_22822559_8 (date VARCHAR, record VARCHAR)
Question: What date was the Piston's record at 23-47?
Here is the SQLite query to answer to the question: What date 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_34 (track VARCHAR, turns VARCHAR)
Question: Where is the track located with 18 turns?
[/INST]
Here is the SQLite query to answer to the question: Where 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 (track VARCHAR, turns VARCHAR)
Question: Where is the track located with 18 turns?
Here is the SQLite query to answer to the question: Where is the track l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
Question: Who constructed stefan johansson's car with a grid under 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_52 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
Question: Who constructed stefan johansson's car with a grid under 14?
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_44 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)
Question: Which FIS Nordic World Ski Championships has Winter Olympics of 1960?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)
Question: Which FIS Nordic World Ski Championships has Winter Olympics of 1960?
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_23 (bronze INTEGER, team VARCHAR, gold VARCHAR)
Question: what is the average bronze when the team is northwest territories and gold is more than 34?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (bronze INTEGER, team VARCHAR, gold VARCHAR)
Question: what is the average bronze when the team is northwest territories and gold is more than 34?
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_1341453_34 (party VARCHAR, results VARCHAR)
Question: How many elections have resulted in retired democratic hold?
[/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_1341453_34 (party VARCHAR, results VARCHAR)
Question: How many elections have resulted in retired democratic hold?
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_2623498_5 (prod_code VARCHAR, episode__number VARCHAR)
Question: What is the number of production codes for episode #73?
[/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_2623498_5 (prod_code VARCHAR, episode__number VARCHAR)
Question: What is the number of production codes for episode #73?
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_2267465_1 (average_speed__mph_ VARCHAR, year VARCHAR)
Question: What's the average mph of 1964?
[/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_2267465_1 (average_speed__mph_ VARCHAR, year VARCHAR)
Question: What's the average mph of 1964?
Here is the SQLite query to answer to the question: What's the aver... | bugdaryan/sql-create-context-instruction | |
[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 (inverse_subjunctive VARCHAR, indicative VARCHAR)
Question: The indicative of si måchan has what as the inverse subjunctive?
[/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_8 (inverse_subjunctive VARCHAR, indicative VARCHAR)
Question: The indicative of si måchan has what as the inverse subjunctive?
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_61 (date VARCHAR, winning_driver VARCHAR)
Question: What Date has a Winning driver of ugo sivocci?
[/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_61 (date VARCHAR, winning_driver VARCHAR)
Question: What Date has a Winning driver of ugo sivocci?
Here is the SQLite query to answer to the question: What Da... | bugdaryan/sql-create-context-instruction | |
[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 (laps INTEGER, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: What is the largest number of laps with a Grid larger than 14, a Time/Ret... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (laps INTEGER, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: What is the largest number of laps with a Grid larger than 14, a Time/Retired 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_70 (date VARCHAR, week VARCHAR)
Question: What was the date during week 13?
[/INST]
Here is the SQLite query to answer to the question: What was the date... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR)
Question: What was the date during week 13?
Here is the SQLite query to answer to the question: What was the date during week ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)
Question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)
Question: What is the sma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (product_category_code VARCHAR)
Question: How many products are there under the category "Seeds"?
[/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 products (product_category_code VARCHAR)
Question: How many products are there under the category "Seeds"?
Here is the SQLite query to answer to the question: How many 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_92 (type VARCHAR, length_overall VARCHAR)
Question: What type has an overall length of 1.605 m?
[/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_92 (type VARCHAR, length_overall VARCHAR)
Question: What type has an overall length of 1.605 m?
Here is the SQLite query to answer to the question: What type ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27588823_2 (branding VARCHAR, location VARCHAR)
Question: What is the branding for the station located in san jose del monte?
[/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_27588823_2 (branding VARCHAR, location VARCHAR)
Question: What is the branding for the station located in san jose del monte?
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_4 (to_par INTEGER, player VARCHAR)
Question: What is the sum of To Par, when Player is "Bob Rosburg"?
[/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_4 (to_par INTEGER, player VARCHAR)
Question: What is the sum of To Par, when Player is "Bob Rosburg"?
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_27712180_13 (date VARCHAR, game VARCHAR)
Question: What was the date of game #3?
[/INST]
Here is the SQLite query to answer to the question: What was the date... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27712180_13 (date VARCHAR, game VARCHAR)
Question: What was the date of game #3?
Here is the SQLite query to answer to the question: What was the date of game #3?:... | bugdaryan/sql-create-context-instruction | |
[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 (gold VARCHAR, rank VARCHAR, bronze VARCHAR)
Question: How many times is the rank higher than 3 and bronze more than 1?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (gold VARCHAR, rank VARCHAR, bronze VARCHAR)
Question: How many times is the rank higher than 3 and bronze more than 1?
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_74 (school VARCHAR, player VARCHAR)
Question: What School did Player Alonzo Mourning 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_name_74 (school VARCHAR, player VARCHAR)
Question: What School did Player Alonzo Mourning attend?
Here is the SQLite query to answer to the question: What School d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (week INTEGER, date VARCHAR)
Question: What was the earliest week on September 26, 1965?
[/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_3 (week INTEGER, date VARCHAR)
Question: What was the earliest week on September 26, 1965?
Here is the SQLite query to answer to the question: What was the ea... | bugdaryan/sql-create-context-instruction | |
[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 (source VARCHAR, type VARCHAR, nat VARCHAR)
Question: WHAT IS THE SOURCE WITH A TYPE OF TRANSFER AND MEX?
[/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_14 (source VARCHAR, type VARCHAR, nat VARCHAR)
Question: WHAT IS THE SOURCE WITH A TYPE OF TRANSFER AND MEX?
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_18513028_3 (contestant_name VARCHAR, date_premiered__2009_ VARCHAR)
Question: What contestant was premiered on July 25?
[/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_18513028_3 (contestant_name VARCHAR, date_premiered__2009_ VARCHAR)
Question: What contestant was premiered on July 25?
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_35 (car_model VARCHAR, manufacturer VARCHAR, driver VARCHAR)
Question: What Car Model has the Manufacturer of Saab, and Driver Dean Randle?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (car_model VARCHAR, manufacturer VARCHAR, driver VARCHAR)
Question: What Car Model has the Manufacturer of Saab, and Driver Dean Randle?
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_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR)
Question: What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR)
Question: What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?
Here i... | 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.