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_98 (injured VARCHAR, date VARCHAR)
Question: What is Injured, when Date is "09.15 Sep. 15"?
[/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_98 (injured VARCHAR, date VARCHAR)
Question: What is Injured, when Date is "09.15 Sep. 15"?
Here is the SQLite query to answer to the question: What is Injure... | bugdaryan/sql-create-context-instruction | |
[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 (manner_of_departure VARCHAR, team VARCHAR)
Question: What is Motherwell Team's manner of departure?
[/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_57 (manner_of_departure VARCHAR, team VARCHAR)
Question: What is Motherwell Team's manner of departure?
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_29 (top_5 INTEGER, wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)
Question: what is the highest top-5 when the top-25 is less than 4, cuts made is more... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (top_5 INTEGER, wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)
Question: what is the highest top-5 when the top-25 is less than 4, cuts made is more than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (entrant VARCHAR, chassis VARCHAR)
Question: Which entrant had a chassis of March CG891?
[/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_20 (entrant VARCHAR, chassis VARCHAR)
Question: Which entrant had a chassis of March CG891?
Here is the SQLite query to answer to the question: Which entrant ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)
Question: How many MotoGP winners were there when the circuit was Catalunya?
[/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_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)
Question: How many MotoGP winners were there when the circuit was Catalunya?
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_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR)
Question: How many samples taken from producer Qingdao Suncare Nutritional ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR)
Question: How many samples taken from producer Qingdao Suncare Nutritional Techno... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29679510_2 (week INTEGER)
Question: In what week was the first game played?
[/INST]
Here is the SQLite query to answer to the question: In what week was the f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29679510_2 (week INTEGER)
Question: In what week was the first game played?
Here is the SQLite query to answer to the question: In what week was the first game 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_87 (silver INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)
Question: What is the average amount of silver medals Montenegro, who has less than 15... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (silver INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)
Question: What is the average amount of silver medals Montenegro, who has less than 15 bronz... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE BOOKINGS (Status_Code VARCHAR)
Question: What is the most frequent status of bookings?
[/INST]
Here is the SQLite query to answer to the question: What is the most ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE BOOKINGS (Status_Code VARCHAR)
Question: What is the most frequent status of bookings?
Here is the SQLite query to answer to the question: What is the most frequent stat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR)
Question: What is the date of the finale where Holly Bell was runner-up?
[/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_28962227_1 (finale VARCHAR, runners_up VARCHAR)
Question: What is the date of the finale where Holly Bell was runner-up?
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_14 (record VARCHAR, event VARCHAR)
Question: What is the record during the event, UFC 27?
[/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_14 (record VARCHAR, event VARCHAR)
Question: What is the record during the event, UFC 27?
Here is the SQLite query to answer to the question: What is the reco... | bugdaryan/sql-create-context-instruction | |
[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 (release_date VARCHAR, sspec_number VARCHAR)
Question: Which Release date has a sSpec number of sr0pk(e1)?
[/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_55 (release_date VARCHAR, sspec_number VARCHAR)
Question: Which Release date has a sSpec number of sr0pk(e1)?
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_22871316_6 (high_points VARCHAR, date VARCHAR)
Question: Who did the high points in the game played on December 2?
[/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_22871316_6 (high_points VARCHAR, date VARCHAR)
Question: Who did the high points in the game played on December 2?
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_2 (label VARCHAR, region VARCHAR, catalog VARCHAR)
Question: Tell me the label for US region and catalog of 10008-2
[/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_2 (label VARCHAR, region VARCHAR, catalog VARCHAR)
Question: Tell me the label for US region and catalog of 10008-2
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_42 (place VARCHAR, score VARCHAR)
Question: In which area was there a score of 68?
[/INST]
Here is the SQLite query to answer to the question: In which 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 (place VARCHAR, score VARCHAR)
Question: In which area was there a score of 68?
Here is the SQLite query to answer to the question: In which area was there... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR)
Question: What line is 24.7 km and head towards Toyohashi East?
[/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_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR)
Question: What line is 24.7 km and head towards Toyohashi East?
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_29778616_1 (price VARCHAR, manufacturer VARCHAR)
Question: What is the price for the manufacturer LETech?
[/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_29778616_1 (price VARCHAR, manufacturer VARCHAR)
Question: What is the price for the manufacturer LETech?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29087004_3 (title VARCHAR, written_by VARCHAR)
Question: What are the titles of episodes written by Eric Trueheart?
[/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_29087004_3 (title VARCHAR, written_by VARCHAR)
Question: What are the titles of episodes written by Eric Trueheart?
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_22460085_1 (character VARCHAR, original_manchester_performer VARCHAR)
Question: What character did Lisa Davina Phillip portray?
[/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_22460085_1 (character VARCHAR, original_manchester_performer VARCHAR)
Question: What character did Lisa Davina Phillip portray?
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_14876228_1 (losses VARCHAR, team VARCHAR)
Question: Name the losses for general caballero zc
[/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_14876228_1 (losses VARCHAR, team VARCHAR)
Question: Name the losses for general caballero zc
Here is the SQLite query to answer to the question: Name the losses fo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Order_items (product_id VARCHAR, order_id VARCHAR)
Question: Show the product ids and the number of unique orders containing each product.
[/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 Order_items (product_id VARCHAR, order_id VARCHAR)
Question: Show the product ids and the number of unique orders containing each product.
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (distance VARCHAR, stage VARCHAR)
Question: What's the distance of the course of stage 4?
[/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_73 (distance VARCHAR, stage VARCHAR)
Question: What's the distance of the course of stage 4?
Here is the SQLite query to answer to the question: What's the 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 customer (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE rental (staff_id VARCHAR, customer_id VARCHAR); CREATE TABLE staff (first_name VARCHA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE rental (staff_id VARCHAR, customer_id VARCHAR); CREATE TABLE staff (first_name VARCHAR, las... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR)
Question: What is the lowest division in the playoffs and did not qualify for the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR)
Question: What is the lowest division in the playoffs and did not qualify for the Open ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2896329_1 (handicap VARCHAR, prize_money VARCHAR)
Question: What was the handicap when the prize money was 120s?
[/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_2896329_1 (handicap VARCHAR, prize_money VARCHAR)
Question: What was the handicap when the prize money was 120s?
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_99 (year INTEGER, game VARCHAR)
Question: What is the lowest year for the game called The Elder Scrolls v: Skyrim?
[/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_99 (year INTEGER, game VARCHAR)
Question: What is the lowest year for the game called The Elder Scrolls v: Skyrim?
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_26708105_5 (common_name VARCHAR, accession_number VARCHAR)
Question: How many times is the accession number xp_001843282?
[/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_26708105_5 (common_name VARCHAR, accession_number VARCHAR)
Question: How many times is the accession number xp_001843282?
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_17322817_6 (location_attendance VARCHAR, game VARCHAR)
Question: Name the location attendance for 20
[/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_17322817_6 (location_attendance VARCHAR, game VARCHAR)
Question: Name the location attendance for 20
Here is the SQLite query to answer to the question: Name the 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_2159571_1 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: What is every reason for change for the date of successors ins... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2159571_1 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: What is every reason for change for the date of successors installat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (surface VARCHAR, date VARCHAR)
Question: On what type of surface did they play on 13 February 1994?
[/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_80 (surface VARCHAR, date VARCHAR)
Question: On what type of surface did they play on 13 February 1994?
Here is the SQLite query to answer to the question: On... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Invoices (Order_Quantity INTEGER, payment_method_code VARCHAR)
Question: What is the average quantities ordered with payment method code "MasterCard" on invoices?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Invoices (Order_Quantity INTEGER, payment_method_code VARCHAR)
Question: What is the average quantities ordered with payment method code "MasterCard" on invoices?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (home_team VARCHAR, tie_no VARCHAR)
Question: What is the home team when the Tie no is 1?
[/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_32 (home_team VARCHAR, tie_no VARCHAR)
Question: What is the home team when the Tie no is 1?
Here is the SQLite query to answer to the question: What is the 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_2413292_1 (semifinal_matches VARCHAR, commercial_name VARCHAR)
Question: Who played in the semi finals matches at the Buick WCT finals?
[/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_2413292_1 (semifinal_matches VARCHAR, commercial_name VARCHAR)
Question: Who played in the semi finals matches at the Buick WCT finals?
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_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR)
Question: Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR)
Question: Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (grid INTEGER, time_retired VARCHAR)
Question: what is the grid when the time/retired is 1:46:42.3?
[/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_61 (grid INTEGER, time_retired VARCHAR)
Question: what is the grid when the time/retired is 1:46:42.3?
Here is the SQLite query to answer to the question: wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12828723_3 (tries_against VARCHAR, tries_for VARCHAR)
Question: what's the tries against with tries for being 47
[/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_12828723_3 (tries_against VARCHAR, tries_for VARCHAR)
Question: what's the tries against with tries for being 47
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_16 (member VARCHAR, electorate VARCHAR)
Question: Which member has Cook as the electorate?
[/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_16 (member VARCHAR, electorate VARCHAR)
Question: Which member has Cook as the electorate?
Here is the SQLite query to answer to the question: Which member ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (score INTEGER, event VARCHAR)
Question: For the 27 arrow match event, what's the sum of all scores for that event?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (score INTEGER, event VARCHAR)
Question: For the 27 arrow match event, what's the sum of all scores for that event?
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_1137718_2 (rd INTEGER, location VARCHAR)
Question: Which rd. took place at Hockenheimring?
[/INST]
Here is the SQLite query to answer to the question: Which r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR)
Question: Which rd. took place at Hockenheimring?
Here is the SQLite query to answer to the question: Which rd. took 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_name_35 (date VARCHAR, final_score VARCHAR)
Question: What game had the date was it with the final score of 7-23
[/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_35 (date VARCHAR, final_score VARCHAR)
Question: What game had the date was it with the final score of 7-23
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_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)
Question: what is the most amount of cattle where they live in british columbia
[/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_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)
Question: what is the most amount of cattle where they live in british columbia
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_2266976_1 (manufacturer VARCHAR, race_time VARCHAR)
Question: Who was the manufacturer in the year when the race lasted 2:30:28?
[/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_2266976_1 (manufacturer VARCHAR, race_time VARCHAR)
Question: Who was the manufacturer in the year when the race lasted 2:30:28?
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_2668173_4 (candidates VARCHAR, incumbent VARCHAR)
Question: Who were the candidates if the incumbent was Henry Logan?
[/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_2668173_4 (candidates VARCHAR, incumbent VARCHAR)
Question: Who were the candidates if the incumbent was Henry Logan?
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_84 (silver INTEGER, total INTEGER)
Question: What is the sum of Silver, when Total is less than 1?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (silver INTEGER, total INTEGER)
Question: What is the sum of Silver, when Total is less than 1?
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_86 (vctp VARCHAR, vcrt VARCHAR)
Question: If there is a VCRT of 7.62mm (0.3in) fn mag 60-20 machine gun, what is the VCTP of that?
[/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_86 (vctp VARCHAR, vcrt VARCHAR)
Question: If there is a VCRT of 7.62mm (0.3in) fn mag 60-20 machine gun, what is the VCTP of that?
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_14058433_4 (points_against VARCHAR, won VARCHAR)
Question: what's the points against with won being 11
[/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_14058433_4 (points_against VARCHAR, won VARCHAR)
Question: what's the points against with won being 11
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_23286223_5 (game VARCHAR, high_rebounds VARCHAR)
Question: What's the number of the game in which Carlos Boozer (8) did the high rebounds?
[/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_23286223_5 (game VARCHAR, high_rebounds VARCHAR)
Question: What's the number of the game in which Carlos Boozer (8) did the high rebounds?
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_6 (venue VARCHAR, away_team VARCHAR)
Question: Name the venue when the away team was richmond
[/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_6 (venue VARCHAR, away_team VARCHAR)
Question: Name the venue when the away team was richmond
Here is the SQLite query to answer to the question: Name the ven... | bugdaryan/sql-create-context-instruction | |
[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 (city VARCHAR, rank VARCHAR, carriers VARCHAR)
Question: What city had a rank before 3 and primary carrier JetBlue Airways?
[/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_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR)
Question: What city had a rank before 3 and primary carrier JetBlue Airways?
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_74 (bronze INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR)
Question: what is the bronze when silver is 1, gold is 0 the rank is 11 an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (bronze INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR)
Question: what is the bronze when silver is 1, gold is 0 the rank is 11 and 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_15 (released INTEGER, pieces VARCHAR, number VARCHAR)
Question: What was the earliest year with 339 pieces and a number smaller than 7198?
[/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_15 (released INTEGER, pieces VARCHAR, number VARCHAR)
Question: What was the earliest year with 339 pieces and a number smaller than 7198?
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_83 (accreditation_status VARCHAR, product_name VARCHAR)
Question: What is the Accreditation Status, when the Product Name is LG RCS-e Client?
[/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_83 (accreditation_status VARCHAR, product_name VARCHAR)
Question: What is the Accreditation Status, when the Product Name is LG RCS-e Client?
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 manufacturers (founder VARCHAR, name VARCHAR)
Question: Find the founder of the company whose name begins with the letter 'S'.
[/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 manufacturers (founder VARCHAR, name VARCHAR)
Question: Find the founder of the company whose name begins with the letter 'S'.
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_19 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR)
Question: What's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR)
Question: What's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Bl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (tyre VARCHAR, rounds VARCHAR, driver VARCHAR)
Question: What tyre has 1 round with Dave Charlton driving?
[/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_91 (tyre VARCHAR, rounds VARCHAR, driver VARCHAR)
Question: What tyre has 1 round with Dave Charlton driving?
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_54 (car INTEGER, player VARCHAR)
Question: How many carries for jeff smoker?
[/INST]
Here is the SQLite query to answer to the question: How many carries... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (car INTEGER, player VARCHAR)
Question: How many carries for jeff smoker?
Here is the SQLite query to answer to the question: How many carries for jeff smo... | bugdaryan/sql-create-context-instruction | |
[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 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR)
Question: What is the weight of the shell that reached its maximum height at 40° in 12.6 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR)
Question: What is the weight of the shell that reached its maximum height at 40° in 12.6 second... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (type VARCHAR, name VARCHAR)
Question: What type is González?
[/INST]
Here is the SQLite query to answer to the question: What type is González?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (type VARCHAR, name VARCHAR)
Question: What type is González?
Here is the SQLite query to answer to the question: What type is González?:
```
SELECT type F... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (opponents VARCHAR, result VARCHAR)
Question: When the result is d, who are the opponents?
[/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_19 (opponents VARCHAR, result VARCHAR)
Question: When the result is d, who are the opponents?
Here is the SQLite query to answer to the question: When the res... | bugdaryan/sql-create-context-instruction | |
[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 (conference VARCHAR, season VARCHAR, format VARCHAR)
Question: What conference has 2009 as the season, with super leg final as the format?
[/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_8 (conference VARCHAR, season VARCHAR, format VARCHAR)
Question: What conference has 2009 as the season, with super leg final as the format?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR)
Question: What ended up happening in the district Virginia 22?
[/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_2668329_25 (result VARCHAR, district VARCHAR)
Question: What ended up happening in the district Virginia 22?
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_51 (date VARCHAR, away_team VARCHAR)
Question: What day is north melbourne the away side?
[/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_51 (date VARCHAR, away_team VARCHAR)
Question: What day is north melbourne the away side?
Here is the SQLite query to answer to the question: What day is nort... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (silver VARCHAR, total INTEGER)
Question: What is the total number of silver medals of the nation with more than 16 total medals?
[/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_40 (silver VARCHAR, total INTEGER)
Question: What is the total number of silver medals of the nation with more than 16 total medals?
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_18 (points INTEGER, october VARCHAR, game VARCHAR)
Question: What is the lowest number of points of the game before game 2 before October 10?
[/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_18 (points INTEGER, october VARCHAR, game VARCHAR)
Question: What is the lowest number of points of the game before game 2 before October 10?
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_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR)
Question: What is every event date on Sunday with a starting time of 9:30 am?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR)
Question: What is every event date on Sunday with a starting time of 9:30 am?
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_92 (team_name VARCHAR, races VARCHAR)
Question: Which team completed 10 races?
[/INST]
Here is the SQLite query to answer to the question: Which team com... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR)
Question: Which team completed 10 races?
Here is the SQLite query to answer to the question: Which team completed 10 rac... | bugdaryan/sql-create-context-instruction | |
[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 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR)
Question: When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR)
Question: When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR)
Question: What category was The Suite Life on Deck nominated for later than 2010?
[/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_62 (category VARCHAR, recipient VARCHAR, year VARCHAR)
Question: What category was The Suite Life on Deck nominated for later than 2010?
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_37 (tyres VARCHAR, year VARCHAR, points VARCHAR)
Question: What tyres are associated with a year after 1974 and 5 points?
[/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_37 (tyres VARCHAR, year VARCHAR, points VARCHAR)
Question: What tyres are associated with a year after 1974 and 5 points?
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_17 (time_retired VARCHAR, grid VARCHAR)
Question: I want the time/retired for grid of 17
[/INST]
Here is the SQLite query to answer to the question: I wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (time_retired VARCHAR, grid VARCHAR)
Question: I want the time/retired for grid of 17
Here is the SQLite query to answer to the question: I want the time/r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (college VARCHAR, round INTEGER)
Question: Which College has a Round smaller than 2?
[/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_50 (college VARCHAR, round INTEGER)
Question: Which College has a Round smaller than 2?
Here is the SQLite query to answer to the question: Which College 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_17186229_4 (opponent VARCHAR, record VARCHAR)
Question: Name the total number of opponent of record 9-2
[/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_17186229_4 (opponent VARCHAR, record VARCHAR)
Question: Name the total number of opponent of record 9-2
Here is the SQLite query to answer to the question: Name 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_60 (round INTEGER, nfl_club VARCHAR, pick VARCHAR)
Question: What is the sum of the round of the new york jets NFL club, which has a pick less than 166?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (round INTEGER, nfl_club VARCHAR, pick VARCHAR)
Question: What is the sum of the round of the new york jets NFL club, which has a pick less than 166?
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_14623167_1 (virtual VARCHAR, network VARCHAR)
Question: Name the number of virtual for NBC
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR)
Question: Name the number of virtual for NBC
Here is the SQLite query to answer to the question: Name the number of v... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18173916_8 (wednesday VARCHAR, friday VARCHAR)
Question: which episode was Transmitted on wednesday if the episode of "307 vs." was transmitted on friday?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18173916_8 (wednesday VARCHAR, friday VARCHAR)
Question: which episode was Transmitted on wednesday if the episode of "307 vs." was transmitted on friday?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (iata VARCHAR, city VARCHAR)
Question: What is the IATA for the city of Amsterdam?
[/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_23 (iata VARCHAR, city VARCHAR)
Question: What is the IATA for the city of Amsterdam?
Here is the SQLite query to answer to the question: What is the IATA 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_24575253_4 (division_five VARCHAR, division_one VARCHAR)
Question: When westcott is in division one how many leagues are in division 5?
[/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_24575253_4 (division_five VARCHAR, division_one VARCHAR)
Question: When westcott is in division one how many leagues are in division 5?
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_16387953_1 (home_team VARCHAR)
Question: What are the scores for games where the home team is Adelaide?
[/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_16387953_1 (home_team VARCHAR)
Question: What are the scores for games where the home team is Adelaide?
Here is the SQLite query to answer to the 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_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR)
Question: Who is the co-driver for the 6th position and more than 159 laps?
[/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_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR)
Question: Who is the co-driver for the 6th position and more than 159 laps?
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_40 (week INTEGER, record VARCHAR)
Question: What is the earliest week that shows a record of 8–5?
[/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_40 (week INTEGER, record VARCHAR)
Question: What is the earliest week that shows a record of 8–5?
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_52 (country VARCHAR, player VARCHAR)
Question: What country does Jeff Sluman play for?
[/INST]
Here is the SQLite query to answer to the question: What c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (country VARCHAR, player VARCHAR)
Question: What country does Jeff Sluman play for?
Here is the SQLite query to answer to the question: What country does J... | bugdaryan/sql-create-context-instruction | |
[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 (against INTEGER, lost INTEGER)
Question: Which average against has a lost less than 1?
[/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_78 (against INTEGER, lost INTEGER)
Question: Which average against has a lost less than 1?
Here is the SQLite query to answer to the question: Which average 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_50 (country VARCHAR, town VARCHAR)
Question: what country is dubai in
[/INST]
Here is the SQLite query to answer to the question: what country is dubai i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (country VARCHAR, town VARCHAR)
Question: what country is dubai in
Here is the SQLite query to answer to the question: what country is dubai in:
```
SELECT... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (year VARCHAR, event VARCHAR, position VARCHAR)
Question: What year did she place 8th in the junior race?
[/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_9 (year VARCHAR, event VARCHAR, position VARCHAR)
Question: What year did she place 8th in the junior race?
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_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)
Question: What is the score when Philadelphia was the visitor with a Record of 7–4–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_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)
Question: What is the score when Philadelphia was the visitor with a Record of 7–4–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_1939202_2 (year VARCHAR, us_open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)
Question: What year at the US Open Cup quarterfinals, were the playoffs in the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1939202_2 (year VARCHAR, us_open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)
Question: What year at the US Open Cup quarterfinals, were the playoffs in the semif... | bugdaryan/sql-create-context-instruction | |
[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 (rank__2012_ VARCHAR)
Question: What is the 2012 Employees (Total) when the rank (2012) is 7?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (rank__2012_ VARCHAR)
Question: What is the 2012 Employees (Total) when the rank (2012) is 7?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (pick INTEGER, player VARCHAR)
Question: What is Mark Joseph Kong's pick?
[/INST]
Here is the SQLite query to answer to the question: What is Mark Jos... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (pick INTEGER, player VARCHAR)
Question: What is Mark Joseph Kong's pick?
Here is the SQLite query to answer to the question: What is Mark Joseph Kong's pi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (height__m_ INTEGER, prominence__m_ VARCHAR)
Question: What is the smallest height with a prominence of 2,349?
[/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_26 (height__m_ INTEGER, prominence__m_ VARCHAR)
Question: What is the smallest height with a prominence of 2,349?
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_1 (gross_debt_in_ INTEGER, debt_held_by_public__$billions_ VARCHAR, end_of_fiscal_year VARCHAR, as__percentage_of_gdp_low_high VARCHAR)
Question: For End... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (gross_debt_in_ INTEGER, debt_held_by_public__$billions_ VARCHAR, end_of_fiscal_year VARCHAR, as__percentage_of_gdp_low_high VARCHAR)
Question: For End of Fi... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, date VARCHAR)
Question: What was the result of the game that was played on february 27, 2000?
[/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_38 (result VARCHAR, date VARCHAR)
Question: What was the result of the game that was played on february 27, 2000?
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_86 (proto_oceanic VARCHAR, animal VARCHAR)
Question: What proto-oceanic has louse as the animal?
[/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_86 (proto_oceanic VARCHAR, animal VARCHAR)
Question: What proto-oceanic has louse as the animal?
Here is the SQLite query to answer to the question: What prot... | bugdaryan/sql-create-context-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_4 (player VARCHAR, hometown VARCHAR)
Question: Which player's hometown was Pewaukee, Wisconsin?
[/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_11677691_4 (player VARCHAR, hometown VARCHAR)
Question: Which player's hometown was Pewaukee, Wisconsin?
Here is the SQLite query to answer to the question: Which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR)
Question: What is the result when the competition was the 2006 fifa world cup qualifier, and a Ve... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR)
Question: What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue 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_1463332_2 (_number_runner_up INTEGER, years__won_in_bold_ VARCHAR)
Question: What is the number of runner-up results for the years (won in bold) 1984, 2010?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1463332_2 (_number_runner_up INTEGER, years__won_in_bold_ VARCHAR)
Question: What is the number of runner-up results for the years (won in bold) 1984, 2010?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27366772_3 (population__2001_ INTEGER)
Question: What is the highest population in 2001?
[/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_27366772_3 (population__2001_ INTEGER)
Question: What is the highest population in 2001?
Here is the SQLite query to answer to the question: What is the highest po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1357052_6 (distribution VARCHAR, rsbac VARCHAR)
Question: what's the dbeingtribution with rsbac being unknown
[/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_1357052_6 (distribution VARCHAR, rsbac VARCHAR)
Question: what's the dbeingtribution with rsbac being unknown
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_20 (week INTEGER, result VARCHAR)
Question: Which Week has a Result of w 20-13?
[/INST]
Here is the SQLite query to answer to the question: Which Week ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (week INTEGER, result VARCHAR)
Question: Which Week has a Result of w 20-13?
Here is the SQLite query to answer to the question: Which Week has a Result 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_2508633_6 (position VARCHAR, college VARCHAR)
Question: Name the position for delaware
[/INST]
Here is the SQLite query to answer to the question: Name the po... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR)
Question: Name the position for delaware
Here is the SQLite query to answer to the question: Name the position for de... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, home VARCHAR)
Question: What was the score when Montreal was home?
[/INST]
Here is the SQLite query to answer to the question: What wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (score VARCHAR, home VARCHAR)
Question: What was the score when Montreal was home?
Here is the SQLite query to answer to the question: What was the score w... | 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.