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_18 (score VARCHAR, opponent VARCHAR)
Question: What was the score of the game against the phoenix suns?
[/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_18 (score VARCHAR, opponent VARCHAR)
Question: What was the score of the game against the phoenix suns?
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_27781212_1 (winnings VARCHAR, driver VARCHAR)
Question: how many winnings does jeff gordon have?
[/INST]
Here is the SQLite query to answer to the question: h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR)
Question: how many winnings does jeff gordon have?
Here is the SQLite query to answer to the question: how many winni... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, date VARCHAR)
Question: Tell me the result of july 16, 2000
[/INST]
Here is the SQLite query to answer to the question: Tell me the r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)
Question: Tell me the result of july 16, 2000
Here is the SQLite query to answer to the question: Tell me the result of july... | bugdaryan/sql-create-context-instruction | |
[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 (money___$__ VARCHAR, to_par VARCHAR)
Question: What is the Money ($) amount of the Player with a To par of e?
[/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_2 (money___$__ VARCHAR, to_par VARCHAR)
Question: What is the Money ($) amount of the Player with a To par of e?
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_32 (position VARCHAR, pick INTEGER)
Question: What was the position of the player picked at 243?
[/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_32 (position VARCHAR, pick INTEGER)
Question: What was the position of the player picked at 243?
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_17941032_3 (points VARCHAR, tries_for VARCHAR)
Question: Name the points when tries for is 49
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17941032_3 (points VARCHAR, tries_for VARCHAR)
Question: Name the points when tries for is 49
Here is the SQLite query to answer to the question: Name the points 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_21 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team in the match against Luton Town?
[/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_21 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team in the match against Luton Town?
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_18018214_1 (position INTEGER, draws VARCHAR)
Question: What is the highest position a team with 7 draws earned?
[/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_18018214_1 (position INTEGER, draws VARCHAR)
Question: What is the highest position a team with 7 draws earned?
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_2509112_3 (cuchumuela_municipality INTEGER)
Question: What is the Cuchumela Municipality minimum?
[/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_2509112_3 (cuchumuela_municipality INTEGER)
Question: What is the Cuchumela Municipality minimum?
Here is the SQLite query to answer to the question: What is the C... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: List the name of all the distinct ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: List the name of all the distinct custom... | bugdaryan/sql-create-context-instruction | |
[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 (width INTEGER, frame_size VARCHAR, height VARCHAR)
Question: What is the smallest width for a frame size of 5k and a height shorter than 2700?
[/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 (width INTEGER, frame_size VARCHAR, height VARCHAR)
Question: What is the smallest width for a frame size of 5k and a height shorter than 2700?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (total INTEGER, rank VARCHAR, bronze VARCHAR)
Question: What is the sum of Total, when Rank is 8, and when Bronze is less than 1?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (total INTEGER, rank VARCHAR, bronze VARCHAR)
Question: What is the sum of Total, when Rank is 8, and when Bronze is less than 1?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (wins INTEGER, percent VARCHAR, teams VARCHAR)
Question: what is the average wins when percent is more than 0.4 and teams is chargers~?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (wins INTEGER, percent VARCHAR, teams VARCHAR)
Question: what is the average wins when percent is more than 0.4 and teams is chargers~?
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_10 (game INTEGER, record VARCHAR)
Question: What's the highest game found when the record is 2-1?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (game INTEGER, record VARCHAR)
Question: What's the highest game found when the record is 2-1?
Here is the SQLite query to answer to the question: What's 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_28 (pepe_michinoku VARCHAR, ryuji_hijikata VARCHAR)
Question: What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)?
[/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_28 (pepe_michinoku VARCHAR, ryuji_hijikata VARCHAR)
Question: What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)?
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_15873014_3 (high_assists VARCHAR, team VARCHAR)
Question: How many players had the most assists against New Jersey?
[/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_15873014_3 (high_assists VARCHAR, team VARCHAR)
Question: How many players had the most assists against New Jersey?
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_20396710_1 (won VARCHAR, points_for VARCHAR)
Question: how many won 83 points for?
[/INST]
Here is the SQLite query to answer to the question: how many won 83... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20396710_1 (won VARCHAR, points_for VARCHAR)
Question: how many won 83 points for?
Here is the SQLite query to answer to the question: how many won 83 points 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_36 (class VARCHAR, quantity_made VARCHAR, fleet_number_s_ VARCHAR)
Question: What class had 1 made and fleet number of 406?
[/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_36 (class VARCHAR, quantity_made VARCHAR, fleet_number_s_ VARCHAR)
Question: What class had 1 made and fleet number of 406?
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_61 (area_km_2 INTEGER, member_state VARCHAR, population_in_millions VARCHAR)
Question: What is the lowest area km2 of the member state of the Czech Repub... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (area_km_2 INTEGER, member_state VARCHAR, population_in_millions VARCHAR)
Question: What is the lowest area km2 of the member state of the Czech Republic 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_43 (rider VARCHAR, time_retired VARCHAR)
Question: Who is the rider whose time/retired is accident?
[/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_43 (rider VARCHAR, time_retired VARCHAR)
Question: Who is the rider whose time/retired is accident?
Here is the SQLite query to answer to the question: Who 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_35 (largest_city VARCHAR)
Question: What is the 3rd largest where the largest city is Ardabil?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (largest_city VARCHAR)
Question: What is the 3rd largest where the largest city is Ardabil?
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_17088705_2 (swimsuit VARCHAR, preliminary VARCHAR)
Question: Give swimsuit scores of participants 8.847 in preliminary
[/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_17088705_2 (swimsuit VARCHAR, preliminary VARCHAR)
Question: Give swimsuit scores of participants 8.847 in preliminary
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_27332038_1 (original_air_date VARCHAR, production_code VARCHAR)
Question: when was the episode with production code "2arg01" originally aired?
[/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_27332038_1 (original_air_date VARCHAR, production_code VARCHAR)
Question: when was the episode with production code "2arg01" originally aired?
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_70 (grid INTEGER, time_retired VARCHAR, qual VARCHAR)
Question: What is the smallest grid with a Time/Retired of engine, and a qual of less than 138.75?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (grid INTEGER, time_retired VARCHAR, qual VARCHAR)
Question: What is the smallest grid with a Time/Retired of engine, and a qual of less than 138.75?
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 Claims (Amount_Settled VARCHAR, Amount_Claimed VARCHAR)
Question: Among all the claims, what is the amount claimed in the claim with the least amount settled? List ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Claims (Amount_Settled VARCHAR, Amount_Claimed VARCHAR)
Question: Among all the claims, what is the amount claimed in the claim with the least amount settled? List both 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_24330803_1 (poles INTEGER, season VARCHAR)
Question: How many pole positions were there for the 2011 season?
[/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_24330803_1 (poles INTEGER, season VARCHAR)
Question: How many pole positions were there for the 2011 season?
Here is the SQLite query to answer to the question: H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (played INTEGER, losses VARCHAR, wins VARCHAR)
Question: How many Played that has Losses of 6, and Wins larger than 33?
[/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_61 (played INTEGER, losses VARCHAR, wins VARCHAR)
Question: How many Played that has Losses of 6, and Wins larger than 33?
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_10 (erp_w INTEGER, call_sign VARCHAR)
Question: What is the highest ERP W with a w216bo call sign?
[/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_10 (erp_w INTEGER, call_sign VARCHAR)
Question: What is the highest ERP W with a w216bo call sign?
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_97 (overall VARCHAR, college VARCHAR, round VARCHAR)
Question: How many overall values have a college of Notre Dame and rounds over 2?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (overall VARCHAR, college VARCHAR, round VARCHAR)
Question: How many overall values have a college of Notre Dame and rounds over 2?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (player VARCHAR, pick VARCHAR)
Question: Which player is it that has a pick of 147?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (player VARCHAR, pick VARCHAR)
Question: Which player is it that has a pick of 147?
Here is the SQLite query to answer to the question: Which player is it ... | bugdaryan/sql-create-context-instruction | |
[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 (field VARCHAR, date VARCHAR)
Question: What is the field of the game on July 22?
[/INST]
Here is the SQLite query to answer to the question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (field VARCHAR, date VARCHAR)
Question: What is the field of the game on July 22?
Here is the SQLite query to answer to the question: What is the field of 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 (venue VARCHAR, round VARCHAR, result VARCHAR)
Question: Which Venue has a Round of gs, and a Result of 0–3?
[/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_2 (venue VARCHAR, round VARCHAR, result VARCHAR)
Question: Which Venue has a Round of gs, and a Result of 0–3?
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_76 (wins INTEGER, top_25 VARCHAR, events VARCHAR)
Question: What is the highest number of wins that has a top-25 of 13 and events less than 32?
[/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 (wins INTEGER, top_25 VARCHAR, events VARCHAR)
Question: What is the highest number of wins that has a top-25 of 13 and events less than 32?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (duration VARCHAR, actor VARCHAR)
Question: What is the duration that has pietro genuardi as the actor?
[/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_42 (duration VARCHAR, actor VARCHAR)
Question: What is the duration that has pietro genuardi as the actor?
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 (popular_votes INTEGER, candidate VARCHAR)
Question: How many votes did candice sjostrom receive?
[/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_94 (popular_votes INTEGER, candidate VARCHAR)
Question: How many votes did candice sjostrom receive?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (date VARCHAR, catalog VARCHAR)
Question: What is the Date for Catalog of lp 5060?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (date VARCHAR, catalog VARCHAR)
Question: What is the Date for Catalog of lp 5060?
Here is the SQLite query to answer to the question: What is 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_63 (location_attendance VARCHAR, date VARCHAR)
Question: What is Location Attendance, when Date is "December 30"?
[/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_63 (location_attendance VARCHAR, date VARCHAR)
Question: What is Location Attendance, when Date is "December 30"?
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_13 (college VARCHAR, name VARCHAR, pick__number VARCHAR, round VARCHAR)
Question: Which College has a Pick # larger than 25, and a Round of 7, and a Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (college VARCHAR, name VARCHAR, pick__number VARCHAR, round VARCHAR)
Question: Which College has a Pick # larger than 25, and a Round of 7, and a Name of ch... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, title VARCHAR)
Question: What is the name of the queen regnant?
[/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_48 (name VARCHAR, title VARCHAR)
Question: What is the name of the queen regnant?
Here is the SQLite query to answer to the question: What is the name of 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_20061872_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
Question: When was the film Här har du ditt liv used in nomination?
[/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_20061872_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
Question: When was the film Här har du ditt liv used in nomination?
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_1555308_1 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)
Question: In which condition(s) is bleeding time prolonged and prothrombin time... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1555308_1 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)
Question: In which condition(s) is bleeding time prolonged and prothrombin time unaff... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, club VARCHAR)
Question: What scores did the RSC Anderlecht club have?
[/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_68 (score VARCHAR, club VARCHAR)
Question: What scores did the RSC Anderlecht club have?
Here is the SQLite query to answer to the question: What scores did 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_96 (entrant VARCHAR, rounds VARCHAR)
Question: The rounds of 1-2, 4-10, 12 belong to which entrant?
[/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_96 (entrant VARCHAR, rounds VARCHAR)
Question: The rounds of 1-2, 4-10, 12 belong to which entrant?
Here is the SQLite query to answer to the question: The ro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR, Type VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR, Type VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17697980_1 (no_of_episodes INTEGER, year VARCHAR)
Question: What is the largest number of episodes for a 1989 season dvd release?
[/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_17697980_1 (no_of_episodes INTEGER, year VARCHAR)
Question: What is the largest number of episodes for a 1989 season dvd release?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (matrix INTEGER, recording_date VARCHAR)
Question: what is the highest matrix when the recording date is 1926/03?
[/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_33 (matrix INTEGER, recording_date VARCHAR)
Question: what is the highest matrix when the recording date is 1926/03?
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_66 (starts VARCHAR, earnings__$_ VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)
Question: How many Starts that have Cuts made of 2, Top 25 larger than 0, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (starts VARCHAR, earnings__$_ VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)
Question: How many Starts that have Cuts made of 2, Top 25 larger than 0, and Earn... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Project_Staff (role_code VARCHAR)
Question: How many kinds of roles are there for the staff?
[/INST]
Here is the SQLite query to answer to the question: How many ki... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Project_Staff (role_code VARCHAR)
Question: How many kinds of roles are there for the staff?
Here is the SQLite query to answer to the question: How many kinds of roles ... | bugdaryan/sql-create-context-instruction | |
[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 (against INTEGER, wins VARCHAR, wimmera_fl VARCHAR)
Question: What is the lowest against of the wimmera fl warrack eagles, which have less than 16 win... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (against INTEGER, wins VARCHAR, wimmera_fl VARCHAR)
Question: What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins?
He... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, set_1 VARCHAR)
Question: Which Score has a Set 1 of 25–16?
[/INST]
Here is the SQLite query to answer to the question: Which Score has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (score VARCHAR, set_1 VARCHAR)
Question: Which Score has a Set 1 of 25–16?
Here is the SQLite query to answer to the question: Which Score has a Set 1 of 2... | bugdaryan/sql-create-context-instruction | |
[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 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
Question: What score in the final has hard as the surface, and june 13, 2011 as the date?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
Question: What score in the final has hard as the surface, and june 13, 2011 as the date?
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_55 (opponent VARCHAR, record VARCHAR)
Question: Who was the opponent that led to a record of 23-5?
[/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_55 (opponent VARCHAR, record VARCHAR)
Question: Who was the opponent that led to a record of 23-5?
Here is the SQLite query to answer to the question: Who was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25342713_5 (steals VARCHAR, rebounds VARCHAR)
Question: If the rebounds are at 87, what are the amount of steals?
[/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_25342713_5 (steals VARCHAR, rebounds VARCHAR)
Question: If the rebounds are at 87, what are the amount of steals?
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_62 (career_win_loss VARCHAR, career_sr VARCHAR)
Question: What is the result in 1985 when the career win-loss is n/a, and 0 / 23 as the career SR?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (career_win_loss VARCHAR, career_sr VARCHAR)
Question: What is the result in 1985 when the career win-loss is n/a, and 0 / 23 as the career SR?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (competition VARCHAR, event VARCHAR, venue VARCHAR, position VARCHAR)
Question: what is the competition in paris for the parallel bars with a position ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (competition VARCHAR, event VARCHAR, venue VARCHAR, position VARCHAR)
Question: what is the competition in paris for the parallel bars with a position of 1st... | bugdaryan/sql-create-context-instruction | |
[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 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: What was the average week for the gaime against the philadelphia eagles with less than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: What was the average week for the gaime against the philadelphia eagles with less than 31,066... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27383390_4 (team VARCHAR, date_of_vacancy VARCHAR)
Question: What is the team with the date of vacancy 8 dec 2010?
[/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_27383390_4 (team VARCHAR, date_of_vacancy VARCHAR)
Question: What is the team with the date of vacancy 8 dec 2010?
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_35 (partial_failures INTEGER, failures VARCHAR, successes VARCHAR, launches VARCHAR)
Question: Successes smaller than 6, and Launches larger than 1, and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (partial_failures INTEGER, failures VARCHAR, successes VARCHAR, launches VARCHAR)
Question: Successes smaller than 6, and Launches larger than 1, and a Fail... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677691_7 (player VARCHAR, college VARCHAR)
Question: Which player is from Utah?
[/INST]
Here is the SQLite query to answer to the question: Which player is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677691_7 (player VARCHAR, college VARCHAR)
Question: Which player is from Utah?
Here is the SQLite query to answer to the question: Which player is from Utah?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (drawn VARCHAR, tries_for VARCHAR)
Question: What is the drawn number when there are 58 tries?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (drawn VARCHAR, tries_for VARCHAR)
Question: What is the drawn number when there are 58 tries?
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_64 (country VARCHAR, area_in_m² VARCHAR)
Question: What country has area of 7,914 m²?
[/INST]
Here is the SQLite query to answer to the question: What co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (country VARCHAR, area_in_m² VARCHAR)
Question: What country has area of 7,914 m²?
Here is the SQLite query to answer to the question: What country has 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_71 (fatalities VARCHAR, aircraft VARCHAR)
Question: What was the number of fatalities for the Viscount 700?
[/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_71 (fatalities VARCHAR, aircraft VARCHAR)
Question: What was the number of fatalities for the Viscount 700?
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_21 (average INTEGER, state VARCHAR, interview VARCHAR)
Question: What is the Average for South Carolina with an Interview less than 9.626?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (average INTEGER, state VARCHAR, interview VARCHAR)
Question: What is the Average for South Carolina with an Interview less than 9.626?
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_19249824_1 (song VARCHAR, result VARCHAR, country VARCHAR)
Question: With the country of Sweden and the result is out, what is the song?
[/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_19249824_1 (song VARCHAR, result VARCHAR, country VARCHAR)
Question: With the country of Sweden and the result is out, what is the song?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (award_show VARCHAR, year VARCHAR, category VARCHAR)
Question: On which award show was Bad Girls nominated for Most Popular Drama in 2004?
[/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_66 (award_show VARCHAR, year VARCHAR, category VARCHAR)
Question: On which award show was Bad Girls nominated for Most Popular Drama in 2004?
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_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many original air dates totaled 26.06 million viewers?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many original air dates totaled 26.06 million viewers?
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (record VARCHAR, time VARCHAR)
Question: Who holds the record time of 24.521 and where was it made?
[/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_12 (record VARCHAR, time VARCHAR)
Question: Who holds the record time of 24.521 and where was it made?
Here is the SQLite query to answer to the question: Who... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (division VARCHAR, regular_season VARCHAR, year VARCHAR)
Question: When the regular season of 2nd, Northeast and the year was less than 2008 what was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (division VARCHAR, regular_season VARCHAR, year VARCHAR)
Question: When the regular season of 2nd, Northeast and the year was less than 2008 what was the 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_31 (venue VARCHAR, score VARCHAR, date VARCHAR)
Question: What venue hosted a match with a 3-0 score on December 7, 2002?
[/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_31 (venue VARCHAR, score VARCHAR, date VARCHAR)
Question: What venue hosted a match with a 3-0 score on December 7, 2002?
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 (born___died VARCHAR, notable_for VARCHAR)
Question: The person notable for tennis died in what year?
[/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_1 (born___died VARCHAR, notable_for VARCHAR)
Question: The person notable for tennis died in what year?
Here is the SQLite query to answer to the question: 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_82 (rank INTEGER, studio VARCHAR, director VARCHAR)
Question: What was the average rank for the film directed by roland emmerich under the studio of 20th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (rank INTEGER, studio VARCHAR, director VARCHAR)
Question: What was the average rank for the film directed by roland emmerich under the studio of 20th centu... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, opponent VARCHAR, player VARCHAR)
Question: What year for geelong player john roberts?
[/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_77 (year VARCHAR, opponent VARCHAR, player VARCHAR)
Question: What year for geelong player john roberts?
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_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR)
Question: What is the total PL G of player pennant, who has less than 7 C... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR)
Question: What is the total PL G of player pennant, who has less than 7 CL G, l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14981555_3 (venue VARCHAR, race VARCHAR)
Question: How many venues had a race called the Australia Stakes?
[/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_14981555_3 (venue VARCHAR, race VARCHAR)
Question: How many venues had a race called the Australia Stakes?
Here is the SQLite query to answer to the question: How ... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, club_province VARCHAR, player VARCHAR)
Question: Which position has a club of Meralomas and a player named David Biddle?
[/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_59 (position VARCHAR, club_province VARCHAR, player VARCHAR)
Question: Which position has a club of Meralomas and a player named David Biddle?
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_15 (west_lancashire INTEGER, pendle VARCHAR, rossendale VARCHAR)
Question: What is the highest rated West Lancashire with a Pendle greater than 1 and a R... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (west_lancashire INTEGER, pendle VARCHAR, rossendale VARCHAR)
Question: What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossend... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE professor (prof_high_degree VARCHAR)
Question: How many professors who has a either Ph.D. or MA degree?
[/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 professor (prof_high_degree VARCHAR)
Question: How many professors who has a either Ph.D. or MA degree?
Here is the SQLite query to answer to the question: How many prof... | bugdaryan/sql-create-context-instruction | |
[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 (season INTEGER, date VARCHAR)
Question: What is the most recent season with a date of 27 October 1957?
[/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_43 (season INTEGER, date VARCHAR)
Question: What is the most recent season with a date of 27 October 1957?
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_36 (year VARCHAR, points VARCHAR, engine VARCHAR)
Question: Which year had a Cosworth V8 engine and 12 points?
[/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_36 (year VARCHAR, points VARCHAR, engine VARCHAR)
Question: Which year had a Cosworth V8 engine and 12 points?
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_24 (opponent VARCHAR, loss VARCHAR)
Question: What opponent has tomko (1-1) as a loss?
[/INST]
Here is the SQLite query to answer to the question: What o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (opponent VARCHAR, loss VARCHAR)
Question: What opponent has tomko (1-1) as a loss?
Here is the SQLite query to answer to the question: What opponent has 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_47 (career_sr VARCHAR)
Question: What was the career SR with a value of A in 1980 and F in 1997?
[/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_47 (career_sr VARCHAR)
Question: What was the career SR with a value of A in 1980 and F in 1997?
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_44 (Id VARCHAR)
Question: What's the 1996 when 1997 is 3R?
[/INST]
Here is the SQLite query to answer to the question: What's the 1996 when 1997 is 3R?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (Id VARCHAR)
Question: What's the 1996 when 1997 is 3R?
Here is the SQLite query to answer to the question: What's the 1996 when 1997 is 3R?:
```
SELECT 19... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR)
Question: What are ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR)
Question: What are the na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (release_price___usd__ VARCHAR, model_number VARCHAR)
Question: What was the release price of the Atom Z510PT processor?
[/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_53 (release_price___usd__ VARCHAR, model_number VARCHAR)
Question: What was the release price of the Atom Z510PT processor?
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_54 (score VARCHAR, january VARCHAR, record VARCHAR)
Question: What is the score of the game before January 22 with a 30-7-7 record?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (score VARCHAR, january VARCHAR, record VARCHAR)
Question: What is the score of the game before January 22 with a 30-7-7 record?
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_11411026_2 (directed_by VARCHAR, no_in_series VARCHAR)
Question: How many titles were directed in series 79?
[/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_11411026_2 (directed_by VARCHAR, no_in_series VARCHAR)
Question: How many titles were directed in series 79?
Here is the SQLite query to answer to the question: Ho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (result VARCHAR, film VARCHAR, award VARCHAR)
Question: What is Result, when Film is "Dharma Chakram", and when Award is "Nandi Award for Best Actor"?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (result VARCHAR, film VARCHAR, award VARCHAR)
Question: What is Result, when Film is "Dharma Chakram", and when Award is "Nandi Award for Best Actor"?
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_62 (away_team VARCHAR, tie_no VARCHAR)
Question: Which away team has a tie number of 14?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (away_team VARCHAR, tie_no VARCHAR)
Question: Which away team has a tie number of 14?
Here is the SQLite query to answer to the question: Which away team h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (record VARCHAR, home VARCHAR)
Question: Which record was for Warriors at home?
[/INST]
Here is the SQLite query to answer to the question: Which reco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (record VARCHAR, home VARCHAR)
Question: Which record was for Warriors at home?
Here is the SQLite query to answer to the question: Which record was for 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_12562214_1 (notes VARCHAR, date__from_ VARCHAR)
Question: what are the notes for date (from) 12 august 1897?
[/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_12562214_1 (notes VARCHAR, date__from_ VARCHAR)
Question: what are the notes for date (from) 12 august 1897?
Here is the SQLite query to answer to the question: wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)
Question: Which nation has total medals under 63, less than 2 silver, mo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)
Question: Which nation has total medals under 63, less than 2 silver, more tha... | bugdaryan/sql-create-context-instruction | |
[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 (drawn INTEGER, points VARCHAR, played VARCHAR)
Question: What is the average drawn number of the team with less than 70 points and less than 46 playe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (drawn INTEGER, points VARCHAR, played VARCHAR)
Question: What is the average drawn number of the team with less than 70 points and less than 46 played?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25374338_1 (song_choice VARCHAR, original_artist VARCHAR)
Question: What is the song choice where the original artist is Gino Paoli?
[/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_25374338_1 (song_choice VARCHAR, original_artist VARCHAR)
Question: What is the song choice where the original artist is Gino Paoli?
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 flight (velocity INTEGER, pilot VARCHAR)
Question: What is the velocity of the pilot named 'Thompson'?
[/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 flight (velocity INTEGER, pilot VARCHAR)
Question: What is the velocity of the pilot named 'Thompson'?
Here is the SQLite query to answer to the question: What is the ve... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, chassis VARCHAR)
Question: What is the low score for the jaguar r3 chasis?
[/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 (points INTEGER, chassis VARCHAR)
Question: What is the low score for the jaguar r3 chasis?
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_61 (place VARCHAR, score VARCHAR)
Question: WHAT IS THE PLACE WITH A SCORE OF 67-70=137?
[/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_61 (place VARCHAR, score VARCHAR)
Question: WHAT IS THE PLACE WITH A SCORE OF 67-70=137?
Here is the SQLite query to answer to the question: WHAT IS THE PLACE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17039232_3 (replaced_by VARCHAR, position_in_table VARCHAR)
Question: Name the replaced by for position in table is 1st
[/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_17039232_3 (replaced_by VARCHAR, position_in_table VARCHAR)
Question: Name the replaced by for position in table is 1st
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_73 (title VARCHAR, leading_lady VARCHAR, director VARCHAR)
Question: In which title was Ann Rutherford the leading lady for Joseph Kane?
[/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_73 (title VARCHAR, leading_lady VARCHAR, director VARCHAR)
Question: In which title was Ann Rutherford the leading lady for Joseph Kane?
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_29 (al_ahly_wins INTEGER, draws VARCHAR, el_zamalek_wins VARCHAR)
Question: What is the fewest Al Ahly wins for El Zamalek wins of 0 and 0 draws?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (al_ahly_wins INTEGER, draws VARCHAR, el_zamalek_wins VARCHAR)
Question: What is the fewest Al Ahly wins for El Zamalek wins of 0 and 0 draws?
Here is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (player VARCHAR, score VARCHAR)
Question: Which golfer had a score of 69-71=140?
[/INST]
Here is the SQLite query to answer to the question: Which gol... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (player VARCHAR, score VARCHAR)
Question: Which golfer had a score of 69-71=140?
Here is the SQLite query to answer to the question: Which golfer had a sco... | 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.