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_97 (goal_difference VARCHAR, wins VARCHAR, draws VARCHAR, position VARCHAR)
Question: What is the goal difference for entries with more than 6 draws, a p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (goal_difference VARCHAR, wins VARCHAR, draws VARCHAR, position VARCHAR)
Question: What is the goal difference for entries with more than 6 draws, a positio... | bugdaryan/sql-create-context-instruction | |
[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 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
Question: The United States, with a total medal count of less than 171, and a bronze meda... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
Question: The United States, with a total medal count of less than 171, and a bronze medal coun... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (frequency VARCHAR, socket VARCHAR, model_number VARCHAR)
Question: Which Frequency has a Socket of socket 370, and a Model Number of c3 1.4a?
[/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 (frequency VARCHAR, socket VARCHAR, model_number VARCHAR)
Question: Which Frequency has a Socket of socket 370, and a Model Number of c3 1.4a?
Here is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (laps INTEGER, time_retired VARCHAR)
Question: What is the highest number of laps when the Time/Retired is differential?
[/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_76 (laps INTEGER, time_retired VARCHAR)
Question: What is the highest number of laps when the Time/Retired is differential?
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_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
Question: How many times did Viorel Moldovan replaced a manager?
[/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_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
Question: How many times did Viorel Moldovan replaced a manager?
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_90 (tenure VARCHAR, revenues VARCHAR)
Question: What is the tenure of the person with revenues of 60,000-->58,000 koku?
[/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_90 (tenure VARCHAR, revenues VARCHAR)
Question: What is the tenure of the person with revenues of 60,000-->58,000 koku?
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_13 (penalty VARCHAR, average VARCHAR, total VARCHAR)
Question: What was the penalty for the gymnast with average above 9.662 and total is more than 9.706... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (penalty VARCHAR, average VARCHAR, total VARCHAR)
Question: What was the penalty for the gymnast with average above 9.662 and total is more than 9.706?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR)
Question: What is the default desktop environment when the ed... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR)
Question: What is the default desktop environment when the edition ... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, competition VARCHAR, date VARCHAR)
Question: What was the score for the South American Championship dated December 13, 1925?
[/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 (result VARCHAR, competition VARCHAR, date VARCHAR)
Question: What was the score for the South American Championship dated December 13, 1925?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_5 (at_columbia VARCHAR, overall_record VARCHAR)
Question: What is the record at Columbia for the team overall record of MU, 3-1?
[/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_16201038_5 (at_columbia VARCHAR, overall_record VARCHAR)
Question: What is the record at Columbia for the team overall record of MU, 3-1?
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_70 (tournament VARCHAR, location VARCHAR)
Question: What tournament is in Arizona?
[/INST]
Here is the SQLite query to answer to the question: What tourn... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (tournament VARCHAR, location VARCHAR)
Question: What tournament is in Arizona?
Here is the SQLite query to answer to the question: What tournament is in 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_79 (evening_gown VARCHAR, preliminaries VARCHAR, state VARCHAR)
Question: What is the evening gown score of the contestant from the District of Columbia ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (evening_gown VARCHAR, preliminaries VARCHAR, state VARCHAR)
Question: What is the evening gown score of the contestant from the District of Columbia with p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (city_of_license VARCHAR, age_watt VARCHAR)
Question: Name the city of license which has age Watt of 160 watts
[/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_56 (city_of_license VARCHAR, age_watt VARCHAR)
Question: Name the city of license which has age Watt of 160 watts
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 Faculty_participates_in (FacID VARCHAR)
Question: How many faculty members participate in an activity?
[/INST]
Here is the SQLite query to answer to the question: H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Faculty_participates_in (FacID VARCHAR)
Question: How many faculty members participate in an activity?
Here is the SQLite query to answer to the question: How many facul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11447995_2 (bello VARCHAR, ben_tahir VARCHAR)
Question: What is the Bello when Ben-Tahir is 296?
[/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_11447995_2 (bello VARCHAR, ben_tahir VARCHAR)
Question: What is the Bello when Ben-Tahir is 296?
Here is the SQLite query to answer to the question: What is the Be... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, date VARCHAR)
Question: What is the Record with a Date with 29 march 2008?
[/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 (record VARCHAR, date VARCHAR)
Question: What is the Record with a Date with 29 march 2008?
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 table_name_71 (location VARCHAR, host VARCHAR, national_champion VARCHAR)
Question: At what Location did Robert Morris University (Illinois) Host the Lindenwood Nat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (location VARCHAR, host VARCHAR, national_champion VARCHAR)
Question: At what Location did Robert Morris University (Illinois) Host the Lindenwood National ... | bugdaryan/sql-create-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 (LifeExpectancy INTEGER, Continent VARCHAR, GovernmentForm VARCHAR)
Question: What is the average life expectancy in African countries that are republics?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (LifeExpectancy INTEGER, Continent VARCHAR, GovernmentForm VARCHAR)
Question: What is the average life expectancy in African countries that are republics?
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_24989925_2 (week INTEGER)
Question: How many weeks total are there?
[/INST]
Here is the SQLite query to answer to the question: How many weeks total are there... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24989925_2 (week INTEGER)
Question: How many weeks total are there?
Here is the SQLite query to answer to the question: How many weeks total are there?:
```
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_20 (original_air_date INTEGER, series_number VARCHAR)
Question: What was the original air date of series number 10?
[/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_20 (original_air_date INTEGER, series_number VARCHAR)
Question: What was the original air date of series number 10?
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_89 (place VARCHAR, player VARCHAR)
Question: What Place has a Player of seve ballesteros?
[/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_89 (place VARCHAR, player VARCHAR)
Question: What Place has a Player of seve ballesteros?
Here is the SQLite query to answer to the question: What Place has 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_88 (uci_rating INTEGER, team VARCHAR)
Question: What is Relax-Gam's average UCI Rating?
[/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_88 (uci_rating INTEGER, team VARCHAR)
Question: What is Relax-Gam's average UCI Rating?
Here is the SQLite query to answer to the question: What is Relax-Gam'... | bugdaryan/sql-create-context-instruction | |
[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 (hometown VARCHAR, height VARCHAR)
Question: Which Hometown has a Height of 6-10?
[/INST]
Here is the SQLite query to answer to the question: Which Ho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (hometown VARCHAR, height VARCHAR)
Question: Which Hometown has a Height of 6-10?
Here is the SQLite query to answer to the question: Which Hometown has 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_58 (position VARCHAR, years VARCHAR)
Question: What was the position in 1999?
[/INST]
Here is the SQLite query to answer to the question: What was the po... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (position VARCHAR, years VARCHAR)
Question: What was the position in 1999?
Here is the SQLite query to answer to the question: What was the position in 199... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24901152_2 (surface VARCHAR, championship VARCHAR)
Question: When us open (2) is the championship what is the surface?
[/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_24901152_2 (surface VARCHAR, championship VARCHAR)
Question: When us open (2) is the championship what is the surface?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18522916_5 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
Question: Name the manner of departure for date of vacancy 25 august 2008
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18522916_5 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
Question: Name the manner of departure for date of vacancy 25 august 2008
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (frequency INTEGER, callsign VARCHAR, webcast VARCHAR, city_of_license VARCHAR)
Question: Which long range AM station has the lowest frequency and incl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (frequency INTEGER, callsign VARCHAR, webcast VARCHAR, city_of_license VARCHAR)
Question: Which long range AM station has the lowest frequency and includes 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_26368963_1 (under_13 VARCHAR, under_11 VARCHAR)
Question: When the under-11 was Aly Abou El Einen, who was the under-13?
[/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_26368963_1 (under_13 VARCHAR, under_11 VARCHAR)
Question: When the under-11 was Aly Abou El Einen, who was the under-13?
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_47 (agg VARCHAR, team_1 VARCHAR)
Question: For a Team 1 of Al-Merrikh, what was the aggregate?
[/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_47 (agg VARCHAR, team_1 VARCHAR)
Question: For a Team 1 of Al-Merrikh, what was the aggregate?
Here is the SQLite query to answer to the question: For a 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_20036882_2 (country VARCHAR, winning_pilot VARCHAR)
Question: Name the country for hannes arch
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20036882_2 (country VARCHAR, winning_pilot VARCHAR)
Question: Name the country for hannes arch
Here is the SQLite query to answer to the question: Name 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 table_name_87 (to_par VARCHAR, player VARCHAR)
Question: What is the to par of player hunter mahan?
[/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_87 (to_par VARCHAR, player VARCHAR)
Question: What is the to par of player hunter mahan?
Here is the SQLite query to answer to the question: What is the to pa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR)
Question: In which league would you find the player with a comp percentage of 54.0?
[/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_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR)
Question: In which league would you find the player with a comp percentage of 54.0?
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_10160447_1 (points VARCHAR, driver VARCHAR)
Question: what's the points with driver rusty wallace
[/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_10160447_1 (points VARCHAR, driver VARCHAR)
Question: what's the points with driver rusty wallace
Here is the SQLite query to answer to the question: what's the 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_43 (country VARCHAR, player VARCHAR, score VARCHAR)
Question: What is the country sergio garcía, who has a score of 69-70-67=206, is from?
[/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_43 (country VARCHAR, player VARCHAR, score VARCHAR)
Question: What is the country sergio garcía, who has a score of 69-70-67=206, is from?
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_14 (estd INTEGER, college_or_campus_name VARCHAR)
Question: In what year was anna university - panruti campus established?
[/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_14 (estd INTEGER, college_or_campus_name VARCHAR)
Question: In what year was anna university - panruti campus established?
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_60 (grid INTEGER, laps VARCHAR)
Question: What is the grid total for cars that went 17 laps?
[/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_60 (grid INTEGER, laps VARCHAR)
Question: What is the grid total for cars that went 17 laps?
Here is the SQLite query to answer to the question: What is the 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 table_name_40 (notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR)
Question: What are the notes for the Mandarin Chinese program on CTV earlier than 201... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR)
Question: What are the notes for the Mandarin Chinese program on CTV earlier than 2013?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR)
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_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR)
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_2263152_1 (version VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
Question: With the distribution mechanism of Microsoft website and the se... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2263152_1 (version VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
Question: With the distribution mechanism of Microsoft website and the security... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
Question: what is the latest episode in the series that had 16.17 million u.s. viewers?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
Question: what is the latest episode in the series that had 16.17 million u.s. viewers?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (opponents_in_the_final VARCHAR, date VARCHAR)
Question: Who were the opponents of the final on June 23, 2003?
[/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_4 (opponents_in_the_final VARCHAR, date VARCHAR)
Question: Who were the opponents of the final on June 23, 2003?
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_41 (number VARCHAR, males VARCHAR)
Question: Which number has 11 males?
[/INST]
Here is the SQLite query to answer to the question: Which number has 11 m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR)
Question: Which number has 11 males?
Here is the SQLite query to answer to the question: Which number has 11 males?:
```
SE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR)
Question: What is the draw number of the song with a place lower than 6 and more than 38 votes?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR)
Question: What is the draw number of the song with a place lower than 6 and more than 38 votes?
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_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR)
Question: How many fast laps have 0 points in the World Series by Nissan?
[/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_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR)
Question: How many fast laps have 0 points in the World Series by Nissan?
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_82 (championship_game VARCHAR, win__percentage VARCHAR)
Question: If a team had a percentage of games won recorded as .429, what Championship Game was pl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (championship_game VARCHAR, win__percentage VARCHAR)
Question: If a team had a percentage of games won recorded as .429, what Championship Game was played?
... | bugdaryan/sql-create-context-instruction | |
[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_of_the_song VARCHAR, kind_of_the_song VARCHAR, singer VARCHAR)
Question: Which song has a ending theme, and is sung by miriam yeung?
[/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_75 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, singer VARCHAR)
Question: Which song has a ending theme, and is sung by miriam yeung?
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_65 (game VARCHAR, record VARCHAR)
Question: What game has a 6-12-8 record?
[/INST]
Here is the SQLite query to answer to the question: What game has a 6-... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (game VARCHAR, record VARCHAR)
Question: What game has a 6-12-8 record?
Here is the SQLite query to answer to the question: What game has a 6-12-8 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_27882867_4 (location_attendance VARCHAR, score VARCHAR)
Question: Name the location attendance for l 93-105
[/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_27882867_4 (location_attendance VARCHAR, score VARCHAR)
Question: Name the location attendance for l 93-105
Here is the SQLite query to answer to the question: Nam... | bugdaryan/sql-create-context-instruction | |
[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 (isbn_us VARCHAR, title VARCHAR)
Question: What is ISBN US, when Title is "Mission To Venus"?
[/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_55 (isbn_us VARCHAR, title VARCHAR)
Question: What is ISBN US, when Title is "Mission To Venus"?
Here is the SQLite query to answer to the question: What is 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_2668367_13 (result VARCHAR, incumbent VARCHAR)
Question: What was the result in the district represented by Thomas R. Gold?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR)
Question: What was the result in the district represented by Thomas R. Gold?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
Question: What is the home team score with Away team Richmond?
[/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_20 (home_team VARCHAR, away_team VARCHAR)
Question: What is the home team score with Away team Richmond?
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_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR)
Question: What TV channel had a license from Boston?
[/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_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR)
Question: What TV channel had a license from Boston?
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_83 (position VARCHAR, name VARCHAR)
Question: What's Francis Harris' position?
[/INST]
Here is the SQLite query to answer to the question: What's Francis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (position VARCHAR, name VARCHAR)
Question: What's Francis Harris' position?
Here is the SQLite query to answer to the question: What's Francis Harris' posi... | bugdaryan/sql-create-context-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_22 (first_elected INTEGER, district VARCHAR)
Question: When did the elections take place in district Maryland 2?
[/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_1341453_22 (first_elected INTEGER, district VARCHAR)
Question: When did the elections take place in district Maryland 2?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (Id VARCHAR)
Question: What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R?
[/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_18 (Id VARCHAR)
Question: What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R?
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_57 (qual INTEGER, grid VARCHAR)
Question: What is the total qual where the grid number is 24?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (qual INTEGER, grid VARCHAR)
Question: What is the total qual where the grid number is 24?
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 table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR)
Question: What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?
[/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_78 (date VARCHAR, venue VARCHAR, name VARCHAR)
Question: What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?
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_81 (position VARCHAR, round VARCHAR, overall VARCHAR)
Question: What is the position of the player with a round less than 8 and an overall of 48?
[/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 (position VARCHAR, round VARCHAR, overall VARCHAR)
Question: What is the position of the player with a round less than 8 and an overall of 48?
Here is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (season VARCHAR, round VARCHAR, club VARCHAR)
Question: In what season did the Sporting CP Club have a 1. round?
[/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_78 (season VARCHAR, round VARCHAR, club VARCHAR)
Question: In what season did the Sporting CP Club have a 1. round?
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_20 (label VARCHAR, format VARCHAR)
Question: What label has cd single as the format?
[/INST]
Here is the SQLite query to answer to the question: What lab... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (label VARCHAR, format VARCHAR)
Question: What label has cd single as the format?
Here is the SQLite query to answer to the question: What label has cd sin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
Question: Is prothrombin time long when thromboplastin is pro... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
Question: Is prothrombin time long when thromboplastin is prolonged... | bugdaryan/sql-create-context-instruction | |
[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 (vietnamese VARCHAR, chinese VARCHAR)
Question: Which VIETNAMESE has a CHINESE of 婆須密 / póxūmì?
[/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_35 (vietnamese VARCHAR, chinese VARCHAR)
Question: Which VIETNAMESE has a CHINESE of 婆須密 / póxūmì?
Here is the SQLite query to answer to the question: Which V... | bugdaryan/sql-create-context-instruction | |
[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 (city VARCHAR, track VARCHAR)
Question: What is the city the track of manzanita speedway is in?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR)
Question: What is the city the track of manzanita speedway is in?
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_2226817_2 (written_by VARCHAR, original_air_date VARCHAR)
Question: Who wrote when the original airdate is April 5, 1987?
[/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_2226817_2 (written_by VARCHAR, original_air_date VARCHAR)
Question: Who wrote when the original airdate is April 5, 1987?
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_37 (total INTEGER, rank VARCHAR, silver VARCHAR)
Question: Which Total has a Rank of 9, and a Silver smaller than 2?
[/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_37 (total INTEGER, rank VARCHAR, silver VARCHAR)
Question: Which Total has a Rank of 9, and a Silver smaller than 2?
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_262527_1 (institution VARCHAR, location VARCHAR)
Question: what is the institution located in north newton, kansas?
[/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_262527_1 (institution VARCHAR, location VARCHAR)
Question: what is the institution located in north newton, kansas?
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 weekly_weather (low_temperature INTEGER, precipitation INTEGER, station_id VARCHAR); CREATE TABLE station (id VARCHAR, network_name VARCHAR)
Question: Give me the m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE weekly_weather (low_temperature INTEGER, precipitation INTEGER, station_id VARCHAR); CREATE TABLE station (id VARCHAR, network_name VARCHAR)
Question: Give me the maximum... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR, customer_address VARCHAR, payment_method_code VARCHAR)
Question: Find the id and name of customers whose addr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR, customer_address VARCHAR, payment_method_code VARCHAR)
Question: Find the id and name of customers whose address co... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR)
Question: Who had high assists in the game played at Oklahoma city arena 17,509?
[/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_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR)
Question: Who had high assists in the game played at Oklahoma city arena 17,509?
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 problem_log (problem_log_id VARCHAR, problem_id VARCHAR, log_entry_date VARCHAR)
Question: What is the oldest log id and its corresponding problem id?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE problem_log (problem_log_id VARCHAR, problem_id VARCHAR, log_entry_date VARCHAR)
Question: What is the oldest log id and its corresponding problem id?
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_27 (sort_restore VARCHAR, births VARCHAR)
Question: What is the number of sort values associated with 389 births?
[/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_27 (sort_restore VARCHAR, births VARCHAR)
Question: What is the number of sort values associated with 389 births?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR)
Question: For opponent is sandra kristjánsdóttir, outcome is winner and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR)
Question: For opponent is sandra kristjánsdóttir, outcome is winner and editi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28194879_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode whose production code is pabf05?
[/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_28194879_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode whose production code is pabf05?
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_21 (against VARCHAR, drawn VARCHAR)
Question: What is the Against when the drawn is 5?
[/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_21 (against VARCHAR, drawn VARCHAR)
Question: What is the Against when the drawn is 5?
Here is the SQLite query to answer to the question: What is the Against... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, method VARCHAR, opponent VARCHAR)
Question: What is the location of the match where the method was submission (armbar) and Mayra Co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR)
Question: What is the location of the match where the method was submission (armbar) and Mayra Conde wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_255205_1 (joined VARCHAR, institution VARCHAR)
Question: How many joined Manchester University?
[/INST]
Here is the SQLite query to answer to the question: Ho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_255205_1 (joined VARCHAR, institution VARCHAR)
Question: How many joined Manchester University?
Here is the SQLite query to answer to the question: How many joined... | bugdaryan/sql-create-context-instruction | |
[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 (internet_explorer VARCHAR, chrome VARCHAR)
Question: What internet explorer has 29.07% for the chrome?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (internet_explorer VARCHAR, chrome VARCHAR)
Question: What internet explorer has 29.07% for the chrome?
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_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER)
Question: What is the highest CPC blend Kazakhstan number when Barrow Island Australia... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER)
Question: What is the highest CPC blend Kazakhstan number when Barrow Island Australia is sm... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
Question: How many subsidiaries of Postermobile Limited?
[/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_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
Question: How many subsidiaries of Postermobile Limited?
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_12828723_3 (won VARCHAR, points_for VARCHAR)
Question: what's the win with points for being 376
[/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_12828723_3 (won VARCHAR, points_for VARCHAR)
Question: what's the win with points for being 376
Here is the SQLite query to answer to the question: what's the win ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (game INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (game INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28132970_5 (max_speed VARCHAR, vessel VARCHAR)
Question: What is the max speed when the vessel is gallion?
[/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_28132970_5 (max_speed VARCHAR, vessel VARCHAR)
Question: What is the max speed when the vessel is gallion?
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_99 (position VARCHAR, player VARCHAR)
Question: What position is todd hammel?
[/INST]
Here is the SQLite query to answer to the question: What position i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (position VARCHAR, player VARCHAR)
Question: What position is todd hammel?
Here is the SQLite query to answer to the question: What position is todd hammel... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, tournament VARCHAR)
Question: Where was the Singapore Charity Shield tournament played?
[/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_8 (location VARCHAR, tournament VARCHAR)
Question: Where was the Singapore Charity Shield tournament played?
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_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR)
Question: how many primary payload(s) with shuttle being columbia and duration bei... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR)
Question: how many primary payload(s) with shuttle being columbia and duration being 13 ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (sets_lost INTEGER, loss VARCHAR, rank VARCHAR)
Question: How many sets lost have a loss smaller than 3 and a rank larger than 1?
[/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_26 (sets_lost INTEGER, loss VARCHAR, rank VARCHAR)
Question: How many sets lost have a loss smaller than 3 and a rank larger than 1?
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_48 (championships INTEGER, league VARCHAR)
Question: How many championships does Evergreen Premier League have?
[/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_48 (championships INTEGER, league VARCHAR)
Question: How many championships does Evergreen Premier League have?
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_73 (score VARCHAR, record VARCHAR)
Question: What was the score of the game when the record was 50-85?
[/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_73 (score VARCHAR, record VARCHAR)
Question: What was the score of the game when the record was 50-85?
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_92 (nationality VARCHAR, result VARCHAR)
Question: What was the nationality of the athlete with a final result of 4.50?
[/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_92 (nationality VARCHAR, result VARCHAR)
Question: What was the nationality of the athlete with a final result of 4.50?
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_98 (laps VARCHAR, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: How many laps did Emerson Fittipaldi do on a grid larger than 14, and whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: How many laps did Emerson Fittipaldi do on a grid larger than 14, and when 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_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)
Question: What is Player, when Total is greater than 148, and when To Par is "12"?
[/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 (player VARCHAR, total VARCHAR, to_par VARCHAR)
Question: What is Player, when Total is greater than 148, and when To Par is "12"?
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 STUDENT (Fname VARCHAR)
Question: Find the first names of students whose first names contain letter "a".
[/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 STUDENT (Fname VARCHAR)
Question: Find the first names of students whose first names contain letter "a".
Here is the SQLite query to answer to the question: Find the fir... | bugdaryan/sql-create-context-instruction | |
[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 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR)
Question: What competition had a final round in the finals and the final position w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR)
Question: What competition had a final round in the finals and the final position winners... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: Which tournament in 2012 had a 2007 and 2011 finishes of "A"?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (Id VARCHAR)
Question: Which tournament in 2012 had a 2007 and 2011 finishes of "A"?
Here is the SQLite query to answer to the question: Which tournament 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_50 (name VARCHAR, height VARCHAR, block VARCHAR, weight VARCHAR)
Question: What is the Name of the player with less than 342 Block, less than 87 Weight a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (name VARCHAR, height VARCHAR, block VARCHAR, weight VARCHAR)
Question: What is the Name of the player with less than 342 Block, less than 87 Weight and Hei... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11236195_2 (losingteam VARCHAR, season VARCHAR)
Question: What was the losing team in the 1993 season?
[/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_11236195_2 (losingteam VARCHAR, season VARCHAR)
Question: What was the losing team in the 1993 season?
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_78 (player VARCHAR, to_par VARCHAR)
Question: Which player had a To par of 13?
[/INST]
Here is the SQLite query to answer to the question: Which player h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (player VARCHAR, to_par VARCHAR)
Question: Which player had a To par of 13?
Here is the SQLite query to answer to the question: Which player had a To par 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_2409041_3 (written_by VARCHAR, no_in_season VARCHAR)
Question: Who wrote season 23?
[/INST]
Here is the SQLite query to answer to the question: Who wrote seas... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2409041_3 (written_by VARCHAR, no_in_season VARCHAR)
Question: Who wrote season 23?
Here is the SQLite query to answer to the question: Who wrote season 23?:
```
S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (length_feet VARCHAR, name VARCHAR, mi_from_kingston VARCHAR, length_meters VARCHAR)
Question: What is Lenth Feet, when Mi From Kingston is greater th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (length_feet VARCHAR, name VARCHAR, mi_from_kingston VARCHAR, length_meters VARCHAR)
Question: What is Lenth Feet, when Mi From Kingston is greater than 84.... | bugdaryan/sql-create-context-instruction | |
[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 (opponents_in_the_final VARCHAR, score VARCHAR)
Question: Tell me the opponents for score of 6-1 2-6 7-10
[/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_90 (opponents_in_the_final VARCHAR, score VARCHAR)
Question: Tell me the opponents for score of 6-1 2-6 7-10
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.