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_10420426_1 (team VARCHAR, series VARCHAR)
Question: What was the team where series is formula renault 2.0 nec?
[/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_10420426_1 (team VARCHAR, series VARCHAR)
Question: What was the team where series is formula renault 2.0 nec?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR)
Question: Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?
[/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_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR)
Question: Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?
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_6 (halang VARCHAR, rera VARCHAR)
Question: Which Halang has a Rera of ʒo²?
[/INST]
Here is the SQLite query to answer to the question: Which Halang has a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR)
Question: Which Halang has a Rera of ʒo²?
Here is the SQLite query to answer to the question: Which Halang has a Rera of ʒo²?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (record VARCHAR, time VARCHAR)
Question: What is the record with a 3:56 time?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (record VARCHAR, time VARCHAR)
Question: What is the record with a 3:56 time?
Here is the SQLite query to answer to the question: What is the record with 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 shop (num_of_staff INTEGER, score INTEGER)
Question: What are the average score and average staff number of all shops?
[/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 shop (num_of_staff INTEGER, score INTEGER)
Question: What are the average score and average staff number of all shops?
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_27 (location_attendance VARCHAR, record VARCHAR)
Question: Which Location Attendance has a Record of 11–34?
[/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_27 (location_attendance VARCHAR, record VARCHAR)
Question: Which Location Attendance has a Record of 11–34?
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_82 (home VARCHAR, visitor VARCHAR, series VARCHAR)
Question: What is the Home with a Visitor of chicago, and a Series with 3 – 2?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR)
Question: What is the Home with a Visitor of chicago, and a Series with 3 – 2?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (year INTEGER, type VARCHAR, title VARCHAR)
Question: What year had a title of Die Shaolin Affen EP and EP as the type?
[/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_50 (year INTEGER, type VARCHAR, title VARCHAR)
Question: What year had a title of Die Shaolin Affen EP and EP as the type?
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_17 (silver VARCHAR, location VARCHAR)
Question: What Silver has the Location of Guangzhou?
[/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_17 (silver VARCHAR, location VARCHAR)
Question: What Silver has the Location of Guangzhou?
Here is the SQLite query to answer to the question: What Silver 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_23308178_7 (score VARCHAR, opponent VARCHAR)
Question: List the results for all games which involved the detroit red wings.
[/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_23308178_7 (score VARCHAR, opponent VARCHAR)
Question: List the results for all games which involved the detroit red wings.
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_25 (played VARCHAR, drawn VARCHAR, position VARCHAR)
Question: How many played have 3 as the drawn, and a position greater than 4?
[/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_25 (played VARCHAR, drawn VARCHAR, position VARCHAR)
Question: How many played have 3 as the drawn, and a position greater than 4?
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_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)
Question: Which species show a negative result with both voges-proskauer and indole?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)
Question: Which species show a negative result with both voges-proskauer and indole?
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_77 (location VARCHAR, callsign VARCHAR)
Question: Where is the place that has a Callsign of DWRJ-FM?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (location VARCHAR, callsign VARCHAR)
Question: Where is the place that has a Callsign of DWRJ-FM?
Here is the SQLite query to answer to the question: Where... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR)
Question: Name the venue for eng by 6 wkts
[/INST]
Here is the SQLite query to answer to the question: Name the venue ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR)
Question: Name the venue for eng by 6 wkts
Here is the SQLite query to answer to the question: Name the venue for eng by 6 ... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, away_team VARCHAR)
Question: What was the attendance when St Kilda played as the away team?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (crowd INTEGER, away_team VARCHAR)
Question: What was the attendance when St Kilda played as the away team?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR)
Question: How many millions of viewers were there for number 6?
[/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_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR)
Question: How many millions of viewers were there for number 6?
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_22834834_3 (year VARCHAR, score_in_the_final VARCHAR)
Question: How many years have a final score of 6–3, 6–2?
[/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_22834834_3 (year VARCHAR, score_in_the_final VARCHAR)
Question: How many years have a final score of 6–3, 6–2?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341453_37 (incumbent VARCHAR, first_elected VARCHAR)
Question: Which incumbent was first elected in 1972?
[/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_1341453_37 (incumbent VARCHAR, first_elected VARCHAR)
Question: Which incumbent was first elected in 1972?
Here is the SQLite query to answer to the question: Whi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1971074_1 (founded VARCHAR, type VARCHAR)
Question: When was the private/non-sectarian school founded?
[/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_1971074_1 (founded VARCHAR, type VARCHAR)
Question: When was the private/non-sectarian school founded?
Here is the SQLite query to answer to the question: 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_23186738_6 (high_points VARCHAR, record VARCHAR)
Question: Name the number of high points for record 5-17
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23186738_6 (high_points VARCHAR, record VARCHAR)
Question: Name the number of high points for record 5-17
Here is the SQLite query to answer to the question: Name ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR)
Question: On what date was god & guns released?
[/INST]
Here is the SQLite query to answer to the question: O... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR)
Question: On what date was god & guns released?
Here is the SQLite query to answer to the question: On what date 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_54 (wins VARCHAR, rank VARCHAR, scoring_average VARCHAR)
Question: What is the total number of Wins when 98 is the rank and the scoring average is more t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (wins VARCHAR, rank VARCHAR, scoring_average VARCHAR)
Question: What is the total number of Wins when 98 is the rank and the scoring average is more than 73... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR)
Question: When zachary sanders is the performer how many people is the music by?
[/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_191105_2 (music_by VARCHAR, performed_by VARCHAR)
Question: When zachary sanders is the performer how many people is the music by?
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_67 (pick INTEGER, round VARCHAR)
Question: What is the highest numbered pick from round 7?
[/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_67 (pick INTEGER, round VARCHAR)
Question: What is the highest numbered pick from round 7?
Here is the SQLite query to answer to the question: What is the hig... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, nationality VARCHAR)
Question: What is the Record that has a Nationality of new zealand?
[/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_35 (record VARCHAR, nationality VARCHAR)
Question: What is the Record that has a Nationality of new zealand?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR)
Question: What is Country, when Score is "73-68=141"?
[/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_60 (country VARCHAR, score VARCHAR)
Question: What is Country, when Score is "73-68=141"?
Here is the SQLite query to answer to the question: What is 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_28693349_2 (games INTEGER, player VARCHAR)
Question: How many games did Robert Peare play?
[/INST]
Here is the SQLite query to answer to the question: How man... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28693349_2 (games INTEGER, player VARCHAR)
Question: How many games did Robert Peare play?
Here is the SQLite query to answer to the question: How many games did 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_63 (time VARCHAR, country VARCHAR)
Question: What is the time for the race with the United States?
[/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_63 (time VARCHAR, country VARCHAR)
Question: What is the time for the race with the United States?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)
Question: What position does the player from Texas State who was drafted ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)
Question: What position does the player from Texas State who was drafted before... | bugdaryan/sql-create-context-instruction | |
[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 (competition VARCHAR, date VARCHAR)
Question: What was being played on Nov 23, 2006?
[/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_79 (competition VARCHAR, date VARCHAR)
Question: What was being played on Nov 23, 2006?
Here is the SQLite query to answer to the question: What was being pla... | bugdaryan/sql-create-context-instruction | |
[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 (school VARCHAR, _number___county VARCHAR)
Question: which school shows #/county of 29 hamilton?
[/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_49 (school VARCHAR, _number___county VARCHAR)
Question: which school shows #/county of 29 hamilton?
Here is the SQLite query to answer to the question: which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)
Question: Which Railway number(s) has a Year(s) of manufacture of 1899–1907?
[/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_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)
Question: Which Railway number(s) has a Year(s) of manufacture of 1899–1907?
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 (born_died VARCHAR, name VARCHAR)
Question: What is Born-Died, when Name is Maliq Bushati?
[/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 (born_died VARCHAR, name VARCHAR)
Question: What is Born-Died, when Name is Maliq Bushati?
Here is the SQLite query to answer to the question: What is Born... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR)
Question: what is the episode title on original air date of September 30, 2007?
[/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_23799417_2 (title VARCHAR, original_airing VARCHAR)
Question: what is the episode title on original air date of September 30, 2007?
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_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)
Question: How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)
Question: How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?
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 airport (International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR)
Question: What are the number of international and domestic passengers... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE airport (International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR)
Question: What are the number of international and domestic passengers of 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_54 (country VARCHAR, player VARCHAR)
Question: What is Country, when Player is "Dow Finsterwald"?
[/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_54 (country VARCHAR, player VARCHAR)
Question: What is Country, when Player is "Dow Finsterwald"?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR)
Question: What Silver has a Golf of Li AO?
[/INST]
Here is the SQLite query to answer to the question: What Silver has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR)
Question: What Silver has a Golf of Li AO?
Here is the SQLite query to answer to the question: What Silver has a Golf of Li ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR)
Question: What are t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR)
Question: What are the 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_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR)
Question: What was the water depth that entered service in 2001 named Cajun Express?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR)
Question: What was the water depth that entered service in 2001 named Cajun Express?
Here 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_11630008_8 (original_air_date VARCHAR, written_by VARCHAR)
Question: What is the original air date of the episode written by Karen Felix and Don Woodard?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11630008_8 (original_air_date VARCHAR, written_by VARCHAR)
Question: What is the original air date of the episode written by Karen Felix and Don Woodard?
Here 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_45 (nhl_team VARCHAR, player VARCHAR)
Question: What NHL team does Rob White play on?
[/INST]
Here is the SQLite query to answer to the question: What NH... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (nhl_team VARCHAR, player VARCHAR)
Question: What NHL team does Rob White play on?
Here is the SQLite query to answer to the question: What NHL team does 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_14 (novelty VARCHAR, name VARCHAR)
Question: What is the novelty of Tylocephale?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (novelty VARCHAR, name VARCHAR)
Question: What is the novelty of Tylocephale?
Here is the SQLite query to answer to the question: What is the novelty of Ty... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR)
Question: What is the earliest stage where mountains classifications was awarded to Peter Stetin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR)
Question: What is the earliest stage where mountains classifications was awarded to Peter Stetina?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
Question: In what League is Left Wing Yanick Dupre?
[/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_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
Question: In what League is Left Wing Yanick Dupre?
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_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR)
Question: What was the total score / week of the contestant who placed in the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR)
Question: What was the total score / week of the contestant who placed in the bottom... | bugdaryan/sql-create-context-instruction | |
[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 (high_assists VARCHAR, team VARCHAR)
Question: What is High Assists, when Team is "@ Milwaukee"?
[/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_83 (high_assists VARCHAR, team VARCHAR)
Question: What is High Assists, when Team is "@ Milwaukee"?
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 COURSE (DNO VARCHAR, CName VARCHAR); CREATE TABLE DEPARTMENT (Dname VARCHAR, Room VARCHAR, DNO VARCHAR)
Question: Find the department name and room of the course IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE COURSE (DNO VARCHAR, CName VARCHAR); CREATE TABLE DEPARTMENT (Dname VARCHAR, Room VARCHAR, DNO VARCHAR)
Question: Find the department name and room of the course INTRODUC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (year VARCHAR)
Question: Who won the 250cc in 1927?
[/INST]
Here is the SQLite query to answer to the question: Who won the 250cc in 1927?:
```
SELECT... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (year VARCHAR)
Question: Who won the 250cc in 1927?
Here is the SQLite query to answer to the question: Who won the 250cc in 1927?:
```
SELECT 250 AS _cc F... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR)
Question: Where was the 1984 Olympics hosted?
[/INST]
Here is the SQLite query to answer to the question: Where was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR)
Question: Where was the 1984 Olympics hosted?
Here is the SQLite query to answer to the question: Where was the 1984 Oly... | bugdaryan/sql-create-context-instruction | |
[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 (location_attendance VARCHAR, team VARCHAR)
Question: Where was the game played when the opponent was Oklahoma City, and what was the attendance?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (location_attendance VARCHAR, team VARCHAR)
Question: Where was the game played when the opponent was Oklahoma City, and what was the attendance?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (tournament VARCHAR)
Question: What is the 2010 value with A in 2009 and A in 2008 in the Australian Open?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (tournament VARCHAR)
Question: What is the 2010 value with A in 2009 and A in 2008 in the Australian Open?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (season VARCHAR, division VARCHAR)
Question: In which Season was the Division Washington Bullets?
[/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_4 (season VARCHAR, division VARCHAR)
Question: In which Season was the Division Washington Bullets?
Here is the SQLite query to answer to the question: In whi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR)
Question: How many people lived in san gabriel in the year 2000?
[/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_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR)
Question: How many people lived in san gabriel in the year 2000?
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_44 (rank INTEGER, athlete VARCHAR, react VARCHAR)
Question: What is the lowest rank for Chris Brown with react greater than 0.244?
[/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_44 (rank INTEGER, athlete VARCHAR, react VARCHAR)
Question: What is the lowest rank for Chris Brown with react greater than 0.244?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (captain VARCHAR, manager VARCHAR)
Question: Which captain has billy bonds as the manager?
[/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_34 (captain VARCHAR, manager VARCHAR)
Question: Which captain has billy bonds as the manager?
Here is the SQLite query to answer to the question: Which captai... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, game VARCHAR)
Question: What was the rangers' record on Game 14?
[/INST]
Here is the SQLite query to answer to the question: What was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (record VARCHAR, game VARCHAR)
Question: What was the rangers' record on Game 14?
Here is the SQLite query to answer to the question: What was the rangers'... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11406866_2 (opponent VARCHAR, date VARCHAR)
Question: what is the total number of opponent where date is november 23, 1980
[/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_11406866_2 (opponent VARCHAR, date VARCHAR)
Question: what is the total number of opponent where date is november 23, 1980
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_75 (original_title VARCHAR, year VARCHAR, country VARCHAR)
Question: What is the original title of the film from years after 1985 from the UK?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (original_title VARCHAR, year VARCHAR, country VARCHAR)
Question: What is the original title of the film from years after 1985 from the UK?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (legs VARCHAR, venue VARCHAR, runner_up__average_in_final_ VARCHAR)
Question: What is the legs when the venue is rwe-sporthalle, mülheim and the runne... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (legs VARCHAR, venue VARCHAR, runner_up__average_in_final_ VARCHAR)
Question: What is the legs when the venue is rwe-sporthalle, mülheim and the runner-up (... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
Question: Tell me the driver for grid less than 19 and Laps more than 59 with time/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
Question: Tell me the driver for grid less than 19 and Laps more than 59 with time/retire... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR)
Question: What is the name of a pick more than 5 at Washington College?
[/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_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR)
Question: What is the name of a pick more than 5 at Washington College?
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_98 (winner VARCHAR, location VARCHAR, year VARCHAR)
Question: What is Winner, when Location is Connie Mack Stadium, and when Year is 1946?
[/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_98 (winner VARCHAR, location VARCHAR, year VARCHAR)
Question: What is Winner, when Location is Connie Mack Stadium, and when Year is 1946?
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_26 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR)
Question: Which Power (MW) has a Voltage (kV) of 500, and a Country of argentina?
[/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 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR)
Question: Which Power (MW) has a Voltage (kV) of 500, and a Country of argentina?
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_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
Question: How many different college/junior/club teams provided a player to the Washington Capi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
Question: How many different college/junior/club teams provided a player to the Washington Capitals N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR)
Question: What is the boiler provider for Bhel, India's TG Set provider?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR)
Question: What is the boiler provider for Bhel, India's TG Set provider?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR)
Question: Who is the jockey for the winning horse Rafael Bejarano?
[/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_81 (winning_horse VARCHAR, winning_jockey VARCHAR)
Question: Who is the jockey for the winning horse Rafael Bejarano?
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 Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER)
Question: Of all players with an overall rating greater than 80, how many are right-footed and le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER)
Question: Of all players with an overall rating greater than 80, how many are right-footed and left-foo... | bugdaryan/sql-create-context-instruction | |
[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 (elimination VARCHAR, wrestler VARCHAR)
Question: What is the Elimination move listed against Regal?
[/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_28 (elimination VARCHAR, wrestler VARCHAR)
Question: What is the Elimination move listed against Regal?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR)
Question: Quotient of 97 350,333 has how many votes?
[/INST]
Here is the SQLite query to answer to the question: Quo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR)
Question: Quotient of 97 350,333 has how many votes?
Here is the SQLite query to answer to the question: Quotient of 97 3... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
Question: which brand have drivers who won with the names of ryan briscoe and t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
Question: which brand have drivers who won with the names of ryan briscoe and tomas 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_23243769_4 (opponent VARCHAR, opp_points VARCHAR)
Question: What opponent got 44 points in their game?
[/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_23243769_4 (opponent VARCHAR, opp_points VARCHAR)
Question: What opponent got 44 points in their game?
Here is the SQLite query to answer to the question: What opp... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, gold VARCHAR)
Question: How many Silver medals did nation who is ranked greater than 1 and has 4 Gold medals have?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, gold VARCHAR)
Question: How many Silver medals did nation who is ranked greater than 1 and has 4 Gold medals have?
Here 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_27902171_5 (team VARCHAR, location_attendance VARCHAR)
Question: What is every team with location attendance of Arco Arena 17,014?
[/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_27902171_5 (team VARCHAR, location_attendance VARCHAR)
Question: What is every team with location attendance of Arco Arena 17,014?
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_30 (Id VARCHAR)
Question: When in 2008 that has a 2007 of f?
[/INST]
Here is the SQLite query to answer to the question: When in 2008 that has a 2007 of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (Id VARCHAR)
Question: When in 2008 that has a 2007 of f?
Here is the SQLite query to answer to the question: When in 2008 that has a 2007 of f?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, round VARCHAR, name VARCHAR)
Question: What is the Position with a round 3 pick for r. jay soward?
[/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_20 (position VARCHAR, round VARCHAR, name VARCHAR)
Question: What is the Position with a round 3 pick for r. jay soward?
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_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR)
Question: When Paul Whiting won the mixed veteran, who won the mixed restricted?
[/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_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR)
Question: When Paul Whiting won the mixed veteran, who won the mixed restricted?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER)
Question: What is the lowest number of bronze medals for teams ranked below 13?
[/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_91 (bronze INTEGER, rank INTEGER)
Question: What is the lowest number of bronze medals for teams ranked below 13?
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_1140077_2 (fastest_lap VARCHAR, race VARCHAR)
Question: Who did the fastest lap in the dutch grand prix?
[/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_1140077_2 (fastest_lap VARCHAR, race VARCHAR)
Question: Who did the fastest lap in the dutch grand prix?
Here is the SQLite query to answer to the question: Who 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_53 (country VARCHAR, date VARCHAR)
Question: What country was the race in on April 27?
[/INST]
Here is the SQLite query to answer to the question: What c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (country VARCHAR, date VARCHAR)
Question: What country was the race in on April 27?
Here is the SQLite query to answer to the question: What country was 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_2841865_2 (party VARCHAR, congress VARCHAR)
Question: How many entries are listed for party during the 69th congress?
[/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_2841865_2 (party VARCHAR, congress VARCHAR)
Question: How many entries are listed for party during the 69th congress?
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_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
Question: How many dams are there in the Nome (CA) area?
[/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_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
Question: How many dams are there in the Nome (CA) area?
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_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR)
Question: Which Draws has Points smaller than 15, and a Conceded lar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR)
Question: Which Draws has Points smaller than 15, and a Conceded larger 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_81 (game INTEGER, record VARCHAR)
Question: Record of 3-3-1 had what lowest game?
[/INST]
Here is the SQLite query to answer to the question: Record of 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (game INTEGER, record VARCHAR)
Question: Record of 3-3-1 had what lowest game?
Here is the SQLite query to answer to the question: Record of 3-3-1 had 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_16795394_3 (points VARCHAR, team__number2 VARCHAR)
Question: If team two is Lanús, what was the total number of points?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16795394_3 (points VARCHAR, team__number2 VARCHAR)
Question: If team two is Lanús, what was the total number of points?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: What is the highest attendance for December 3, 1972 after week 12?
[/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_30 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: What is the highest attendance for December 3, 1972 after week 12?
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_25572118_1 (date VARCHAR, series VARCHAR)
Question: When emt 9 is the series what is the date?
[/INST]
Here is the SQLite query to answer to the question: Whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25572118_1 (date VARCHAR, series VARCHAR)
Question: When emt 9 is the series what is the date?
Here is the SQLite query to answer to the question: When emt 9 is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR)
Question: In which series was his position NC† ?
[/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_25557880_1 (series VARCHAR, position VARCHAR)
Question: In which series was his position NC† ?
Here is the SQLite query to answer to the question: In which series ... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, home VARCHAR)
Question: How many people were in attendance when the home shows as Bulls?
[/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_89 (attendance VARCHAR, home VARCHAR)
Question: How many people were in attendance when the home shows as Bulls?
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_40 (record VARCHAR, opponent VARCHAR)
Question: What was the record in the game where the opponent wasd the atlanta falcons?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR)
Question: What was the record in the game where the opponent wasd the atlanta falcons?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, capacity VARCHAR)
Question: Find the name of the product that has the smallest capacity.
[/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 catalog_contents (catalog_entry_name VARCHAR, capacity VARCHAR)
Question: Find the name of the product that has the smallest capacity.
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_68 (gold VARCHAR, year VARCHAR)
Question: What Gold has the Year of 1994?
[/INST]
Here is the SQLite query to answer to the question: What Gold has the Y... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (gold VARCHAR, year VARCHAR)
Question: What Gold has the Year of 1994?
Here is the SQLite query to answer to the question: What Gold has the Year of 1994?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25604014_5 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who wrote episode number 81 in the series?
[/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_25604014_5 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who wrote episode number 81 in the series?
Here is the SQLite query to answer to the question: Who ... | bugdaryan/sql-create-context-instruction | |
[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 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
Question: Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
Question: Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27721131_6 (team VARCHAR, date VARCHAR)
Question: What is the team they played on november 25?
[/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_27721131_6 (team VARCHAR, date VARCHAR)
Question: What is the team they played on november 25?
Here is the SQLite query to answer to the question: What is the 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_40 (silver INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the most silver when bronze is more than 1 and total is more than 48?
[/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_40 (silver INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the most silver when bronze is more than 1 and total is more than 48?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (Id VARCHAR)
Question: What is in 2007 has 2004 olympic games?
[/INST]
Here is the SQLite query to answer to the question: What is in 2007 has 2004 ol... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (Id VARCHAR)
Question: What is in 2007 has 2004 olympic games?
Here is the SQLite query to answer to the question: What is in 2007 has 2004 olympic games?:... | bugdaryan/sql-create-context-instruction | |
[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 (writer VARCHAR, date VARCHAR)
Question: What is the Writer with a Date that is january 1975?
[/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_63 (writer VARCHAR, date VARCHAR)
Question: What is the Writer with a Date that is january 1975?
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_86 (points INTEGER, score VARCHAR, attendance VARCHAR)
Question: How many Points have a Score of 3–2, and an Attendance larger than 17,398?
[/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_86 (points INTEGER, score VARCHAR, attendance VARCHAR)
Question: How many Points have a Score of 3–2, and an Attendance larger than 17,398?
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_49 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who constructed the car with a grid over 19 that retired due to suspension?
[/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 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who constructed the car with a grid over 19 that retired due to suspension?
Here is the... | 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.