text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (place INTEGER, goals_scored VARCHAR, draw VARCHAR, goals_conceded VARCHAR)
Question: What is the lowest place with more than 26 goals scored, 18 goal... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (place INTEGER, goals_scored VARCHAR, draw VARCHAR, goals_conceded VARCHAR)
Question: What is the lowest place with more than 26 goals scored, 18 goals conc... | bugdaryan/sql-create-context-instruction | |
[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 (royal_house VARCHAR, name VARCHAR, state VARCHAR)
Question: What is the royal house for Wu at the state of cai?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (royal_house VARCHAR, name VARCHAR, state VARCHAR)
Question: What is the royal house for Wu at the state of cai?
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_30 (_number_tubes VARCHAR, audio_amp VARCHAR)
Question: Name the # tubes with audio amp of x
[/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_30 (_number_tubes VARCHAR, audio_amp VARCHAR)
Question: Name the # tubes with audio amp of x
Here is the SQLite query to answer to the question: Name the # tu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE INVOICE (CustomerId VARCHAR); CREATE TABLE CUSTOMER (Address VARCHAR, CustomerId VARCHAR, country VARCHAR)
Question: Find the address of all customers that live in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE INVOICE (CustomerId VARCHAR); CREATE TABLE CUSTOMER (Address VARCHAR, CustomerId VARCHAR, country VARCHAR)
Question: Find the address of all customers that live in German... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, height VARCHAR)
Question: Which player is 6-2?
[/INST]
Here is the SQLite query to answer to the question: Which player is 6-2?:
```
S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (player VARCHAR, height VARCHAR)
Question: Which player is 6-2?
Here is the SQLite query to answer to the question: Which player is 6-2?:
```
SELECT player ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10953197_3 (writer_s_ VARCHAR, production_code VARCHAR)
Question: Who are the writer(s) for the production code 2394084
[/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_10953197_3 (writer_s_ VARCHAR, production_code VARCHAR)
Question: Who are the writer(s) for the production code 2394084
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_8 (rank VARCHAR, rider VARCHAR)
Question: How many Ranks have ray pickrell as a Rider?
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (rank VARCHAR, rider VARCHAR)
Question: How many Ranks have ray pickrell as a Rider?
Here is the SQLite query to answer to the question: How many Ranks have... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (icao VARCHAR, country VARCHAR)
Question: What is the ICAO for Hong Kong?
[/INST]
Here is the SQLite query to answer to the question: What is the ICAO... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (icao VARCHAR, country VARCHAR)
Question: What is the ICAO for Hong Kong?
Here is the SQLite query to answer to the question: What is the ICAO for Hong Kon... | bugdaryan/sql-create-context-instruction | |
[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 (capacity VARCHAR, venue VARCHAR)
Question: What is the total number for Capacity at city stadium, borisov?
[/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_28 (capacity VARCHAR, venue VARCHAR)
Question: What is the total number for Capacity at city stadium, borisov?
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_name_61 (gold INTEGER, nation VARCHAR, silver VARCHAR)
Question: Switzerland has how many gold and less than 0 silver?
[/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_61 (gold INTEGER, nation VARCHAR, silver VARCHAR)
Question: Switzerland has how many gold and less than 0 silver?
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_19744915_15 (couple VARCHAR, total VARCHAR)
Question: What couple had a total score of 6?
[/INST]
Here is the SQLite query to answer to the question: What cou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19744915_15 (couple VARCHAR, total VARCHAR)
Question: What couple had a total score of 6?
Here is the SQLite query to answer to the question: What couple had a tot... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27616663_1 (order__number VARCHAR, theme VARCHAR)
Question: What was the order # of the theme Male Singers?
[/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_27616663_1 (order__number VARCHAR, theme VARCHAR)
Question: What was the order # of the theme Male Singers?
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 station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)
Question: Show the station name and number of trains in each station.
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)
Question: Show the station name and number of trains in each station.
Here is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (department VARCHAR, experience VARCHAR)
Question: What department as 6 years experience?
[/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_90 (department VARCHAR, experience VARCHAR)
Question: What department as 6 years experience?
Here is the SQLite query to answer to the question: What departme... | bugdaryan/sql-create-context-instruction | |
[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 (against INTEGER, competition VARCHAR, draw VARCHAR)
Question: What was the total against in uefa champions league/european cup with more than 1 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 (against INTEGER, competition VARCHAR, draw VARCHAR)
Question: What was the total against in uefa champions league/european cup with more than 1 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_189893_1 (population__2006_ INTEGER, percentage__2011_ VARCHAR)
Question: What is the lowest population(2006) when there is a 1.06% in 2011?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189893_1 (population__2006_ INTEGER, percentage__2011_ VARCHAR)
Question: What is the lowest population(2006) when there is a 1.06% in 2011?
Here is the SQLite 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_2482547_5 (name VARCHAR, balls_bowled VARCHAR)
Question: Who are all the players who've bowled more than 4969 balls?
[/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_2482547_5 (name VARCHAR, balls_bowled VARCHAR)
Question: Who are all the players who've bowled more than 4969 balls?
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_10812403_4 (college VARCHAR, cfl_team VARCHAR)
Question: What college's team is the Saskatchewan Roughriders?
[/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_10812403_4 (college VARCHAR, cfl_team VARCHAR)
Question: What college's team is the Saskatchewan Roughriders?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (draws INTEGER, losses INTEGER)
Question: What is the average Draws, when Losses is less than 2?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (draws INTEGER, losses INTEGER)
Question: What is the average Draws, when Losses is less than 2?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27969432_2 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed the episode written by karina csolty
[/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_27969432_2 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed the episode written by karina csolty
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_3 (city VARCHAR, language VARCHAR, website VARCHAR)
Question: Which city has spanish news on the website ultimahora.com ?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (city VARCHAR, language VARCHAR, website VARCHAR)
Question: Which city has spanish news on the website ultimahora.com ?
Here is the SQLite query to answer 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_76 (time VARCHAR, event VARCHAR)
Question: What was the record setting time in the 800m freestyle?
[/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_76 (time VARCHAR, event VARCHAR)
Question: What was the record setting time in the 800m freestyle?
Here is the SQLite query to answer to the question: What wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (league INTEGER, venue VARCHAR, club VARCHAR)
Question: Which League championship is the lowest one that has a Venue of penn state ice pavilion, 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_78 (league INTEGER, venue VARCHAR, club VARCHAR)
Question: Which League championship is the lowest one that has a Venue of penn state ice pavilion, and a Club ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23184448_3 (date VARCHAR, opponent VARCHAR)
Question: When did the team play against Niagara?
[/INST]
Here is the SQLite query to answer to the question: When... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23184448_3 (date VARCHAR, opponent VARCHAR)
Question: When did the team play against Niagara?
Here is the SQLite query to answer to the question: When did 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_6 (winner_and_score VARCHAR, week VARCHAR)
Question: who is the winner and score for the week of august 9?
[/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_6 (winner_and_score VARCHAR, week VARCHAR)
Question: who is the winner and score for the week of august 9?
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_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR)
Question: What is the sum of number of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR)
Question: What is the sum of number of bearer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (competition VARCHAR, date VARCHAR)
Question: Which competition was on 29 September 2007?
[/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_66 (competition VARCHAR, date VARCHAR)
Question: Which competition was on 29 September 2007?
Here is the SQLite query to answer to the question: Which competi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28677723_14 (style VARCHAR, total VARCHAR)
Question: Name the style for 27
[/INST]
Here is the SQLite query to answer to the question: Name the style for 27:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28677723_14 (style VARCHAR, total VARCHAR)
Question: Name the style for 27
Here is the SQLite query to answer to the question: Name the style for 27:
```
SELECT 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_57 (date VARCHAR, week VARCHAR)
Question: What is the date of week 4?
[/INST]
Here is the SQLite query to answer to the question: What is the date of wee... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (date VARCHAR, week VARCHAR)
Question: What is the date of week 4?
Here is the SQLite query to answer to the question: What is the date of week 4?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (location_attendance VARCHAR, team VARCHAR)
Question: What was the attendance during the game against Philadelphia?
[/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_name_45 (location_attendance VARCHAR, team VARCHAR)
Question: What was the attendance during the game against Philadelphia?
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_25800134_12 (director VARCHAR, airdate VARCHAR)
Question: Who directed the episode that aired on September 25, 1967?
[/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_25800134_12 (director VARCHAR, airdate VARCHAR)
Question: Who directed the episode that aired on September 25, 1967?
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_17 (date VARCHAR, tie_no VARCHAR)
Question: When has a Tie no of 15?
[/INST]
Here is the SQLite query to answer to the question: When has a Tie no of 15?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (date VARCHAR, tie_no VARCHAR)
Question: When has a Tie no of 15?
Here is the SQLite query to answer to the question: When has a Tie no of 15?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (last_match VARCHAR, date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
Question: What is the last match with a vacancy date of round 2 and Ney Franco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (last_match VARCHAR, date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
Question: What is the last match with a vacancy date of round 2 and Ney Franco as ou... | bugdaryan/sql-create-context-instruction | |
[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 (winning_team VARCHAR, date VARCHAR)
Question: Who was the winning team on July 13?
[/INST]
Here is the SQLite query to answer to the question: Who wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (winning_team VARCHAR, date VARCHAR)
Question: Who was the winning team on July 13?
Here is the SQLite query to answer to the question: Who was the winning... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, matches VARCHAR, wins VARCHAR, losses VARCHAR)
Question: Who has 1 win, 1 loss, and has played 2 matches?
[/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_77 (name VARCHAR, matches VARCHAR, wins VARCHAR, losses VARCHAR)
Question: Who has 1 win, 1 loss, and has played 2 matches?
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_86 (week_10_nov_2 VARCHAR, week_9_oct_26 VARCHAR)
Question: Which Week 10 Nov 2 has a Week 9 Oct 26 of lsu (5-2)?
[/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_86 (week_10_nov_2 VARCHAR, week_9_oct_26 VARCHAR)
Question: Which Week 10 Nov 2 has a Week 9 Oct 26 of lsu (5-2)?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (round INTEGER, method VARCHAR, opponent VARCHAR)
Question: What's the lowest round with the opponent John Howard that had a method of Decision (unani... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (round INTEGER, method VARCHAR, opponent VARCHAR)
Question: What's the lowest round with the opponent John Howard that had a method of Decision (unanimous)?... | bugdaryan/sql-create-context-instruction | |
[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 (governor VARCHAR, name VARCHAR)
Question: What is the party of the governor under Hugh Thomas Miller.
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (governor VARCHAR, name VARCHAR)
Question: What is the party of the governor under Hugh Thomas Miller.
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (south_west VARCHAR, center VARCHAR, north_east VARCHAR, north_west VARCHAR)
Question: Who is in the south-west next to Vishnu on the east, Durga on t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (south_west VARCHAR, center VARCHAR, north_east VARCHAR, north_west VARCHAR)
Question: Who is in the south-west next to Vishnu on the east, Durga on the wes... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (total VARCHAR, nation VARCHAR)
Question: What is the medal total of Denmark?
[/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_52 (total VARCHAR, nation VARCHAR)
Question: What is the medal total of Denmark?
Here is the SQLite query to answer to the question: What is the medal total 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_25 (points VARCHAR, points_for VARCHAR)
Question: What points has points for as points for?
[/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_25 (points VARCHAR, points_for VARCHAR)
Question: What points has points for as points for?
Here is the SQLite query to answer to the question: What points ha... | bugdaryan/sql-create-context-instruction | |
[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 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)
Question: What is the highest number of Seats 2006 held by the C... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)
Question: What is the highest number of Seats 2006 held by the Christi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (stage VARCHAR, winner VARCHAR)
Question: what is the stage when the winner is charly mottet?
[/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_80 (stage VARCHAR, winner VARCHAR)
Question: what is the stage when the winner is charly mottet?
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_70 (score VARCHAR, attendance VARCHAR)
Question: What was the score when the Rangers' attendance was 23,493?
[/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_70 (score VARCHAR, attendance VARCHAR)
Question: What was the score when the Rangers' attendance was 23,493?
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_13 (combativity_award VARCHAR, winner VARCHAR)
Question: Name the combativity award with winner of luis león sánchez
[/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_13 (combativity_award VARCHAR, winner VARCHAR)
Question: Name the combativity award with winner of luis león sánchez
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_27293285_2 (lost VARCHAR, bonus_points VARCHAR, won VARCHAR)
Question: How many losses did the club who had 9 bonus points and 11 wins have?
[/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_27293285_2 (lost VARCHAR, bonus_points VARCHAR, won VARCHAR)
Question: How many losses did the club who had 9 bonus points and 11 wins have?
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 (tamil VARCHAR, kannada VARCHAR)
Question: WHAT TAMIL HAS Kannada of budhavara?
[/INST]
Here is the SQLite query to answer to the question: WHAT TAMIL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (tamil VARCHAR, kannada VARCHAR)
Question: WHAT TAMIL HAS Kannada of budhavara?
Here is the SQLite query to answer to the question: WHAT TAMIL HAS Kannada ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Addresses (country VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: Which country... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Addresses (country VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: Which country does ... | bugdaryan/sql-create-context-instruction | |
[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 (talent_segment VARCHAR, index VARCHAR)
Question: For the event with index f9, what's the talent segment?
[/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_49 (talent_segment VARCHAR, index VARCHAR)
Question: For the event with index f9, what's the talent segment?
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_46 (record VARCHAR, game_site VARCHAR)
Question: What is the record when the game was played at raymond james stadium?
[/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_name_46 (record VARCHAR, game_site VARCHAR)
Question: What is the record when the game was played at raymond james stadium?
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_86 (notes VARCHAR, capacity__mw_ VARCHAR)
Question: What special notes are included for the windfarm with a capacity (MW) of 343?
[/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_86 (notes VARCHAR, capacity__mw_ VARCHAR)
Question: What special notes are included for the windfarm with a capacity (MW) of 343?
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_224672_2 (term_ended VARCHAR, term_began VARCHAR)
Question: When did the term end that began January 3, 2007?
[/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_224672_2 (term_ended VARCHAR, term_began VARCHAR)
Question: When did the term end that began January 3, 2007?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rating (rID VARCHAR, stars VARCHAR)
Question: Find the ids of reviewers who didn't only give 4 star.
[/INST]
Here is the SQLite query to answer to the question: Fin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rating (rID VARCHAR, stars VARCHAR)
Question: Find the ids of reviewers who didn't only give 4 star.
Here is the SQLite query to answer to the question: Find the ids 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_50 (tournament VARCHAR, runner_s__up VARCHAR)
Question: What tournament was Laura Davies the runner-up?
[/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_50 (tournament VARCHAR, runner_s__up VARCHAR)
Question: What tournament was Laura Davies the runner-up?
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_28561455_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR)
Question: For how many series were there 11.84 million watchers?
[/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_28561455_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR)
Question: For how many series were there 11.84 million watchers?
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_14 (record VARCHAR, leading_scorer VARCHAR)
Question: What is the record of the game with Rudy Gay (20) as the leading scorer?
[/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_14 (record VARCHAR, leading_scorer VARCHAR)
Question: What is the record of the game with Rudy Gay (20) as the leading scorer?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (score INTEGER, year VARCHAR, placement VARCHAR)
Question: What is the lowest score for a year before 2008 and had 3rd place?
[/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_89 (score INTEGER, year VARCHAR, placement VARCHAR)
Question: What is the lowest score for a year before 2008 and had 3rd place?
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_27378582_1 (current_womens_lacrosse_conference VARCHAR, enrollment VARCHAR)
Question: Name the current womens lacrosse conference for 6000 enrollment
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, enrollment VARCHAR)
Question: Name the current womens lacrosse conference for 6000 enrollment
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_4 (loss VARCHAR, record VARCHAR)
Question: Name the loss with record of 71-33
[/INST]
Here is the SQLite query to answer to the question: Name the loss w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (loss VARCHAR, record VARCHAR)
Question: Name the loss with record of 71-33
Here is the SQLite query to answer to the question: Name the loss with record 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_2 (ratio VARCHAR, in_×_in VARCHAR)
Question: Which Ratio has an in × in of 17 × 22?
[/INST]
Here is the SQLite query to answer to the question: Which Rat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (ratio VARCHAR, in_×_in VARCHAR)
Question: Which Ratio has an in × in of 17 × 22?
Here is the SQLite query to answer to the question: Which Ratio has an in ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (result VARCHAR, opponent VARCHAR)
Question: What is Result, when Opponent is New England Patriots?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (result VARCHAR, opponent VARCHAR)
Question: What is Result, when Opponent is New England Patriots?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (team_2 VARCHAR)
Question: What is the 2nd leg for Barcelona Team 2?
[/INST]
Here is the SQLite query to answer to the question: What is the 2nd leg f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (team_2 VARCHAR)
Question: What is the 2nd leg for Barcelona Team 2?
Here is the SQLite query to answer to the question: What is the 2nd leg for Barcelona ... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance of the game in week 6?
[/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_9 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance of the game in week 6?
Here is the SQLite query to answer to the question: What was 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_22839669_12 (year INTEGER, money_list_rank VARCHAR)
Question: In what year was his money list rank 3?
[/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_22839669_12 (year INTEGER, money_list_rank VARCHAR)
Question: In what year was his money list rank 3?
Here is the SQLite query to answer to the question: In what ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (stadium VARCHAR, score VARCHAR)
Question: For the match ending in a score of 66-20, what was the stadium?
[/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_92 (stadium VARCHAR, score VARCHAR)
Question: For the match ending in a score of 66-20, what was the stadium?
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_1628607_5 (points_won VARCHAR, year VARCHAR)
Question: When the year was 1992, what were the points won?
[/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_1628607_5 (points_won VARCHAR, year VARCHAR)
Question: When the year was 1992, what were the points won?
Here is the SQLite query to answer to the question: When 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_23958944_5 (no_by_season INTEGER, us_viewers__in_millions_ VARCHAR)
Question: What episode was watched by 10.81 million US viewers?
[/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_23958944_5 (no_by_season INTEGER, us_viewers__in_millions_ VARCHAR)
Question: What episode was watched by 10.81 million US viewers?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR)
Question: What is the Record of the game on November 15 against Visitor Chicago Black H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR)
Question: What is the Record of the game on November 15 against Visitor Chicago Black Hawks 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_214920_1 (land_area VARCHAR, density__pop_per_km2_ VARCHAR)
Question: What is the land area of the RCM having a density of 21.1?
[/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_214920_1 (land_area VARCHAR, density__pop_per_km2_ VARCHAR)
Question: What is the land area of the RCM having a density of 21.1?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (competition VARCHAR, location VARCHAR, result VARCHAR)
Question: What is the competition in tokyo with the result loss?
[/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_3 (competition VARCHAR, location VARCHAR, result VARCHAR)
Question: What is the competition in tokyo with the result loss?
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_11964154_9 (location_attendance VARCHAR, high_rebounds VARCHAR)
Question: what's the location attendance where high rebounds is nick collison (14)
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11964154_9 (location_attendance VARCHAR, high_rebounds VARCHAR)
Question: what's the location attendance where high rebounds is nick collison (14)
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_1434788_5 (first_elected VARCHAR, incumbent VARCHAR)
Question: When was incumbent John Thomas Wilson first elected?
[/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_1434788_5 (first_elected VARCHAR, incumbent VARCHAR)
Question: When was incumbent John Thomas Wilson first elected?
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_1211545_2 (light_vehicle VARCHAR, location VARCHAR)
Question: What is the toll for light vehicles at the plaza between bela bela and modimolle?
[/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_1211545_2 (light_vehicle VARCHAR, location VARCHAR)
Question: What is the toll for light vehicles at the plaza between bela bela and modimolle?
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_80 (sample_size VARCHAR, republican VARCHAR)
Question: What was the sample size for the poll featuring Republican Ron Paul?
[/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_80 (sample_size VARCHAR, republican VARCHAR)
Question: What was the sample size for the poll featuring Republican Ron Paul?
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_2161859_1 (series__number VARCHAR, title VARCHAR)
Question: What is the series number for the Golden Frog?
[/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_2161859_1 (series__number VARCHAR, title VARCHAR)
Question: What is the series number for the Golden Frog?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (number VARCHAR, language VARCHAR)
Question: What is the number of the belarusian language?
[/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_11 (number VARCHAR, language VARCHAR)
Question: What is the number of the belarusian language?
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_11 (election VARCHAR)
Question: What 2nd Party has an Election of 1834?
[/INST]
Here is the SQLite query to answer to the question: What 2nd Party has an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (election VARCHAR)
Question: What 2nd Party has an Election of 1834?
Here is the SQLite query to answer to the question: What 2nd Party has an Election 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_86 (money___ INTEGER, player VARCHAR)
Question: What are Tiger Woods' average earnings?
[/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_86 (money___ INTEGER, player VARCHAR)
Question: What are Tiger Woods' average earnings?
Here is the SQLite query to answer to the question: What are Tiger Woo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (team VARCHAR, lost VARCHAR)
Question: Which team has 10 losses?
[/INST]
Here is the SQLite query to answer to the question: Which team has 10 losses?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (team VARCHAR, lost VARCHAR)
Question: Which team has 10 losses?
Here is the SQLite query to answer to the question: Which team has 10 losses?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR)
Question: What is the highest number of goals against when the number of goals wer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR)
Question: What is the highest number of goals against when the number of goals were 55 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_78 (co_drivers VARCHAR, laps VARCHAR, year VARCHAR)
Question: What is Co-Drivers, when Laps is greater than 196, and when Year is before 2010?
[/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_78 (co_drivers VARCHAR, laps VARCHAR, year VARCHAR)
Question: What is Co-Drivers, when Laps is greater than 196, and when Year is before 2010?
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_83 (location_attendance VARCHAR, score VARCHAR)
Question: What is the location and attendance when the score as w 117–109 (ot)?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (location_attendance VARCHAR, score VARCHAR)
Question: What is the location and attendance when the score as w 117–109 (ot)?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (team_wins INTEGER, individual_winners VARCHAR, total_wins VARCHAR)
Question: Which Team wins has an Individual winner smaller than 1 and Total win la... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (team_wins INTEGER, individual_winners VARCHAR, total_wins VARCHAR)
Question: Which Team wins has an Individual winner smaller than 1 and Total win larger 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_16 (overall VARCHAR, pick__number INTEGER)
Question: What is the Overall of the pick less than 20?
[/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_16 (overall VARCHAR, pick__number INTEGER)
Question: What is the Overall of the pick less than 20?
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_79 (constructor VARCHAR, tyre VARCHAR, driver VARCHAR)
Question: Who constructed Mike Sparken's car with a tyre of E?
[/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_79 (constructor VARCHAR, tyre VARCHAR, driver VARCHAR)
Question: Who constructed Mike Sparken's car with a tyre of E?
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_49 (decile VARCHAR, roll VARCHAR, authority VARCHAR, area VARCHAR)
Question: What is the total Decile that has a state authority, fairlie area and roll s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (decile VARCHAR, roll VARCHAR, authority VARCHAR, area VARCHAR)
Question: What is the total Decile that has a state authority, fairlie area and roll smarter... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2923917_4 (melbourne VARCHAR, distance VARCHAR)
Question: How many listings under Melbourne has a distance at 15km?
[/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_2923917_4 (melbourne VARCHAR, distance VARCHAR)
Question: How many listings under Melbourne has a distance at 15km?
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_name_13 (fuml INTEGER, att VARCHAR, long VARCHAR)
Question: I want to know the average Fuml for Att of 5 and long more than 7
[/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_13 (fuml INTEGER, att VARCHAR, long VARCHAR)
Question: I want to know the average Fuml for Att of 5 and long more than 7
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_27704187_7 (high_rebounds VARCHAR, team VARCHAR)
Question: Who did the high rebounds in the game against Boston?
[/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_27704187_7 (high_rebounds VARCHAR, team VARCHAR)
Question: Who did the high rebounds in the game against Boston?
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_90 (team VARCHAR, sacks VARCHAR, season VARCHAR)
Question: what is the team when sacks is 0 and the season is earlier than 1998?
[/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_90 (team VARCHAR, sacks VARCHAR, season VARCHAR)
Question: what is the team when sacks is 0 and the season is earlier than 1998?
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_37 (terminus VARCHAR, length VARCHAR)
Question: What terminus is 3.5km in lenght?
[/INST]
Here is the SQLite query to answer to the question: What termin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (terminus VARCHAR, length VARCHAR)
Question: What terminus is 3.5km in lenght?
Here is the SQLite query to answer to the question: What terminus is 3.5km 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_37 (attendance VARCHAR, loss VARCHAR)
Question: What's the attendance of the game where there was a Loss of Yates (3-2)?
[/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_37 (attendance VARCHAR, loss VARCHAR)
Question: What's the attendance of the game where there was a Loss of Yates (3-2)?
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_2351952_1 (country VARCHAR, serial_numbers VARCHAR)
Question: The serial numbers 713096-713119 are in which country?
[/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_2351952_1 (country VARCHAR, serial_numbers VARCHAR)
Question: The serial numbers 713096-713119 are in which country?
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_21 (injured VARCHAR, country VARCHAR)
Question: What is Injured, when Country is "Afghanistan"?
[/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_21 (injured VARCHAR, country VARCHAR)
Question: What is Injured, when Country is "Afghanistan"?
Here is the SQLite query to answer to the question: What is In... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (crowd INTEGER, venue VARCHAR)
Question: What is the lowest crowd size at MCG?
[/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_91 (crowd INTEGER, venue VARCHAR)
Question: What is the lowest crowd size at MCG?
Here is the SQLite query to answer to the question: What is the lowest crowd... | bugdaryan/sql-create-context-instruction | |
[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 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR)
Question: Name the horsepower for VIN code of h and engine for 351-2v cleveland v8
[/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_94 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR)
Question: Name the horsepower for VIN code of h and engine for 351-2v cleveland v8
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (championship VARCHAR, score VARCHAR)
Question: What Championship has Scores of 6–3, 2–6, 3–6, 6–3, 3–6?
[/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 (championship VARCHAR, score VARCHAR)
Question: What Championship has Scores of 6–3, 2–6, 3–6, 6–3, 3–6?
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_52 (engine VARCHAR, chassis VARCHAR)
Question: What engine did the porsche 718 chassis use?
[/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_52 (engine VARCHAR, chassis VARCHAR)
Question: What engine did the porsche 718 chassis use?
Here is the SQLite query to answer to the question: What engine 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_15607589_2 (first_downs VARCHAR, points_against VARCHAR)
Question: Name the first downs for points against being 0
[/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_15607589_2 (first_downs VARCHAR, points_against VARCHAR)
Question: Name the first downs for points against being 0
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_86 (date VARCHAR, record VARCHAR)
Question: Which Date has a Record of 6-9?
[/INST]
Here is the SQLite query to answer to the question: Which Date 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_86 (date VARCHAR, record VARCHAR)
Question: Which Date has a Record of 6-9?
Here is the SQLite query to answer to the question: Which Date has a Record of 6-9... | 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.