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 (goal_difference INTEGER, club VARCHAR, wins VARCHAR)
Question: What is the lowest goal difference of club real betis, who has less than 18 wins?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (goal_difference INTEGER, club VARCHAR, wins VARCHAR)
Question: What is the lowest goal difference of club real betis, who has less than 18 wins?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (date VARCHAR, away_team VARCHAR)
Question: What is Date, when Away Team is Kangaroos?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (date VARCHAR, away_team VARCHAR)
Question: What is Date, when Away Team is Kangaroos?
Here is the SQLite query to answer to the question: What is Date, wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (october INTEGER, record VARCHAR, game VARCHAR)
Question: What is the highest date in october for a game number larger than 8 with a record of 4-4-0?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (october INTEGER, record VARCHAR, game VARCHAR)
Question: What is the highest date in october for a game number larger than 8 with a record of 4-4-0?
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_84 (loss VARCHAR, date VARCHAR)
Question: Who took the loss on the April 6 game?
[/INST]
Here is the SQLite query to answer to the question: Who took 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 (loss VARCHAR, date VARCHAR)
Question: Who took the loss on the April 6 game?
Here is the SQLite query to answer to the question: Who took the loss on 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_61 (play VARCHAR, company VARCHAR)
Question: what is the play when the company is cyprus theatre organisation?
[/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_61 (play VARCHAR, company VARCHAR)
Question: what is the play when the company is cyprus theatre organisation?
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 PURCHASES (purchase_details VARCHAR, purchase_transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, amount_of_transaction INTEGER)
Question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE PURCHASES (purchase_details VARCHAR, purchase_transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, amount_of_transaction INTEGER)
Question: What ar... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR)
Question: WHAT DID HAWTHORN SCORE AT ITS AWAY GAME?
[/INST]
Here is the SQLite query to answer to the question: WHAT DID HAWTHORN ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (away_team VARCHAR)
Question: WHAT DID HAWTHORN SCORE AT ITS AWAY GAME?
Here is the SQLite query to answer to the question: WHAT DID HAWTHORN SCORE AT ITS ... | bugdaryan/sql-create-context-instruction | |
[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 (elimination VARCHAR, team VARCHAR)
Question: Which Elimination Move is listed at Elimination 8 for Team Batista?
[/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_90 (elimination VARCHAR, team VARCHAR)
Question: Which Elimination Move is listed at Elimination 8 for Team Batista?
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_23286158_10 (high_points VARCHAR, record VARCHAR)
Question: When 48-30 is the record who has the highest amount of points?
[/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_23286158_10 (high_points VARCHAR, record VARCHAR)
Question: When 48-30 is the record who has the highest amount of points?
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_21602734_1 (division INTEGER)
Question: What is the lowest division number?
[/INST]
Here is the SQLite query to answer to the question: What is the lowest div... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21602734_1 (division INTEGER)
Question: What is the lowest division number?
Here is the SQLite query to answer to the question: What is the lowest division number?... | bugdaryan/sql-create-context-instruction | |
[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 (nominated_work_title VARCHAR, year VARCHAR, award VARCHAR, result VARCHAR, organisation VARCHAR)
Question: what is the nominated work title when 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 (nominated_work_title VARCHAR, year VARCHAR, award VARCHAR, result VARCHAR, organisation VARCHAR)
Question: what is the nominated work title when the result... | bugdaryan/sql-create-context-instruction | |
[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 (m809_series VARCHAR, wheelbase VARCHAR, m939_series VARCHAR)
Question: Name the M809 series for short wheelbase and M939 series of M931/932
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (m809_series VARCHAR, wheelbase VARCHAR, m939_series VARCHAR)
Question: Name the M809 series for short wheelbase and M939 series of M931/932
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26996293_2 (player VARCHAR, cfl_team VARCHAR)
Question: where cfl team is winnipeg (3) via hamilton what are all the player
[/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_26996293_2 (player VARCHAR, cfl_team VARCHAR)
Question: where cfl team is winnipeg (3) via hamilton what are all the player
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_14981555_3 (venue VARCHAR, date VARCHAR)
Question: How many venues were used on 10 Mar 2007?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14981555_3 (venue VARCHAR, date VARCHAR)
Question: How many venues were used on 10 Mar 2007?
Here is the SQLite query to answer to the question: How many venues we... | bugdaryan/sql-create-context-instruction | |
[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 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)
Question: Who has the title and rank 14, and a worldwide gross of $202,292,902?
[/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_83 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)
Question: Who has the title and rank 14, and a worldwide gross of $202,292,902?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (athlete VARCHAR, result VARCHAR)
Question: What was the athlete with a final result of 4.30?
[/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_48 (athlete VARCHAR, result VARCHAR)
Question: What was the athlete with a final result of 4.30?
Here is the SQLite query to answer to the question: What was ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (coach VARCHAR, last_yr VARCHAR, yr_plyf VARCHAR, w_l_percentage VARCHAR, first_yr VARCHAR)
Question: Who is the coach with a w-l% greater than 0.516,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (coach VARCHAR, last_yr VARCHAR, yr_plyf VARCHAR, w_l_percentage VARCHAR, first_yr VARCHAR)
Question: Who is the coach with a w-l% greater than 0.516, a fir... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20850527_1 (wildcats_points INTEGER, record VARCHAR)
Question: What is the lowest points scored by the Wildcats when the record was 5-1?
[/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_20850527_1 (wildcats_points INTEGER, record VARCHAR)
Question: What is the lowest points scored by the Wildcats when the record was 5-1?
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_23528223_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many season numbers are there for the episode seen by 13.54 million people in t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23528223_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many season numbers are there for the episode seen by 13.54 million people in the US?... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, college VARCHAR)
Question: What is Position, when College is "Houston"?
[/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_97 (position VARCHAR, college VARCHAR)
Question: What is Position, when College is "Houston"?
Here is the SQLite query to answer to the question: What is Posi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (game VARCHAR, result VARCHAR)
Question: WHAT GAME HAD A SCORE OF 99-112?
[/INST]
Here is the SQLite query to answer to the question: WHAT GAME HAD A ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (game VARCHAR, result VARCHAR)
Question: WHAT GAME HAD A SCORE OF 99-112?
Here is the SQLite query to answer to the question: WHAT GAME HAD A SCORE OF 99-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_1847523_2 (station VARCHAR, city_of_license__market VARCHAR)
Question: What are all the stations with a license in Cincinnati?
[/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_1847523_2 (station VARCHAR, city_of_license__market VARCHAR)
Question: What are all the stations with a license in Cincinnati?
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_11961582_10 (location_attendance VARCHAR, high_rebounds VARCHAR)
Question: What is the location when the high rebounds was from A. Horford (13)?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11961582_10 (location_attendance VARCHAR, high_rebounds VARCHAR)
Question: What is the location when the high rebounds was from A. Horford (13)?
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_16034882_4 (draws INTEGER, club VARCHAR)
Question: How many draws did švyturys Klaipėda have?
[/INST]
Here is the SQLite query to answer to the question: How ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16034882_4 (draws INTEGER, club VARCHAR)
Question: How many draws did švyturys Klaipėda have?
Here is the SQLite query to answer to the question: How many draws 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_20760802_1 (played VARCHAR, won VARCHAR)
Question: How many teams that played won 0 games?
[/INST]
Here is the SQLite query to answer to the question: How man... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20760802_1 (played VARCHAR, won VARCHAR)
Question: How many teams that played won 0 games?
Here is the SQLite query to answer to the question: How many teams that ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE catalog_structure (catalog_level_name VARCHAR, catalog_level_number VARCHAR); CREATE TABLE catalog_contents (catalog_level_number VARCHAR, price_in_dollars VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE catalog_structure (catalog_level_name VARCHAR, catalog_level_number VARCHAR); CREATE TABLE catalog_contents (catalog_level_number VARCHAR, price_in_dollars VARCHAR)
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_19 (english_title VARCHAR, director VARCHAR)
Question: What is the English title for the film directed by George Miller?
[/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_19 (english_title VARCHAR, director VARCHAR)
Question: What is the English title for the film directed by George Miller?
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_27 (overall_pick INTEGER, position VARCHAR, nfl_draft VARCHAR)
Question: What is the highest overall pick that has c as the position, with an NFL Draft g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (overall_pick INTEGER, position VARCHAR, nfl_draft VARCHAR)
Question: What is the highest overall pick that has c as the position, with an NFL Draft greater... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, score VARCHAR)
Question: Who was the player with a score of 70-69=139?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (player VARCHAR, score VARCHAR)
Question: Who was the player with a score of 70-69=139?
Here is the SQLite query to answer to the question: Who was the pla... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (score VARCHAR, opponents VARCHAR, partner VARCHAR, surface VARCHAR)
Question: what is the score when the partner is florencia labat, the surface is c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (score VARCHAR, opponents VARCHAR, partner VARCHAR, surface VARCHAR)
Question: what is the score when the partner is florencia labat, the surface is clay, 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_42 (year VARCHAR, score VARCHAR, location VARCHAR, runner_up VARCHAR)
Question: How many years had a location at Forest Hills and a score of 6–3, 6–3 for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (year VARCHAR, score VARCHAR, location VARCHAR, runner_up VARCHAR)
Question: How many years had a location at Forest Hills and a score of 6–3, 6–3 for John ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17607663_1 (builder VARCHAR, br_no VARCHAR)
Question: Who is the builder for br no. 31779?
[/INST]
Here is the SQLite query to answer to the question: Who is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17607663_1 (builder VARCHAR, br_no VARCHAR)
Question: Who is the builder for br no. 31779?
Here is the SQLite query to answer to the question: Who is the builder 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 WINE (Price INTEGER, Score INTEGER, Appelation VARCHAR)
Question: What are the maximum price and score of wines produced by St. Helena appelation?
[/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 WINE (Price INTEGER, Score INTEGER, Appelation VARCHAR)
Question: What are the maximum price and score of wines produced by St. Helena appelation?
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_name_89 (match_report VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR)
Question: What was the Match Report for the Euro2008q at the Athens Olympic S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (match_report VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR)
Question: What was the Match Report for the Euro2008q at the Athens Olympic Stadium... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, series_premiere VARCHAR)
Question: Which country had a series that premiered on September 4, 2006?
[/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_77 (country VARCHAR, series_premiere VARCHAR)
Question: Which country had a series that premiered on September 4, 2006?
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_99 (geo_id INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR)
Question: What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (geo_id INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR)
Question: What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi 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_178408_1 (year_built INTEGER, church_name VARCHAR)
Question: Name the most year built for davik kyrkje
[/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_178408_1 (year_built INTEGER, church_name VARCHAR)
Question: Name the most year built for davik kyrkje
Here is the SQLite query to answer to the question: Name 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_16295365_1 (conf_record VARCHAR, conference VARCHAR)
Question: For teams in the Sun Belt conference, what is the conference record?
[/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_16295365_1 (conf_record VARCHAR, conference VARCHAR)
Question: For teams in the Sun Belt conference, what is the conference record?
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 (industrial_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (industrial_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
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_81 (common_english VARCHAR, abbr VARCHAR)
Question: What is the common english word with the abbr of ai?
[/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_81 (common_english VARCHAR, abbr VARCHAR)
Question: What is the common english word with the abbr of ai?
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_13 (height__cm_ INTEGER, weight__kg_ VARCHAR)
Question: What is the sum of Height (cm), when the Weight (kg) is 90?
[/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_13 (height__cm_ INTEGER, weight__kg_ VARCHAR)
Question: What is the sum of Height (cm), when the Weight (kg) is 90?
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_17 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
Question: What is the highest Gold that has a Silver less than 7 and Bronze less than 0
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
Question: What is the highest Gold that has a Silver less than 7 and Bronze less than 0
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (date VARCHAR, writer_s_ VARCHAR)
Question: On what date was Edward Jeffreys the writer?
[/INST]
Here is the SQLite query to answer to the question: O... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (date VARCHAR, writer_s_ VARCHAR)
Question: On what date was Edward Jeffreys the writer?
Here is the SQLite query to answer to the question: On what date w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (total_viewers VARCHAR, share INTEGER)
Question: When the shares were less than 8, how many total viewers were there?
[/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_12 (total_viewers VARCHAR, share INTEGER)
Question: When the shares were less than 8, how many total viewers were there?
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_19 (country VARCHAR, total VARCHAR, player VARCHAR)
Question: What is Country, when Total is less than 148, and when Player is "Gary Player"?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (country VARCHAR, total VARCHAR, player VARCHAR)
Question: What is Country, when Total is less than 148, and when Player is "Gary Player"?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (venue VARCHAR, away_team VARCHAR)
Question: Where was the game when Melbourne was the away team?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (venue VARCHAR, away_team VARCHAR)
Question: Where was the game when Melbourne was the away team?
Here is the SQLite query to answer to the question: Where... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (score VARCHAR, record VARCHAR)
Question: WHAT SCORE HAD A RECORD OF 1-1?
[/INST]
Here is the SQLite query to answer to the question: WHAT SCORE HAD A... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (score VARCHAR, record VARCHAR)
Question: WHAT SCORE HAD A RECORD OF 1-1?
Here is the SQLite query to answer to the question: WHAT SCORE HAD A RECORD OF 1-... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)
Question: Which school(s) had a wide receiver drafted in round 4?
[/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_16 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)
Question: Which school(s) had a wide receiver drafted in round 4?
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_61 (surface VARCHAR, championship VARCHAR)
Question: What is the surface of the palermo, italy championship?
[/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_61 (surface VARCHAR, championship VARCHAR)
Question: What is the surface of the palermo, italy championship?
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 manufacturers (revenue INTEGER)
Question: What are the average, maximum and total revenues of all companies?
[/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 manufacturers (revenue INTEGER)
Question: What are the average, maximum and total revenues of all companies?
Here is the SQLite query to answer to the question: What are... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (crowd INTEGER, venue VARCHAR)
Question: What was the attendance when the VFL played Glenferrie Oval?
[/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_82 (crowd INTEGER, venue VARCHAR)
Question: What was the attendance when the VFL played Glenferrie Oval?
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_58 (points VARCHAR, season VARCHAR, winner VARCHAR)
Question: How many points when John Vopni won a season before 1977?
[/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_58 (points VARCHAR, season VARCHAR, winner VARCHAR)
Question: How many points when John Vopni won a season before 1977?
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_18 (attendance INTEGER, date VARCHAR)
Question: What was the attendance during the november 16, 1975 game?
[/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_18 (attendance INTEGER, date VARCHAR)
Question: What was the attendance during the november 16, 1975 game?
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_94 (magazine_type VARCHAR, magazine_run VARCHAR)
Question: What is the magazine type that ran from March 3, 2009–February 5, 2010?
[/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_94 (magazine_type VARCHAR, magazine_run VARCHAR)
Question: What is the magazine type that ran from March 3, 2009–February 5, 2010?
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_28 (crowd VARCHAR, venue VARCHAR)
Question: What was the listed crowd at junction oval?
[/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_28 (crowd VARCHAR, venue VARCHAR)
Question: What was the listed crowd at junction oval?
Here is the SQLite query to answer to the question: What was the liste... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (uefa_cup VARCHAR, total INTEGER)
Question: What is the total number of UEFA Cup(s), when Total is greater than 3?
[/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_44 (uefa_cup VARCHAR, total INTEGER)
Question: What is the total number of UEFA Cup(s), when Total is greater than 3?
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_12 (goals_against INTEGER, draws VARCHAR, wins VARCHAR, points VARCHAR, goal_difference VARCHAR)
Question: What is the highest goals against when points ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (goals_against INTEGER, draws VARCHAR, wins VARCHAR, points VARCHAR, goal_difference VARCHAR)
Question: What is the highest goals against when points are la... | bugdaryan/sql-create-context-instruction | |
[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 (shooter VARCHAR, total VARCHAR)
Question: Which shooter was the olympic bronze medalist?
[/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_75 (shooter VARCHAR, total VARCHAR)
Question: Which shooter was the olympic bronze medalist?
Here is the SQLite query to answer to the question: Which shooter... | bugdaryan/sql-create-context-instruction | |
[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 (parent_magazine VARCHAR, title VARCHAR)
Question: What is the parent magazine of Dengeki g's festival! deluxe?
[/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_78 (parent_magazine VARCHAR, title VARCHAR)
Question: What is the parent magazine of Dengeki g's festival! deluxe?
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_18 (leader VARCHAR, votes VARCHAR, seats VARCHAR, percentage VARCHAR)
Question: Who is the leader of the party which has Seats less than 28, a percentage... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (leader VARCHAR, votes VARCHAR, seats VARCHAR, percentage VARCHAR)
Question: Who is the leader of the party which has Seats less than 28, a percentage of vo... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, runner_up VARCHAR)
Question: What year shows as Runner-up of england (24 pts)?
[/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_6 (year VARCHAR, runner_up VARCHAR)
Question: What year shows as Runner-up of england (24 pts)?
Here is the SQLite query to answer to the question: What year ... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, player VARCHAR, tries VARCHAR)
Question: What is the average number of points scored by Joe Vagana when making fewer than 2 tries?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (points INTEGER, player VARCHAR, tries VARCHAR)
Question: What is the average number of points scored by Joe Vagana when making fewer than 2 tries?
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_12962773_2 (player VARCHAR, position VARCHAR)
Question: What player plays center?
[/INST]
Here is the SQLite query to answer to the question: What player play... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_2 (player VARCHAR, position VARCHAR)
Question: What player plays center?
Here is the SQLite query to answer to the question: What player plays center?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (country_state VARCHAR, location VARCHAR, year VARCHAR)
Question: Which country had des moines as the location in 2011?
[/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_68 (country_state VARCHAR, location VARCHAR, year VARCHAR)
Question: Which country had des moines as the location in 2011?
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_27409644_1 (ground VARCHAR, club VARCHAR)
Question: What is the home location for team flora tallinn?
[/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_27409644_1 (ground VARCHAR, club VARCHAR)
Question: What is the home location for team flora tallinn?
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_14603212_5 (class_aAAA VARCHAR, school_year VARCHAR)
Question: What are all the AAAA classes in the schools years 2004-05?
[/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_14603212_5 (class_aAAA VARCHAR, school_year VARCHAR)
Question: What are all the AAAA classes in the schools years 2004-05?
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_67 (player VARCHAR, position VARCHAR, club_province VARCHAR)
Question: Which player Munster from Munster is a fly-half?
[/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_67 (player VARCHAR, position VARCHAR, club_province VARCHAR)
Question: Which player Munster from Munster is a fly-half?
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_14650162_1 (position VARCHAR, college VARCHAR)
Question: What is the position of the player whose college is Western Kentucky?
[/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_14650162_1 (position VARCHAR, college VARCHAR)
Question: What is the position of the player whose college is Western Kentucky?
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_1 (location VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)
Question: Where is the IHSAA Class of aaa school with more than 590 enrolled?
[/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_1 (location VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)
Question: Where is the IHSAA Class of aaa school with more than 590 enrolled?
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_21 (prize VARCHAR, winner VARCHAR)
Question: What is Prize, when Winner is "John Shaw"?
[/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_21 (prize VARCHAR, winner VARCHAR)
Question: What is Prize, when Winner is "John Shaw"?
Here is the SQLite query to answer to the question: What is Prize, whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11748792_2 (friday VARCHAR, monday VARCHAR)
Question: Who is the friday presenter for each show, when the monday presenter is Emma Willis Jamie East?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11748792_2 (friday VARCHAR, monday VARCHAR)
Question: Who is the friday presenter for each show, when the monday presenter is Emma Willis Jamie East?
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_85 (other VARCHAR, firefox VARCHAR)
Question: What is the other that has 20.80% as the firefox?
[/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_85 (other VARCHAR, firefox VARCHAR)
Question: What is the other that has 20.80% as the firefox?
Here is the SQLite query to answer to the question: What 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_47 (event VARCHAR, record VARCHAR)
Question: Which Event has a Record of 19-9?
[/INST]
Here is the SQLite query to answer to the question: Which Event ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (event VARCHAR, record VARCHAR)
Question: Which Event has a Record of 19-9?
Here is the SQLite query to answer to the question: Which Event has a 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_78 (country VARCHAR, notes VARCHAR, athlete VARCHAR)
Question: What is Alan Campbell's Country with Notes of FA?
[/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_78 (country VARCHAR, notes VARCHAR, athlete VARCHAR)
Question: What is Alan Campbell's Country with Notes of FA?
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_81 (score INTEGER, player VARCHAR)
Question: What is the lowest score that wes ellis got?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (score INTEGER, player VARCHAR)
Question: What is the lowest score that wes ellis got?
Here is the SQLite query to answer to the question: What is the lowe... | bugdaryan/sql-create-context-instruction | |
[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 (prohibition_ticket VARCHAR, progressive_ticket VARCHAR)
Question: What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (prohibition_ticket VARCHAR, progressive_ticket VARCHAR)
Question: What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, venue VARCHAR)
Question: What is the smallest Crowd number for the Venue named Princes Park?
[/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_96 (crowd INTEGER, venue VARCHAR)
Question: What is the smallest Crowd number for the Venue named Princes Park?
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_1140067_2 (date VARCHAR, race VARCHAR)
Question: What was the date for monaco grand prix?
[/INST]
Here is the SQLite query to answer to the question: What was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1140067_2 (date VARCHAR, race VARCHAR)
Question: What was the date for monaco grand prix?
Here is the SQLite query to answer to the question: What was the date for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (record VARCHAR, december VARCHAR, score VARCHAR)
Question: Which Record has a December smaller than 22 and a Score of 4–3?
[/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_58 (record VARCHAR, december VARCHAR, score VARCHAR)
Question: Which Record has a December smaller than 22 and a Score of 4–3?
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_2 (type VARCHAR, scratch VARCHAR)
Question: What type has a scratch of 750 GB?
[/INST]
Here is the SQLite query to answer to the question: What type has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR)
Question: What type has a scratch of 750 GB?
Here is the SQLite query to answer to the question: What type has a scratch 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_41 (chassis VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR)
Question: What is the Chassis having a year later than 1990, and Minardi Scuderia Ita... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (chassis VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR)
Question: What is the Chassis having a year later than 1990, and Minardi Scuderia Italia as... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE train (name VARCHAR)
Question: How many trains have 'Express' in their names?
[/INST]
Here is the SQLite query to answer to the question: How many trains have 'Expr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE train (name VARCHAR)
Question: How many trains have 'Express' in their names?
Here is the SQLite query to answer to the question: How many trains have 'Express' in their... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, attendance INTEGER)
Question: What venue has more than 50,715 attending?
[/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_45 (venue VARCHAR, attendance INTEGER)
Question: What venue has more than 50,715 attending?
Here is the SQLite query to answer to the question: What venue has... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (rank INTEGER, result VARCHAR, group VARCHAR, athlete VARCHAR)
Question: What is the average rank for Group A athlete Yanina Karolchyk, and a result h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (rank INTEGER, result VARCHAR, group VARCHAR, athlete VARCHAR)
Question: What is the average rank for Group A athlete Yanina Karolchyk, and a result higher ... | bugdaryan/sql-create-context-instruction | |
[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 (page__number VARCHAR, word__number VARCHAR, bits VARCHAR)
Question: What is the page count and word count greater than 5 with Bits of 18–22?
[/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 (page__number VARCHAR, word__number VARCHAR, bits VARCHAR)
Question: What is the page count and word count greater than 5 with Bits of 18–22?
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_89 (player VARCHAR, date VARCHAR)
Question: Which Player has a Date of sep. 2008?
[/INST]
Here is the SQLite query to answer to the question: Which Playe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (player VARCHAR, date VARCHAR)
Question: Which Player has a Date of sep. 2008?
Here is the SQLite query to answer to the question: Which Player has a Date ... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, home VARCHAR)
Question: What is the average attendance San Jose home games?
[/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_81 (attendance INTEGER, home VARCHAR)
Question: What is the average attendance San Jose home games?
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_15869204_7 (high_rebounds VARCHAR, date VARCHAR)
Question: What were the high rebounds on February 24?
[/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_15869204_7 (high_rebounds VARCHAR, date VARCHAR)
Question: What were the high rebounds on February 24?
Here is the SQLite query to answer to the question: What wer... | bugdaryan/sql-create-context-instruction | |
[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 (killeen_rate INTEGER, crime VARCHAR, texas_rate VARCHAR, reported_offenses VARCHAR, us_rate VARCHAR)
Question: Reported Offenses larger than 216, and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (killeen_rate INTEGER, crime VARCHAR, texas_rate VARCHAR, reported_offenses VARCHAR, us_rate VARCHAR)
Question: Reported Offenses larger than 216, and a U.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_18064020_21 (brup VARCHAR, name VARCHAR)
Question: What is the total brup for the team?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18064020_21 (brup VARCHAR, name VARCHAR)
Question: What is the total brup for the team?
Here is the SQLite query to answer to the question: What is the total brup ... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Name the team with laps of 97 and grid of 3
[/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_79 (team VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Name the team with laps of 97 and grid of 3
Here is the SQLite query to answer to the question: Name 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_2 (office VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: Which Office has a Party of dem, and a First Elected of 1991†?
[/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_2 (office VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: Which Office has a Party of dem, and a First Elected of 1991†?
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_7 (rank INTEGER, nation VARCHAR)
Question: What is the lowest rank that spain got?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (rank INTEGER, nation VARCHAR)
Question: What is the lowest rank that spain got?
Here is the SQLite query to answer to the question: What is the lowest rank... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, long VARCHAR, avg VARCHAR)
Question: Which player has a long of less than 15 and an average of 6 yards.
[/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_73 (player VARCHAR, long VARCHAR, avg VARCHAR)
Question: Which player has a long of less than 15 and an average of 6 yards.
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_2626564_2 (top_10 INTEGER, position VARCHAR)
Question: How many top 10's did Pearson have the year he was in 8th position?
[/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_2626564_2 (top_10 INTEGER, position VARCHAR)
Question: How many top 10's did Pearson have the year he was in 8th position?
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_57 (president VARCHAR, year VARCHAR)
Question: Who was the president in 1999?
[/INST]
Here is the SQLite query to answer to the question: Who was the pre... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (president VARCHAR, year VARCHAR)
Question: Who was the president in 1999?
Here is the SQLite query to answer to the question: Who was the president in 199... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (ground VARCHAR, home_team VARCHAR)
Question: What is the name of the home stadium of Brisbane Lions?
[/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_93 (ground VARCHAR, home_team VARCHAR)
Question: What is the name of the home stadium of Brisbane Lions?
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_51 (place VARCHAR, score VARCHAR)
Question: What is the place of the 68-69-73=210?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR)
Question: What is the place of the 68-69-73=210?
Here is the SQLite query to answer to the question: What is the place of th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24334163_1 (Winners INTEGER)
Question: What is the least amount of playoff legs won?
[/INST]
Here is the SQLite query to answer to the question: What is the l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24334163_1 (Winners INTEGER)
Question: What is the least amount of playoff legs won?
Here is the SQLite query to answer to the question: What is the least amount 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_95 (date VARCHAR, away_team VARCHAR)
Question: What is the Date of the Everton Away game?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)
Question: What is the Date of the Everton Away game?
Here is the SQLite query to answer to the question: What is the Date... | 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.