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_224840_4 (successor VARCHAR, district VARCHAR)
Question: Who was the latest to take office in Massachusetts 3rd district?
[/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_224840_4 (successor VARCHAR, district VARCHAR)
Question: Who was the latest to take office in Massachusetts 3rd district?
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_7 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What is the highest total Bronze larger than 10, Silver larger than 28, and a G... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What is the highest total Bronze larger than 10, Silver larger than 28, and a Gold of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (score VARCHAR, tie_no VARCHAR)
Question: What's the score when the tie number was replay?
[/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_70 (score VARCHAR, tie_no VARCHAR)
Question: What's the score when the tie number was replay?
Here is the SQLite query to answer to the question: What's 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_name_14 (language VARCHAR, director VARCHAR)
Question: What is the language of the film directed by Hans Kristensen?
[/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_14 (language VARCHAR, director VARCHAR)
Question: What is the language of the film directed by Hans Kristensen?
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_50 (elevator VARCHAR, elevated VARCHAR)
Question: What is the Elevator of the Elected Elevated on September 21, 1179?
[/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_50 (elevator VARCHAR, elevated VARCHAR)
Question: What is the Elevator of the Elected Elevated on September 21, 1179?
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_5 (blagojevich__d_ VARCHAR, source VARCHAR, topinka__r_ VARCHAR)
Question: Which Blagojevich (D) has a Source of zogby/wsj, and a Topinka (R) of 33.2%?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (blagojevich__d_ VARCHAR, source VARCHAR, topinka__r_ VARCHAR)
Question: Which Blagojevich (D) has a Source of zogby/wsj, and a Topinka (R) of 33.2%?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (song VARCHAR, composer VARCHAR, year VARCHAR)
Question: What song was composed by V. Selvaganesh later than 2010?
[/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_58 (song VARCHAR, composer VARCHAR, year VARCHAR)
Question: What song was composed by V. Selvaganesh later than 2010?
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_64 (name VARCHAR, length INTEGER)
Question: What name is associated with a longer length than 903?
[/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_64 (name VARCHAR, length INTEGER)
Question: What name is associated with a longer length than 903?
Here is the SQLite query to answer to the question: What na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at Victoria Park?
[/INST]
Here is the SQLite query to answer to the question: Who w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at Victoria Park?
Here is the SQLite query to answer to the question: Who was the away 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_8 (frequency VARCHAR, model_number VARCHAR)
Question: What is the frequency of the Turion 64 X2 TL-62?
[/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_8 (frequency VARCHAR, model_number VARCHAR)
Question: What is the frequency of the Turion 64 X2 TL-62?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR); CREATE TABLE aircraft (Model VARCHAR, Aircraft_ID VARCHA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR); CREATE TABLE aircraft (Model VARCHAR, Aircraft_ID VARCHAR)
... | bugdaryan/sql-create-context-instruction | |
[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 (place INTEGER, team VARCHAR, lost VARCHAR)
Question: What's the place that Once Municipal has a lost greater than 3?
[/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_81 (place INTEGER, team VARCHAR, lost VARCHAR)
Question: What's the place that Once Municipal has a lost greater than 3?
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_53 (celebrity VARCHAR, exited VARCHAR, famous_for VARCHAR)
Question: Which celebrity who was famous for being the ex busted member and TV presenter exite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (celebrity VARCHAR, exited VARCHAR, famous_for VARCHAR)
Question: Which celebrity who was famous for being the ex busted member and TV presenter exited on d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (album VARCHAR, year VARCHAR)
Question: Which album was on June 1998?
[/INST]
Here is the SQLite query to answer to the question: Which album was on J... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (album VARCHAR, year VARCHAR)
Question: Which album was on June 1998?
Here is the SQLite query to answer to the question: Which album was on June 1998?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, opponent VARCHAR, record VARCHAR)
Question: What was the score of the game against the Braves with a record of 41–27?
[/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_25 (score VARCHAR, opponent VARCHAR, record VARCHAR)
Question: What was the score of the game against the Braves with a record of 41–27?
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_33 (scientific_pitch VARCHAR, helmholtz_pitch VARCHAR)
Question: What is the scientific pitch when the Helmholtz pitch is D?
[/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_33 (scientific_pitch VARCHAR, helmholtz_pitch VARCHAR)
Question: What is the scientific pitch when the Helmholtz pitch is D?
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 table_name_23 (silver INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the lowest Silver, when Bronze is 1, and when Total is less than 3?
[/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_23 (silver INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the lowest Silver, when Bronze is 1, and when Total is less than 3?
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_34 (rank INTEGER, total INTEGER)
Question: What is the rank for the total less than 1?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (rank INTEGER, total INTEGER)
Question: What is the rank for the total less than 1?
Here is the SQLite query to answer to the question: What is the rank fo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_43 (passed VARCHAR, no_votes VARCHAR)
Question: What is every entry for passed when NO votes is 312187?
[/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_256286_43 (passed VARCHAR, no_votes VARCHAR)
Question: What is every entry for passed when NO votes is 312187?
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 (height VARCHAR, school VARCHAR)
Question: How tall is the player from Nacogdoches High School?
[/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_28 (height VARCHAR, school VARCHAR)
Question: How tall is the player from Nacogdoches High School?
Here is the SQLite query to answer to the question: How tal... | bugdaryan/sql-create-context-instruction | |
[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 (gold INTEGER, rank VARCHAR, silver VARCHAR)
Question: what is the average gold when rank is total and silver is more than 20?
[/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_32 (gold INTEGER, rank VARCHAR, silver VARCHAR)
Question: what is the average gold when rank is total and silver is more than 20?
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_69 (week INTEGER, opponent VARCHAR)
Question: What is the lowest attendance when the Atlanta Falcons were the opponent?
[/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_69 (week INTEGER, opponent VARCHAR)
Question: What is the lowest attendance when the Atlanta Falcons were the opponent?
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_70 (manner_of_departure VARCHAR, team VARCHAR)
Question: What was the manner of departure for the team Anderlecht?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (manner_of_departure VARCHAR, team VARCHAR)
Question: What was the manner of departure for the team Anderlecht?
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_134987_3 (target_city__market VARCHAR, city_of_license VARCHAR, format VARCHAR)
Question: What are the market city/market(s) for Rapid City Alternative format... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_134987_3 (target_city__market VARCHAR, city_of_license VARCHAR, format VARCHAR)
Question: What are the market city/market(s) for Rapid City Alternative format?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (year VARCHAR, points VARCHAR)
Question: What year were there 29 (32) points?
[/INST]
Here is the SQLite query to answer to the question: What year wer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (year VARCHAR, points VARCHAR)
Question: What year were there 29 (32) points?
Here is the SQLite query to answer to the question: What year were there 29 (3... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR)
Question: What was the loss of the game against the Yankees that was attended by 27,652?
[/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 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR)
Question: What was the loss of the game against the Yankees that was attended by 27,652?
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_name_75 (competition_round_ VARCHAR, d_ VARCHAR, season VARCHAR, winner VARCHAR)
Question: What is the competition before the 1930 season, and a winning draw?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (competition_round_ VARCHAR, d_ VARCHAR, season VARCHAR, winner VARCHAR)
Question: What is the competition before the 1930 season, and a winning draw?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677691_1 (college VARCHAR, school VARCHAR)
Question: How many players attended Hillcrest High School?
[/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_11677691_1 (college VARCHAR, school VARCHAR)
Question: How many players attended Hillcrest High School?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-instruction | |
[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 (puchat_ligi INTEGER, total VARCHAR, ekstraklasa VARCHAR)
Question: How much Puchat Ligi has a Total smaller than 5, and an Ekstraklasa larger than 1?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (puchat_ligi INTEGER, total VARCHAR, ekstraklasa VARCHAR)
Question: How much Puchat Ligi has a Total smaller than 5, and an Ekstraklasa larger than 1?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (record VARCHAR, attendance VARCHAR)
Question: What was the score when attendance was 19,887?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (record VARCHAR, attendance VARCHAR)
Question: What was the score when attendance was 19,887?
Here is the SQLite query to answer to the question: What was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR)
Question: What the average amount of field goals Clark has if he has less th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR)
Question: What the average amount of field goals Clark has if he has less than 3 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_14 (wins INTEGER, byes INTEGER)
Question: For the teams that had more than 2 Byes, what was the highest number of Wins?
[/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_14 (wins INTEGER, byes INTEGER)
Question: For the teams that had more than 2 Byes, what was the highest number of Wins?
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_40 (Id VARCHAR)
Question: Tell me the 2011 with 2012 of 2r
[/INST]
Here is the SQLite query to answer to the question: Tell me the 2011 with 2012 of 2r:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (Id VARCHAR)
Question: Tell me the 2011 with 2012 of 2r
Here is the SQLite query to answer to the question: Tell me the 2011 with 2012 of 2r:
```
SELECT 20... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE machine (machine_id VARCHAR, value_points INTEGER); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE machine (machine_id VARCHAR, value_points INTEGER); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technici... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)
Question: Name the number of first elected for kentucky 3
[/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_2668378_5 (first_elected VARCHAR, district VARCHAR)
Question: Name the number of first elected for kentucky 3
Here is the SQLite query to answer to the question: 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 Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, registration_id VARCHAR)
Quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, registration_id VARCHAR)
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_2602958_4 (writer_s_ VARCHAR, _number VARCHAR)
Question: Who wrote episode 6 in season 3?
[/INST]
Here is the SQLite query to answer to the question: Who wrot... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2602958_4 (writer_s_ VARCHAR, _number VARCHAR)
Question: Who wrote episode 6 in season 3?
Here is the SQLite query to answer to the question: Who wrote episode 6 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_17115950_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Question: What was the manner of departure of Nicolae Manea?
[/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_17115950_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Question: What was the manner of departure of Nicolae Manea?
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_27987767_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)
Question: When brive is the proceed to quarter final how many were eliminat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27987767_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)
Question: When brive is the proceed to quarter final how many were eliminated fro... | bugdaryan/sql-create-context-instruction | |
[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 (home VARCHAR, date VARCHAR)
Question: What is the Home on december 10?
[/INST]
Here is the SQLite query to answer to the question: What is the Home o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (home VARCHAR, date VARCHAR)
Question: What is the Home on december 10?
Here is the SQLite query to answer to the question: What is the Home on december 10... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_14 (hometown VARCHAR, pageant VARCHAR)
Question: Where is the miss global teen?
[/INST]
Here is the SQLite query to answer to the question: Where is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1825751_14 (hometown VARCHAR, pageant VARCHAR)
Question: Where is the miss global teen?
Here is the SQLite query to answer to the question: Where is the miss globa... | bugdaryan/sql-create-context-instruction | |
[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 (against INTEGER, wins VARCHAR, losses VARCHAR)
Question: What is the highest number listed under against when there were less than 3 wins and less th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (against INTEGER, wins VARCHAR, losses VARCHAR)
Question: What is the highest number listed under against when there were less than 3 wins and less than 15 ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (drawn INTEGER, lost VARCHAR, points VARCHAR)
Question: How many total drawn has less than 4 lost and 8 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_name_59 (drawn INTEGER, lost VARCHAR, points VARCHAR)
Question: How many total drawn has less than 4 lost and 8 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_43 (nationality VARCHAR, school_club_team VARCHAR)
Question: What is the nationality of the School/Club team of Louisville?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (nationality VARCHAR, school_club_team VARCHAR)
Question: What is the nationality of the School/Club team of Louisville?
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_16570286_2 (team VARCHAR, highest_score VARCHAR)
Question: How many teams were there with a high score of 143?
[/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_16570286_2 (team VARCHAR, highest_score VARCHAR)
Question: How many teams were there with a high score of 143?
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_250230_2 (brakes VARCHAR, gearbox VARCHAR)
Question: What brakes for the 4-speed automatic gearbox?
[/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_250230_2 (brakes VARCHAR, gearbox VARCHAR)
Question: What brakes for the 4-speed automatic gearbox?
Here is the SQLite query to answer to the question: What brakes... | bugdaryan/sql-create-context-instruction | |
[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 (july VARCHAR, annual_precipitation VARCHAR)
Question: What is the July temperature where the annual precipitation is 514mm (20.2in)?
[/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_23 (july VARCHAR, annual_precipitation VARCHAR)
Question: What is the July temperature where the annual precipitation is 514mm (20.2in)?
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_96 (chorley INTEGER, pendle VARCHAR, rossendale VARCHAR, party VARCHAR)
Question: What was the average Chorley for the Labour party that had a Rossendale... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (chorley INTEGER, pendle VARCHAR, rossendale VARCHAR, party VARCHAR)
Question: What was the average Chorley for the Labour party that had a Rossendale great... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23014923_1 (season VARCHAR, intermediate__south__winners VARCHAR)
Question: What is the year of the season if the intermediate (South) winners is Southmead At... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23014923_1 (season VARCHAR, intermediate__south__winners VARCHAR)
Question: What is the year of the season if the intermediate (South) winners is Southmead Athletic... | bugdaryan/sql-create-context-instruction | |
[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 (other INTEGER, name VARCHAR, total VARCHAR)
Question: What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (other INTEGER, name VARCHAR, total VARCHAR)
Question: What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when 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_99 (date VARCHAR, decision VARCHAR, home VARCHAR, points VARCHAR)
Question: Which Date has a Home of montreal canadiens, and Points larger than 9, and a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (date VARCHAR, decision VARCHAR, home VARCHAR, points VARCHAR)
Question: Which Date has a Home of montreal canadiens, and Points larger than 9, and a Decisi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_261931_2 (institution VARCHAR, nickname VARCHAR)
Question: Which institution's nickname is the Bobcats?
[/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_261931_2 (institution VARCHAR, nickname VARCHAR)
Question: Which institution's nickname is the Bobcats?
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_24 (nation VARCHAR, sport VARCHAR, pinyin VARCHAR)
Question: What nation has a sport of weightlifting and a pinyin of kùkè qúndǎo?
[/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_24 (nation VARCHAR, sport VARCHAR, pinyin VARCHAR)
Question: What nation has a sport of weightlifting and a pinyin of kùkè qúndǎo?
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 (country VARCHAR, publisher VARCHAR)
Question: What country has deltamac (hk) as the publisher?
[/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_34 (country VARCHAR, publisher VARCHAR)
Question: What country has deltamac (hk) as the publisher?
Here is the SQLite query to answer to the question: What 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_7 (venue VARCHAR, notes VARCHAR, competition VARCHAR)
Question: What venue did the European Championships' 400 m Hurdles take place?
[/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_7 (venue VARCHAR, notes VARCHAR, competition VARCHAR)
Question: What venue did the European Championships' 400 m Hurdles take place?
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_27 (attendance INTEGER, week VARCHAR, result VARCHAR)
Question: Which Attendance is the highest one that has a Week smaller than 9, and a Result of l 24–... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (attendance INTEGER, week VARCHAR, result VARCHAR)
Question: Which Attendance is the highest one that has a Week smaller than 9, and a Result of l 24–23?
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_88 (score VARCHAR, losing_semifinalists VARCHAR)
Question: What was the Score when the Losing Semifinalists were Toluca Unam?
[/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_88 (score VARCHAR, losing_semifinalists VARCHAR)
Question: What was the Score when the Losing Semifinalists were Toluca Unam?
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_85 (rank INTEGER, name VARCHAR, lane VARCHAR)
Question: What is Meagen Nay's rank with a lane greater than 5?
[/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_85 (rank INTEGER, name VARCHAR, lane VARCHAR)
Question: What is Meagen Nay's rank with a lane greater than 5?
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_65 (year_s__won VARCHAR, finish VARCHAR, player VARCHAR)
Question: What is Year(s) Won, when Finish is "T31", and when Player is "Nick Price"?
[/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_65 (year_s__won VARCHAR, finish VARCHAR, player VARCHAR)
Question: What is Year(s) Won, when Finish is "T31", and when Player is "Nick Price"?
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_17621978_11 (location_attendance VARCHAR, date VARCHAR)
Question: Name the number of location attendance for april 24
[/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_17621978_11 (location_attendance VARCHAR, date VARCHAR)
Question: Name the number of location attendance for april 24
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_67 (position VARCHAR, entrant VARCHAR)
Question: Can you tell me the Position that has the Entrant of j ampt?
[/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_67 (position VARCHAR, entrant VARCHAR)
Question: Can you tell me the Position that has the Entrant of j ampt?
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_41 (proto_germanic VARCHAR, german VARCHAR)
Question: What's the Proto Germanic when then German is /s/ or /ts/?
[/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_41 (proto_germanic VARCHAR, german VARCHAR)
Question: What's the Proto Germanic when then German is /s/ or /ts/?
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_67 (country VARCHAR, event VARCHAR)
Question: What is Country, when Event is Rip Curl Women's Pro?
[/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_67 (country VARCHAR, event VARCHAR)
Question: What is Country, when Event is Rip Curl Women's Pro?
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_2 (position VARCHAR, uni_number VARCHAR)
Question: Which position does #14 play?
[/INST]
Here is the SQLite query to answer to the question: Which positi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (position VARCHAR, uni_number VARCHAR)
Question: Which position does #14 play?
Here is the SQLite query to answer to the question: Which position does #14 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_74 (state VARCHAR, circuit VARCHAR)
Question: In which state can you find the Sandown circuit?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (state VARCHAR, circuit VARCHAR)
Question: In which state can you find the Sandown circuit?
Here is the SQLite query to answer to the question: In which st... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
Question: What is the name for Nagpur district, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
Question: What is the name for Nagpur district, 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 table_name_69 (champion VARCHAR, score VARCHAR, location VARCHAR, year VARCHAR)
Question: What is the Champion at Sopot prior to 2006 with a Score of 6–4, 6–7(7), 6... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (champion VARCHAR, score VARCHAR, location VARCHAR, year VARCHAR)
Question: What is the Champion at Sopot prior to 2006 with a Score of 6–4, 6–7(7), 6–3?
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 checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Question: F... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Question: Find 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_35 (date VARCHAR, opponent VARCHAR)
Question: What day did they play the New Orleans Saints?
[/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_35 (date VARCHAR, opponent VARCHAR)
Question: What day did they play the New Orleans Saints?
Here is the SQLite query to answer to the question: What day did ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (against VARCHAR, date VARCHAR)
Question: What is the against for 17/02/1979?
[/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_76 (against VARCHAR, date VARCHAR)
Question: What is the against for 17/02/1979?
Here is the SQLite query to answer to the question: What is the against for 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_273617_6 (status VARCHAR)
Question: what is the 2001 % for the status widowed or surviving partner?
[/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_273617_6 (status VARCHAR)
Question: what is the 2001 % for the status widowed or surviving partner?
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_42 (round VARCHAR, opponent VARCHAR)
Question: In which round was Gabriel Veiga the opponent?
[/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_42 (round VARCHAR, opponent VARCHAR)
Question: In which round was Gabriel Veiga the opponent?
Here is the SQLite query to answer to the question: In which rou... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE track (Id VARCHAR)
Question: How many tracks do we have?
[/INST]
Here is the SQLite query to answer to the question: How many tracks do we have?:
```
SELECT COUNT(*... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE track (Id VARCHAR)
Question: How many tracks do we have?
Here is the SQLite query to answer to the question: How many tracks do we have?:
```
SELECT COUNT(*) FROM track
... | bugdaryan/sql-create-context-instruction | |
[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 (director VARCHAR, year VARCHAR, role VARCHAR)
Question: What director directed the role of shelby barret wyatt in 1935?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (director VARCHAR, year VARCHAR, role VARCHAR)
Question: What director directed the role of shelby barret wyatt in 1935?
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_8 (week INTEGER, result VARCHAR, attendance VARCHAR)
Question: Which Week has a Result of l 20–13, and an Attendance larger than 49,598?
[/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_8 (week INTEGER, result VARCHAR, attendance VARCHAR)
Question: Which Week has a Result of l 20–13, and an Attendance larger than 49,598?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (game INTEGER, team VARCHAR, series VARCHAR)
Question: what is the highest game when the team is @boston and the series is 0-1?
[/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_53 (game INTEGER, team VARCHAR, series VARCHAR)
Question: what is the highest game when the team is @boston and the series is 0-1?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28092844_16 (intermediate_sprints_classification_klasyfikacja_najaktywniejszych VARCHAR, winner VARCHAR)
Question: What was the intermediate sprint classifica... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28092844_16 (intermediate_sprints_classification_klasyfikacja_najaktywniejszych VARCHAR, winner VARCHAR)
Question: What was the intermediate sprint classification 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_25740548_3 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who wrote the episode with 3.92 million US viewers?
[/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_25740548_3 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who wrote the episode with 3.92 million US viewers?
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_84 (location VARCHAR, opponent VARCHAR)
Question: Which location has an Opponent of masanori suda?
[/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_84 (location VARCHAR, opponent VARCHAR)
Question: Which location has an Opponent of masanori suda?
Here is the SQLite query to answer to the question: Which l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23995075_2 (confederation VARCHAR, remaining_places_in_finals VARCHAR)
Question: What is the confederation when there are 4 places remaining in the finals?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23995075_2 (confederation VARCHAR, remaining_places_in_finals VARCHAR)
Question: What is the confederation when there are 4 places remaining in the finals?
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 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)
Question: Gary Barnett who has been in 0 FA Cups plays what position?
[/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_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)
Question: Gary Barnett who has been in 0 FA Cups plays what position?
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_92 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR)
Question: Who were the co-drivers for the Racing Organisation Course team in years befor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR)
Question: Who were the co-drivers for the Racing Organisation Course team in years before 2011... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (city VARCHAR, stadium VARCHAR)
Question: where is the naghsh jahan stadium?
[/INST]
Here is the SQLite query to answer to the question: where 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_84 (city VARCHAR, stadium VARCHAR)
Question: where is the naghsh jahan stadium?
Here is the SQLite query to answer to the question: where is the naghsh jahan ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (home_team VARCHAR, away_team VARCHAR)
Question: When the Away team is essendon, what's the Home team score?
[/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_99 (home_team VARCHAR, away_team VARCHAR)
Question: When the Away team is essendon, what's the Home team score?
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_30 (date VARCHAR, opponent VARCHAR, score VARCHAR)
Question: On what Date was the Score 106-104 against the Portland Trail Blazers?
[/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_30 (date VARCHAR, opponent VARCHAR, score VARCHAR)
Question: On what Date was the Score 106-104 against the Portland Trail Blazers?
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_24440361_1 (kurdistan_democratic_party INTEGER, total_kurdistan_list VARCHAR)
Question: Name the kurdistan democratic party for kurdistan list being 10
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24440361_1 (kurdistan_democratic_party INTEGER, total_kurdistan_list VARCHAR)
Question: Name the kurdistan democratic party for kurdistan list being 10
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_29585196_1 (no_in_series INTEGER, directed_by VARCHAR)
Question: What episode number in the series was directed by Winrich Kolbe?
[/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_29585196_1 (no_in_series INTEGER, directed_by VARCHAR)
Question: What episode number in the series was directed by Winrich Kolbe?
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 table_20424014_1 (county VARCHAR, obama__percentage VARCHAR)
Question: where did obama get 39.8%
[/INST]
Here is the SQLite query to answer to the question: where d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20424014_1 (county VARCHAR, obama__percentage VARCHAR)
Question: where did obama get 39.8%
Here is the SQLite query to answer to the question: where did obama get ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2175685_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR)
Question: How many miles (km) were driven when the average speed (mph) was 103.145?
[/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_2175685_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR)
Question: How many miles (km) were driven when the average speed (mph) was 103.145?
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_38 (score VARCHAR, site_stadium VARCHAR, date VARCHAR)
Question: What was the score of the game played at Harmon Stadium on February 24?
[/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_38 (score VARCHAR, site_stadium VARCHAR, date VARCHAR)
Question: What was the score of the game played at Harmon Stadium on February 24?
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_51 (chassis VARCHAR, points VARCHAR, year VARCHAR)
Question: In 1961, what was the Chassis when the points were lower than 6?
[/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_51 (chassis VARCHAR, points VARCHAR, year VARCHAR)
Question: In 1961, what was the Chassis when the points were lower than 6?
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_22 (date VARCHAR, opposing_teams VARCHAR, venue VARCHAR)
Question: What is Date, when Opposing Teams is "South Africa", and when Venus is "Vodacom Park ,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (date VARCHAR, opposing_teams VARCHAR, venue VARCHAR)
Question: What is Date, when Opposing Teams is "South Africa", and when Venus is "Vodacom Park , Bloem... | bugdaryan/sql-create-context-instruction | |
[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 (goals_conceded VARCHAR, wins VARCHAR, draws VARCHAR)
Question: What is the total number of goals of the club with 4 wins and less than 0 draws?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (goals_conceded VARCHAR, wins VARCHAR, draws VARCHAR)
Question: What is the total number of goals of the club with 4 wins and less than 0 draws?
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_87 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: What to par is located in the united states and has the player by the name of hale irwin?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: What to par is located in the united states and has the player by the name of hale irwin?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_242785_1 (date_founded__founder VARCHAR, notes VARCHAR)
Question: when notes are prima italica:raised for aborted caucasus war, when was that founded?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_242785_1 (date_founded__founder VARCHAR, notes VARCHAR)
Question: when notes are prima italica:raised for aborted caucasus war, when was that founded?
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_56 (overall INTEGER, name VARCHAR)
Question: WHAT IS THE AVERAGE OVERALL, FOR MARK FISCHER?
[/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_56 (overall INTEGER, name VARCHAR)
Question: WHAT IS THE AVERAGE OVERALL, FOR MARK FISCHER?
Here is the SQLite query to answer to the question: WHAT IS THE AV... | bugdaryan/sql-create-context-instruction | |
[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 (game VARCHAR, platform_s_ VARCHAR, genre VARCHAR)
Question: What game has a platform(s) of playstation 3, when the genre is platform game?
[/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_33 (game VARCHAR, platform_s_ VARCHAR, genre VARCHAR)
Question: What game has a platform(s) of playstation 3, when the genre is platform game?
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_92 (round VARCHAR, year VARCHAR)
Question: What is Round when Year is 1987?
[/INST]
Here is the SQLite query to answer to the question: What is Round whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (round VARCHAR, year VARCHAR)
Question: What is Round when Year is 1987?
Here is the SQLite query to answer to the question: What is Round when Year is 198... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2840500_2 (nhl_team VARCHAR, player VARCHAR)
Question: Which team drafted Travis Brigley?
[/INST]
Here is the SQLite query to answer to the question: Which te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2840500_2 (nhl_team VARCHAR, player VARCHAR)
Question: Which team drafted Travis Brigley?
Here is the SQLite query to answer to the question: Which team drafted Tr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR)
Question: What is the sum of Points for 250cc class, ranked 13th, later than 1955?
[/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 (points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR)
Question: What is the sum of Points for 250cc class, ranked 13th, later than 1955?
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.