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_23 (date VARCHAR, set_1 VARCHAR)
Question: What day was there a set 1 of 25-18?
[/INST]
Here is the SQLite query to answer to the question: What day was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (date VARCHAR, set_1 VARCHAR)
Question: What day was there a set 1 of 25-18?
Here is the SQLite query to answer to the question: What day was there a set 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (nickname VARCHAR, colors VARCHAR)
Question: What is the nickname of the team that has the colors black and gold?
[/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_27 (nickname VARCHAR, colors VARCHAR)
Question: What is the nickname of the team that has the colors black and gold?
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_56 (publisher VARCHAR, release_title VARCHAR)
Question: Who was the publisher of Martial Law: Dead Ringers?
[/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_56 (publisher VARCHAR, release_title VARCHAR)
Question: Who was the publisher of Martial Law: Dead Ringers?
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_2866503_1 (us_air_date VARCHAR, us_viewers__million_ VARCHAR)
Question: What is the U.S. air date when the U.S. viewers are 7.5 million?
[/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_2866503_1 (us_air_date VARCHAR, us_viewers__million_ VARCHAR)
Question: What is the U.S. air date when the U.S. viewers are 7.5 million?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, premiere_date VARCHAR)
Question: What is the highest Cycle, when the Number of Constestants is 11, and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, premiere_date VARCHAR)
Question: What is the highest Cycle, when the Number of Constestants is 11, and when 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_52 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR)
Question: Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்?
[/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_52 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR)
Question: Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்?
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_25 (loss VARCHAR, record VARCHAR)
Question: What loss has 16-6 as the record?
[/INST]
Here is the SQLite query to answer to the question: What loss has 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR)
Question: What loss has 16-6 as the record?
Here is the SQLite query to answer to the question: What loss has 16-6 as the re... | bugdaryan/sql-create-context-instruction | |
[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 (overall_place VARCHAR, yacht_name VARCHAR)
Question: Which Overall place has a Yacht name of lg flatron?
[/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_57 (overall_place VARCHAR, yacht_name VARCHAR)
Question: Which Overall place has a Yacht name of lg flatron?
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_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What was the title when 1.121 million US people watched it?
[/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_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What was the title when 1.121 million US people watched it?
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_21991074_1 (pts_agst VARCHAR, points VARCHAR)
Question: For the team with 7 points, how many points were scored against this season?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21991074_1 (pts_agst VARCHAR, points VARCHAR)
Question: For the team with 7 points, how many points were scored against this season?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (pos INTEGER, driver VARCHAR)
Question: Which Pos has a Driver of brian scott (r)?
[/INST]
Here is the SQLite query to answer to the question: Which P... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (pos INTEGER, driver VARCHAR)
Question: Which Pos has a Driver of brian scott (r)?
Here is the SQLite query to answer to the question: Which Pos has a Driv... | bugdaryan/sql-create-context-instruction | |
[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 (county VARCHAR, mascot VARCHAR)
Question: Which county has the mascot of Bruins?
[/INST]
Here is the SQLite query to answer to the question: Which co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (county VARCHAR, mascot VARCHAR)
Question: Which county has the mascot of Bruins?
Here is the SQLite query to answer to the question: Which county has 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_91 (year INTEGER, chassis VARCHAR)
Question: What is the average year for a merzario a2 chassis?
[/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_91 (year INTEGER, chassis VARCHAR)
Question: What is the average year for a merzario a2 chassis?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (date VARCHAR, year VARCHAR)
Question: What was the date of the Cross Code debut that had an Int'l Debut in the year 2008?
[/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_20 (date VARCHAR, year VARCHAR)
Question: What was the date of the Cross Code debut that had an Int'l Debut in the year 2008?
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_83 (date VARCHAR, tournament VARCHAR)
Question: What is Date, when Tournament, is Greenbrier Classic?
[/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_83 (date VARCHAR, tournament VARCHAR)
Question: What is Date, when Tournament, is Greenbrier Classic?
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 (player VARCHAR, score VARCHAR)
Question: Which player has a score of 71-69-71-67=278?
[/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_81 (player VARCHAR, score VARCHAR)
Question: Which player has a score of 71-69-71-67=278?
Here is the SQLite query to answer to the question: Which player has... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (type VARCHAR, category VARCHAR, attribute VARCHAR)
Question: Tell me the type for category of mouse and attribute of ondblclick
[/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_49 (type VARCHAR, category VARCHAR, attribute VARCHAR)
Question: Tell me the type for category of mouse and attribute of ondblclick
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (prime_mover VARCHAR, build_date VARCHAR)
Question: What is the prime mover for a build date in 1975?
[/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_87 (prime_mover VARCHAR, build_date VARCHAR)
Question: What is the prime mover for a build date in 1975?
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_87 (elected INTEGER, district VARCHAR)
Question: What was the year elected in District 17?
[/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_87 (elected INTEGER, district VARCHAR)
Question: What was the year elected in District 17?
Here is the SQLite query to answer to the question: What was the ye... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR)
Question: What is the partial thromboplastin time when the condition factor x deficiency as... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR)
Question: What is the partial thromboplastin time when the condition factor x deficiency as seen ... | bugdaryan/sql-create-context-instruction | |
[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 (entrant VARCHAR, engine VARCHAR, points VARCHAR)
Question: Which Entrant has an Engine of climax straight-4, and Points larger than 0?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (entrant VARCHAR, engine VARCHAR, points VARCHAR)
Question: Which Entrant has an Engine of climax straight-4, and Points larger than 0?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (wins VARCHAR, second VARCHAR, races VARCHAR)
Question: How many wins did the driver with 1 second and more than 12 races have?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (wins VARCHAR, second VARCHAR, races VARCHAR)
Question: How many wins did the driver with 1 second and more than 12 races have?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_c VARCHAR)
Question: Name the segment d for chicken
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_c VARCHAR)
Question: Name the segment d for chicken
Here is the SQLite query to answer to the question: Name the segment d f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24399615_5 (airdate VARCHAR, episode_no VARCHAR)
Question: When did episode number 6 air?
[/INST]
Here is the SQLite query to answer to the question: When did... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24399615_5 (airdate VARCHAR, episode_no VARCHAR)
Question: When did episode number 6 air?
Here is the SQLite query to answer to the question: When did episode numb... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, place VARCHAR)
Question: What is the Player in T5 Place?
[/INST]
Here is the SQLite query to answer to the question: What is the Play... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (player VARCHAR, place VARCHAR)
Question: What is the Player in T5 Place?
Here is the SQLite query to answer to the question: What is the Player in T5 Plac... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_37 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
Question: Name the dominant religion of srpska crnja
[/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_2562572_37 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
Question: Name the dominant religion of srpska crnja
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 countrylanguage (CountryCode VARCHAR, LANGUAGE VARCHAR)
Question: What are the country codes for countries that do not speak English?
[/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 countrylanguage (CountryCode VARCHAR, LANGUAGE VARCHAR)
Question: What are the country codes for countries that do not speak English?
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_35 (date VARCHAR, fastest_lap VARCHAR)
Question: What day did Patrick Tambay have the fastest lap?
[/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 (date VARCHAR, fastest_lap VARCHAR)
Question: What day did Patrick Tambay have the fastest lap?
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_23 (pick VARCHAR, position VARCHAR, round VARCHAR)
Question: How many picks are there for defensive back for rounds larger than 11?
[/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_23 (pick VARCHAR, position VARCHAR, round VARCHAR)
Question: How many picks are there for defensive back for rounds larger than 11?
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_12142298_2 (rightfielder VARCHAR, starting_pitcher VARCHAR)
Question: Who was the RF when the SP was vicente padilla?
[/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_12142298_2 (rightfielder VARCHAR, starting_pitcher VARCHAR)
Question: Who was the RF when the SP was vicente padilla?
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_77 (games_played VARCHAR, trophy VARCHAR)
Question: Who many games were played for the series with the Sawhorse Dollar trophy?
[/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_77 (games_played VARCHAR, trophy VARCHAR)
Question: Who many games were played for the series with the Sawhorse Dollar trophy?
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_20205538_4 (episode__number VARCHAR, series__number VARCHAR)
Question: What is the episode number for series 17?
[/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_20205538_4 (episode__number VARCHAR, series__number VARCHAR)
Question: What is the episode number for series 17?
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_28 (points INTEGER, poles INTEGER)
Question: What is the points sum of the series with less than 0 poles?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (points INTEGER, poles INTEGER)
Question: What is the points sum of the series with less than 0 poles?
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_15463188_16 (school_club_team VARCHAR, number VARCHAR)
Question: Name the school/club team for 9
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15463188_16 (school_club_team VARCHAR, number VARCHAR)
Question: Name the school/club team for 9
Here is the SQLite query to answer to the question: Name the schoo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_103084_4 (year VARCHAR, bbc_one_rank VARCHAR)
Question: How many years did BBC One rank 20th?
[/INST]
Here is the SQLite query to answer to the question: How ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_103084_4 (year VARCHAR, bbc_one_rank VARCHAR)
Question: How many years did BBC One rank 20th?
Here is the SQLite query to answer to the question: How many years di... | bugdaryan/sql-create-context-instruction | |
[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 (wickets INTEGER, runs VARCHAR, matches VARCHAR)
Question: What is the total number of wickets that have runs under 4600 and matches under 44?
[/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 (wickets INTEGER, runs VARCHAR, matches VARCHAR)
Question: What is the total number of wickets that have runs under 4600 and matches under 44?
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_74 (draws INTEGER, losses VARCHAR, against VARCHAR, wins VARCHAR)
Question: Which Draws has an Against larger than 1158, and a Wins of 9, and a Losses sm... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (draws INTEGER, losses VARCHAR, against VARCHAR, wins VARCHAR)
Question: Which Draws has an Against larger than 1158, and a Wins of 9, and a Losses smaller ... | bugdaryan/sql-create-context-instruction | |
[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 (icao VARCHAR, fleet_size VARCHAR)
Question: Which ICAO has a Fleet size of 2?
[/INST]
Here is the SQLite query to answer to the question: Which ICAO ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (icao VARCHAR, fleet_size VARCHAR)
Question: Which ICAO has a Fleet size of 2?
Here is the SQLite query to answer to the question: Which ICAO has a Fleet 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_78 (conf VARCHAR, head_coach VARCHAR)
Question: What is the name of the conference that K. C. Jones was a head coach in?
[/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_78 (conf VARCHAR, head_coach VARCHAR)
Question: What is the name of the conference that K. C. Jones was a head coach in?
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_97 (part_3 VARCHAR, class VARCHAR)
Question: Which part 3 has class 7b?
[/INST]
Here is the SQLite query to answer to the question: Which part 3 has clas... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (part_3 VARCHAR, class VARCHAR)
Question: Which part 3 has class 7b?
Here is the SQLite query to answer to the question: Which part 3 has class 7b?:
```
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_61 (appointed_by VARCHAR, date_appointed VARCHAR, party VARCHAR, province__division_ VARCHAR)
Question: Who appointed the conservative from Ontario on Ju... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (appointed_by VARCHAR, date_appointed VARCHAR, party VARCHAR, province__division_ VARCHAR)
Question: Who appointed the conservative from Ontario on June 18,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR)
Question: Find the name of persons who are friends with Bob.
[/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 PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR)
Question: Find the name of persons who are friends with Bob.
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29087004_3 (written_by VARCHAR, directed_by VARCHAR, united_states_original_airdate VARCHAR)
Question: Who were the writers of the episodes directed by Greg S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29087004_3 (written_by VARCHAR, directed_by VARCHAR, united_states_original_airdate VARCHAR)
Question: Who were the writers of the episodes directed by Greg Sulliva... | bugdaryan/sql-create-context-instruction | |
[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 (active_pixels VARCHAR, model VARCHAR)
Question: What are the active pixels of the c-most model camera?
[/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_96 (active_pixels VARCHAR, model VARCHAR)
Question: What are the active pixels of the c-most model camera?
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 member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE round (Member_ID VARCHAR)
Question: Show the names of members in ascending order of their rank in rounds.
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE round (Member_ID VARCHAR)
Question: Show the names of members in ascending order of their rank in rounds.
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_7 (opposing_team VARCHAR, against VARCHAR)
Question: What opposing team has 20 against?
[/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_7 (opposing_team VARCHAR, against VARCHAR)
Question: What opposing team has 20 against?
Here is the SQLite query to answer to the question: What opposing 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_name_56 (method VARCHAR, event VARCHAR)
Question: Which method did pride bushido 10 have ?
[/INST]
Here is the SQLite query to answer to the question: Which m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (method VARCHAR, event VARCHAR)
Question: Which method did pride bushido 10 have ?
Here is the SQLite query to answer to the question: Which method did pri... | bugdaryan/sql-create-context-instruction | |
[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 (father VARCHAR, birth VARCHAR)
Question: Who was the father of the person born in 1363?
[/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_97 (father VARCHAR, birth VARCHAR)
Question: Who was the father of the person born in 1363?
Here is the SQLite query to answer to the question: Who was the fa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17941111_2 (s VARCHAR, name VARCHAR)
Question: Name the 0-100 km/hs for name of 2.0 8v
[/INST]
Here is the SQLite query to answer to the question: Name the 0-... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17941111_2 (s VARCHAR, name VARCHAR)
Question: Name the 0-100 km/hs for name of 2.0 8v
Here is the SQLite query to answer to the question: Name the 0-100 km/hs for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (finish INTEGER, year VARCHAR, manufacturer VARCHAR)
Question: What is the smallest finish time for a race after 1972 with a car manufactured by ponti... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (finish INTEGER, year VARCHAR, manufacturer VARCHAR)
Question: What is the smallest finish time for a race after 1972 with a car manufactured by pontiac?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2062148_4 (weight__kg_ INTEGER)
Question: Name the most weight
[/INST]
Here is the SQLite query to answer to the question: Name the most weight:
```
SELECT MA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2062148_4 (weight__kg_ INTEGER)
Question: Name the most weight
Here is the SQLite query to answer to the question: Name the most weight:
```
SELECT MAX(weight__kg_... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10577579_3 (current_conference VARCHAR, location VARCHAR)
Question: Which conference is in Jackson, Mississippi?
[/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_10577579_3 (current_conference VARCHAR, location VARCHAR)
Question: Which conference is in Jackson, Mississippi?
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_11677691_5 (player VARCHAR, college VARCHAR)
Question: Which players attend Stanford college?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677691_5 (player VARCHAR, college VARCHAR)
Question: Which players attend Stanford college?
Here is the SQLite query to answer to the question: Which players att... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2156758_4 (title VARCHAR, written_by VARCHAR)
Question: How many titles were written by Don Shank and Genndy Tartakovsky?
[/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_2156758_4 (title VARCHAR, written_by VARCHAR)
Question: How many titles were written by Don Shank and Genndy Tartakovsky?
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_27547668_3 (viewers VARCHAR, _number VARCHAR)
Question: How many people watched episode number 13?
[/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_27547668_3 (viewers VARCHAR, _number VARCHAR)
Question: How many people watched episode number 13?
Here is the SQLite query to answer to the question: How many peo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13710464_1 (location VARCHAR, date VARCHAR)
Question: Where was the game played on may 20?
[/INST]
Here is the SQLite query to answer to the question: Where w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13710464_1 (location VARCHAR, date VARCHAR)
Question: Where was the game played on may 20?
Here is the SQLite query to answer to the question: Where was the game 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_63 (date VARCHAR, venue VARCHAR)
Question: On what date did the match at Lake Oval take place?
[/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_63 (date VARCHAR, venue VARCHAR)
Question: On what date did the match at Lake Oval take place?
Here is the SQLite query to answer to the question: On what dat... | bugdaryan/sql-create-context-instruction | |
[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 (against INTEGER, played INTEGER)
Question: How many games were played against when the team played more than 22 total?
[/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_97 (against INTEGER, played INTEGER)
Question: How many games were played against when the team played more than 22 total?
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_26 (result VARCHAR, venue VARCHAR)
Question: What is the result of the game played at Jinan?
[/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_26 (result VARCHAR, venue VARCHAR)
Question: What is the result of the game played at Jinan?
Here is the SQLite query to answer to the question: What is the r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (result VARCHAR, award VARCHAR, organization VARCHAR)
Question: What was the Best Feature Film at the Macabro Film Festival?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (result VARCHAR, award VARCHAR, organization VARCHAR)
Question: What was the Best Feature Film at the Macabro Film Festival?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (ansi_code INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR, township VARCHAR)
Question: Van Meter has a water(sqmi) of 0 and a longitude larger than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (ansi_code INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR, township VARCHAR)
Question: Van Meter has a water(sqmi) of 0 and a longitude larger than -98.44... | bugdaryan/sql-create-context-instruction | |
[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, player VARCHAR, squad_no VARCHAR, points VARCHAR, tries VARCHAR)
Question: Which position has more than 4 points, less than 12 trie... | 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, player VARCHAR, squad_no VARCHAR, points VARCHAR, tries VARCHAR)
Question: Which position has more than 4 points, less than 12 tries, a 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_90 (champion VARCHAR, runner_up VARCHAR, year VARCHAR)
Question: Who was the champion earlier than 1978 when the runner-up was Jimmy Connors?
[/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_90 (champion VARCHAR, runner_up VARCHAR, year VARCHAR)
Question: Who was the champion earlier than 1978 when the runner-up was Jimmy Connors?
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_18600760_10 (geo_id INTEGER, township VARCHAR)
Question: What is the geo id for Joliette?
[/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_18600760_10 (geo_id INTEGER, township VARCHAR)
Question: What is the geo id for Joliette?
Here is the SQLite query to answer to the question: What is the geo id 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 people (Height VARCHAR, People_ID VARCHAR); CREATE TABLE body_builder (People_ID VARCHAR, Total INTEGER)
Question: What are the heights of body builders with total ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (Height VARCHAR, People_ID VARCHAR); CREATE TABLE body_builder (People_ID VARCHAR, Total INTEGER)
Question: What are the heights of body builders with total score ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15013825_8 (recopa_sudamericana_1992 VARCHAR, team VARCHAR, copa_libertadores_1992 VARCHAR, copa_conmebol_1992 VARCHAR)
Question: Name the recopa sudamericana... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15013825_8 (recopa_sudamericana_1992 VARCHAR, team VARCHAR, copa_libertadores_1992 VARCHAR, copa_conmebol_1992 VARCHAR)
Question: Name the recopa sudamericana 1992 ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_15 (current_club VARCHAR, year_born VARCHAR)
Question: Which club had a player born in 1983?
[/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_12962773_15 (current_club VARCHAR, year_born VARCHAR)
Question: Which club had a player born in 1983?
Here is the SQLite query to answer to the question: Which clu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (date VARCHAR, tie_no VARCHAR)
Question: What date has 1 as the tie no.?
[/INST]
Here is the SQLite query to answer to the question: What date has 1 a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (date VARCHAR, tie_no VARCHAR)
Question: What date has 1 as the tie no.?
Here is the SQLite query to answer to the question: What date has 1 as the tie no.... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
Question: What is the date of the performance by Jatin Shah a... | 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_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
Question: What is the date of the performance by Jatin Shah and co-... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (year INTEGER, location VARCHAR, result VARCHAR)
Question: what is the year when the location is yankee stadium and the result is 23-23
[/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_74 (year INTEGER, location VARCHAR, result VARCHAR)
Question: what is the year when the location is yankee stadium and the result is 23-23
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_8 (class VARCHAR, frequency VARCHAR)
Question: What Class has a Frequency of 90.1 FM?
[/INST]
Here is the SQLite query to answer to the question: What Cl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (class VARCHAR, frequency VARCHAR)
Question: What Class has a Frequency of 90.1 FM?
Here is the SQLite query to answer to the question: What Class has a Fre... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, opponent VARCHAR, result VARCHAR)
Question: What is the Date with an Opponent with wimbledon, and a Result of drew 0-0?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, result VARCHAR)
Question: What is the Date with an Opponent with wimbledon, and a Result of drew 0-0?
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 storm (name VARCHAR, damage_millions_USD VARCHAR, max_speed VARCHAR)
Question: List name and damage for all storms in a descending order of max speed.
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE storm (name VARCHAR, damage_millions_USD VARCHAR, max_speed VARCHAR)
Question: List name and damage for all storms in a descending order of max speed.
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_33 (final_score VARCHAR, date VARCHAR)
Question: What was the final score of the game on November 17?
[/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_33 (final_score VARCHAR, date VARCHAR)
Question: What was the final score of the game on November 17?
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_63 (winner VARCHAR, route VARCHAR)
Question: Who was the winner of the mechelen > mechelen route?
[/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_63 (winner VARCHAR, route VARCHAR)
Question: Who was the winner of the mechelen > mechelen route?
Here is the SQLite query to answer to the question: Who was ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (high_points VARCHAR, date VARCHAR)
Question: Can you tell me the High points that has the Date of january 31?
[/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_32 (high_points VARCHAR, date VARCHAR)
Question: Can you tell me the High points that has the Date of january 31?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (result VARCHAR, week VARCHAR, attendance VARCHAR)
Question: What was the result of the game before week 3 with an attendance of 53,658?
[/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_32 (result VARCHAR, week VARCHAR, attendance VARCHAR)
Question: What was the result of the game before week 3 with an attendance of 53,658?
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_24 (name VARCHAR, best VARCHAR)
Question: Who had a best time of 1:00.870?
[/INST]
Here is the SQLite query to answer to the question: Who had a best tim... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (name VARCHAR, best VARCHAR)
Question: Who had a best time of 1:00.870?
Here is the SQLite query to answer to the question: Who had a best time of 1:00.870... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19215259_1 (frequency VARCHAR, branding VARCHAR)
Question: What is the frequency of 101.5 News FM?
[/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_19215259_1 (frequency VARCHAR, branding VARCHAR)
Question: What is the frequency of 101.5 News FM?
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_29 (type VARCHAR, locomotive_number VARCHAR)
Question: What type is locomotive CTN 1364?
[/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_29 (type VARCHAR, locomotive_number VARCHAR)
Question: What type is locomotive CTN 1364?
Here is the SQLite query to answer to the question: What type is loco... | bugdaryan/sql-create-context-instruction | |
[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 (up_for_reelection INTEGER, took_office VARCHAR, position VARCHAR)
Question: What is the earliest year a Chairman who took office after 2011 is up for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (up_for_reelection INTEGER, took_office VARCHAR, position VARCHAR)
Question: What is the earliest year a Chairman who took office after 2011 is up for reele... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR, date VARCHAR)
Question: Which tournament was held on July 13, 2008?
[/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_20 (tournament VARCHAR, date VARCHAR)
Question: Which tournament was held on July 13, 2008?
Here is the SQLite query to answer to the question: Which tourname... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19897896_7 (season VARCHAR, position VARCHAR)
Question: in which season the position was center
[/INST]
Here is the SQLite query to answer to the question: in... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19897896_7 (season VARCHAR, position VARCHAR)
Question: in which season the position was center
Here is the SQLite query to answer to the question: in which season... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, rank INTEGER)
Question: What is the highest number of silvers for ranks over 7?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (silver INTEGER, rank INTEGER)
Question: What is the highest number of silvers for ranks over 7?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR)
Question: When was commercial operation where construction started June 10, 1971?
[/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_27 (commercial_operation VARCHAR, construction_start VARCHAR)
Question: When was commercial operation where construction started June 10, 1971?
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_52 (country VARCHAR, publication VARCHAR, year VARCHAR, rank VARCHAR)
Question: What country did Day & Age rank number 1 in Q prior to 2011?
[/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_52 (country VARCHAR, publication VARCHAR, year VARCHAR, rank VARCHAR)
Question: What country did Day & Age rank number 1 in Q prior to 2011?
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_52 (total VARCHAR, gold VARCHAR, silver VARCHAR)
Question: What is the total number of medals when the gold is more than 2 and silver more than 2?
[/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 (total VARCHAR, gold VARCHAR, silver VARCHAR)
Question: What is the total number of medals when the gold is more than 2 and silver more than 2?
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 student (name VARCHAR, id VARCHAR); CREATE TABLE advisor (s_id VARCHAR)
Question: Find the name of the students who have more than one advisor?
[/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 student (name VARCHAR, id VARCHAR); CREATE TABLE advisor (s_id VARCHAR)
Question: Find the name of the students who have more than one advisor?
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_34 (date VARCHAR, loss VARCHAR)
Question: What was the date of the game with a loss of White (4-5)?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (date VARCHAR, loss VARCHAR)
Question: What was the date of the game with a loss of White (4-5)?
Here is the SQLite query to answer to the question: What 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_1342198_18 (candidates VARCHAR, district VARCHAR)
Question: who is the candidate where district is louisiana 3?
[/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_1342198_18 (candidates VARCHAR, district VARCHAR)
Question: who is the candidate where district is louisiana 3?
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_63 (laps VARCHAR, driver VARCHAR)
Question: What are the total number of laps for Tom Bridger?
[/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_63 (laps VARCHAR, driver VARCHAR)
Question: What are the total number of laps for Tom Bridger?
Here is the SQLite query to answer to the question: What are 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_18 (gold VARCHAR, year VARCHAR)
Question: Who won the gold in 1958?
[/INST]
Here is the SQLite query to answer to the question: Who won the gold in 1958?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (gold VARCHAR, year VARCHAR)
Question: Who won the gold in 1958?
Here is the SQLite query to answer to the question: Who won the gold in 1958?:
```
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_71 (school VARCHAR, round VARCHAR, player VARCHAR)
Question: Which school has more than 3 rounds with jason odom?
[/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_71 (school VARCHAR, round VARCHAR, player VARCHAR)
Question: Which school has more than 3 rounds with jason odom?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (player VARCHAR, pick VARCHAR, round VARCHAR)
Question: Who was picked before 149 in round 9?
[/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 (player VARCHAR, pick VARCHAR, round VARCHAR)
Question: Who was picked before 149 in round 9?
Here is the SQLite query to answer to the question: Who was 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_90 (position VARCHAR, league_from VARCHAR, team_from VARCHAR)
Question: Which Position has a League from of western hockey league, and a Team from of eve... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (position VARCHAR, league_from VARCHAR, team_from VARCHAR)
Question: Which Position has a League from of western hockey league, and a Team from of everett 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_14 (time VARCHAR, year VARCHAR)
Question: What was the time for 2009?
[/INST]
Here is the SQLite query to answer to the question: What was the time for 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (time VARCHAR, year VARCHAR)
Question: What was the time for 2009?
Here is the SQLite query to answer to the question: What was the time for 2009?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE program (name VARCHAR, origin VARCHAR)
Question: find the names of programs whose origin is not in Beijing.
[/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 program (name VARCHAR, origin VARCHAR)
Question: find the names of programs whose origin is not in Beijing.
Here is the SQLite query to answer to the question: find 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_6 (team_2 VARCHAR)
Question: What was the 1st round result that had US Valenciennes (d1) as Team 2?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (team_2 VARCHAR)
Question: What was the 1st round result that had US Valenciennes (d1) as Team 2?
Here is the SQLite query to answer to the question: What 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_24856090_1 (average INTEGER, hk_viewers VARCHAR)
Question: What is the largest average for the episode with 1.97 million Hong Kong viewers?
[/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_24856090_1 (average INTEGER, hk_viewers VARCHAR)
Question: What is the largest average for the episode with 1.97 million Hong Kong viewers?
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_225205_4 (successor VARCHAR, reason_for_change VARCHAR)
Question: Who is the successor when the reason for change is died November 11, 1845?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_225205_4 (successor VARCHAR, reason_for_change VARCHAR)
Question: Who is the successor when the reason for change is died November 11, 1845?
Here is the SQLite que... | 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.