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_61 (drawn INTEGER, games INTEGER)
Question: How many Drawn is which has a Games smaller than 6?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (drawn INTEGER, games INTEGER)
Question: How many Drawn is which has a Games smaller than 6?
Here is the SQLite query to answer to the question: How many D... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (lane VARCHAR, nationality VARCHAR, time VARCHAR)
Question: What lane is from Great Britain and a 57.78 time?
[/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_95 (lane VARCHAR, nationality VARCHAR, time VARCHAR)
Question: What lane is from Great Britain and a 57.78 time?
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_13 (player VARCHAR, school_club_team_country VARCHAR)
Question: What player had a school of missouri
[/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_13 (player VARCHAR, school_club_team_country VARCHAR)
Question: What player had a school of missouri
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (opponent VARCHAR, record VARCHAR)
Question: which team has a record of 13-18?
[/INST]
Here is the SQLite query to answer to the question: which team ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (opponent VARCHAR, record VARCHAR)
Question: which team has a record of 13-18?
Here is the SQLite query to answer to the question: which team has a record ... | bugdaryan/sql-create-context-instruction | |
[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 (format VARCHAR, label VARCHAR, date VARCHAR)
Question: What is the Format of the Epic/Sony Label after 1980?
[/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_33 (format VARCHAR, label VARCHAR, date VARCHAR)
Question: What is the Format of the Epic/Sony Label after 1980?
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_97 (tie_no VARCHAR, away_team VARCHAR)
Question: How many ties does Walsall have?
[/INST]
Here is the SQLite query to answer to the question: How many ti... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (tie_no VARCHAR, away_team VARCHAR)
Question: How many ties does Walsall have?
Here is the SQLite query to answer to the question: How many ties does Walsa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15532342_2 (swimsuit VARCHAR, state VARCHAR)
Question: Name the swimsuit for arizona
[/INST]
Here is the SQLite query to answer to the question: Name the swim... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15532342_2 (swimsuit VARCHAR, state VARCHAR)
Question: Name the swimsuit for arizona
Here is the SQLite query to answer to the question: Name the swimsuit for ariz... | bugdaryan/sql-create-context-instruction | |
[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, youth__15_24__literacy_rate_total VARCHAR, youth_men VARCHAR)
Question: What country has a Youth (15-24) Literacy Rate Total of 99%,... | 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, youth__15_24__literacy_rate_total VARCHAR, youth_men VARCHAR)
Question: What country has a Youth (15-24) Literacy Rate Total of 99%, and 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_80 (record VARCHAR, date VARCHAR)
Question: What's the record of the game on Nov 13?
[/INST]
Here is the SQLite query to answer to the question: What's t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (record VARCHAR, date VARCHAR)
Question: What's the record of the game on Nov 13?
Here is the SQLite query to answer to the question: What's the record of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (replica VARCHAR, position VARCHAR)
Question: What replica has the 5th position?
[/INST]
Here is the SQLite query to answer to the question: What repl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (replica VARCHAR, position VARCHAR)
Question: What replica has the 5th position?
Here is the SQLite query to answer to the question: What replica has the 5... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Projects (Id VARCHAR)
Question: Show the number of projects.
[/INST]
Here is the SQLite query to answer to the question: Show the number of projects.:
```
SELECT CO... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Projects (Id VARCHAR)
Question: Show the number of projects.
Here is the SQLite query to answer to the question: Show the number of projects.:
```
SELECT COUNT(*) FROM P... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22496344_1 (position VARCHAR, home_town VARCHAR, high_school VARCHAR)
Question: Where is the position when houston, tx is the hometown and worthing is the hig... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22496344_1 (position VARCHAR, home_town VARCHAR, high_school VARCHAR)
Question: Where is the position when houston, tx is the hometown and worthing is the high scho... | bugdaryan/sql-create-context-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_broadway_performer VARCHAR)
Question: What character did Moya Angela portray?
[/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_22460085_1 (character VARCHAR, original_broadway_performer VARCHAR)
Question: What character did Moya Angela portray?
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 customers (customer_name VARCHAR, customer_id VARCHAR, payment_method_code VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)
Question: Show the names of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR, payment_method_code VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)
Question: Show the names of 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_16815824_1 (round2 INTEGER)
Question: What was the highest score for round 2?
[/INST]
Here is the SQLite query to answer to the question: What was the highest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16815824_1 (round2 INTEGER)
Question: What was the highest score for round 2?
Here is the SQLite query to answer to the question: What was the highest score for 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 table_name_84 (score VARCHAR, country VARCHAR, to_par VARCHAR)
Question: What is the score of the United States, which has a to par of +5?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (score VARCHAR, country VARCHAR, to_par VARCHAR)
Question: What is the score of the United States, which has a to par of +5?
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_18666752_3 (total_team_penalties VARCHAR, cross_country_penalties VARCHAR)
Question: How many total team penalties are there when cross country penalties is 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18666752_3 (total_team_penalties VARCHAR, cross_country_penalties VARCHAR)
Question: How many total team penalties are there when cross country penalties is 30.40?
... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, year INTEGER)
Question: What were the results after 2004?
[/INST]
Here is the SQLite query to answer to the question: What were 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_33 (result VARCHAR, year INTEGER)
Question: What were the results after 2004?
Here is the SQLite query to answer to the question: What were the results after ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Payments (Payment_Method_Code VARCHAR, Date_Payment_Made VARCHAR, Amount_Payment VARCHAR)
Question: List the method, date and amount of all the payments, in ascendi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Payments (Payment_Method_Code VARCHAR, Date_Payment_Made VARCHAR, Amount_Payment VARCHAR)
Question: List the method, date and amount of all the payments, in ascending ord... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15001957_1 (mixed_doubles VARCHAR, year VARCHAR)
Question: How many mixed doubles were won in 1996?
[/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_15001957_1 (mixed_doubles VARCHAR, year VARCHAR)
Question: How many mixed doubles were won in 1996?
Here is the SQLite query to answer to the question: How many mi... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, date VARCHAR)
Question: In what venue was the event held on 14 February 2009?
[/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_95 (venue VARCHAR, date VARCHAR)
Question: In what venue was the event held on 14 February 2009?
Here is the SQLite query to answer to the question: In what 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_name_69 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
Question: What is the highest number of bronze when silver is larger than 0, rank is larger than 3?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
Question: What is the highest number of bronze when silver is larger than 0, rank is larger than 3?
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_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR)
Question: Give me the result for a format saying album with 1994 as the year.
[/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_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR)
Question: Give me the result for a format saying album with 1994 as the year.
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_3 (champion VARCHAR, name VARCHAR, runner_up VARCHAR)
Question: Who was the champion of the Philips Open with a runner-up of Javier Sánchez?
[/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_3 (champion VARCHAR, name VARCHAR, runner_up VARCHAR)
Question: Who was the champion of the Philips Open with a runner-up of Javier Sánchez?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, attendance VARCHAR)
Question: What was the date of the game attended by 45,122?
[/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_39 (date VARCHAR, attendance VARCHAR)
Question: What was the date of the game attended by 45,122?
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_84 (long INTEGER, yards VARCHAR, car VARCHAR)
Question: Who has a highest Long with 26 Yards and less than 9 Car?
[/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_84 (long INTEGER, yards VARCHAR, car VARCHAR)
Question: Who has a highest Long with 26 Yards and less than 9 Car?
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_1149495_1 (year VARCHAR, runner_up VARCHAR)
Question: What year finished with Daniel Zueras as the runner-up?
[/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_1149495_1 (year VARCHAR, runner_up VARCHAR)
Question: What year finished with Daniel Zueras as the runner-up?
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_17 (year VARCHAR, playoffs VARCHAR, regular_season VARCHAR)
Question: What is the year when they did not qualify for the playoff and the Regular Season s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (year VARCHAR, playoffs VARCHAR, regular_season VARCHAR)
Question: What is the year when they did not qualify for the playoff and the Regular Season shows 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_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR)
Question: What is the total fat with a smoke point of °c () and 37g of polyunsat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR)
Question: What is the total fat with a smoke point of °c () and 37g of polyunsaturated... | bugdaryan/sql-create-context-instruction | |
[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 (language VARCHAR, television_service VARCHAR, hdtv VARCHAR, package_option VARCHAR)
Question: What language has NO, as the HDTV, sky famiglia as the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (language VARCHAR, television_service VARCHAR, hdtv VARCHAR, package_option VARCHAR)
Question: What language has NO, as the HDTV, sky famiglia as the packag... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR)
Question: Show first name and last name for all students.
[/INST]
Here is the SQLite query to answer to the question: Show fi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR)
Question: Show first name and last name for all students.
Here is the SQLite query to answer to the question: Show first name and ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27755784_8 (record VARCHAR, date VARCHAR)
Question: What is the record when the date is January 7?
[/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_27755784_8 (record VARCHAR, date VARCHAR)
Question: What is the record when the date is January 7?
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_10650711_1 (nfl_team VARCHAR, player VARCHAR)
Question: what is the nfl team where player is thane gash
[/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_10650711_1 (nfl_team VARCHAR, player VARCHAR)
Question: what is the nfl team where player is thane gash
Here is the SQLite query to answer to the question: what ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What is the lowest total amount of medals from countries with 0 gold medals, m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What is the lowest total amount of medals from countries with 0 gold medals, more 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_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR)
Question: When twente came in third place and ajax was the winner what are the seasons?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR)
Question: When twente came in third place and ajax was the winner what are the seasons?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_ID VARCHAR)
Question: Show the names of products that are in at least ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_ID VARCHAR)
Question: Show the names of products that are in at least two ev... | bugdaryan/sql-create-context-instruction | |
[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 (finalist VARCHAR, surface VARCHAR, semifinalists VARCHAR)
Question: Who is the Finalist, when the Surface is Clay, and when the Semifinalist is Yevge... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (finalist VARCHAR, surface VARCHAR, semifinalists VARCHAR)
Question: Who is the Finalist, when the Surface is Clay, and when the Semifinalist is Yevgeny Kaf... | bugdaryan/sql-create-context-instruction | |
[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 (date INTEGER, score VARCHAR)
Question: Which Date has a Score of 7–6(3), 4–6, 6–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_68 (date INTEGER, score VARCHAR)
Question: Which Date has a Score of 7–6(3), 4–6, 6–2?
Here is the SQLite query to answer to the question: Which Date has a Sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_225093_4 (date_successor_seated VARCHAR, district VARCHAR)
Question: What is the date successor seated where Massachusetts 2nd is the district?
[/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_225093_4 (date_successor_seated VARCHAR, district VARCHAR)
Question: What is the date successor seated where Massachusetts 2nd is the district?
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_64 (pat_robertson VARCHAR, george_hw_bush VARCHAR)
Question: At what percent was Pat Robertson when George H.W. Bush had 76%?
[/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_64 (pat_robertson VARCHAR, george_hw_bush VARCHAR)
Question: At what percent was Pat Robertson when George H.W. Bush had 76%?
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_99 (county VARCHAR, median_family_income VARCHAR)
Question: Which county has a median family income of $50,227?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (county VARCHAR, median_family_income VARCHAR)
Question: Which county has a median family income of $50,227?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (division VARCHAR, playoffs VARCHAR, open_cup VARCHAR)
Question: What division has finalist playoffs and was 3rd round Open Cup?
[/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_73 (division VARCHAR, playoffs VARCHAR, open_cup VARCHAR)
Question: What division has finalist playoffs and was 3rd round Open Cup?
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_37 (goals_for VARCHAR, wins VARCHAR, goals_against VARCHAR, games_played VARCHAR)
Question: How many goals for occurred when the goals against was less t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (goals_for VARCHAR, wins VARCHAR, goals_against VARCHAR, games_played VARCHAR)
Question: How many goals for occurred when the goals against was less than 56... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677760_31 (nba_draft VARCHAR, school VARCHAR)
Question: Name the total number of nba drafts that went to east side high school
[/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_11677760_31 (nba_draft VARCHAR, school VARCHAR)
Question: Name the total number of nba drafts that went to east side high school
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 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR)
Question: What is the average operation beginning with a length of ampang and over 27... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR)
Question: What is the average operation beginning with a length of ampang and over 27 stati... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the Date that has a Outcome of winner, and çağla büyükakçay was the o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the Date that has a Outcome of winner, and çağla büyükakçay was the opponen... | bugdaryan/sql-create-context-instruction | |
[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 (final_round VARCHAR, player VARCHAR)
Question: What is Final round, when Player is Danilo Gallinari?
[/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_50 (final_round VARCHAR, player VARCHAR)
Question: What is Final round, when Player is Danilo Gallinari?
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_1475840_1 (stolen_ends INTEGER, locale VARCHAR, Alberta VARCHAR)
Question: What is the minimum stolen ends for the locale Alberta?
[/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_1475840_1 (stolen_ends INTEGER, locale VARCHAR, Alberta VARCHAR)
Question: What is the minimum stolen ends for the locale Alberta?
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_81 (played INTEGER, goals_conceded INTEGER)
Question: What is the mean played number where the goals conceded is less than 16?
[/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_81 (played INTEGER, goals_conceded INTEGER)
Question: What is the mean played number where the goals conceded is less than 16?
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_11 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)
Question: What is the 2009 estimate population of the region with Manaus as the largest cit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)
Question: What is the 2009 estimate population of the region with Manaus as the largest city?
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_2417390_4 (vacator VARCHAR, district VARCHAR)
Question: Who was the vacator for the district of Nebraska at-large?
[/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_2417390_4 (vacator VARCHAR, district VARCHAR)
Question: Who was the vacator for the district of Nebraska at-large?
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_26263322_1 (background VARCHAR, candidate VARCHAR)
Question: What is the background of the candidate daniel phillips?
[/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_26263322_1 (background VARCHAR, candidate VARCHAR)
Question: What is the background of the candidate daniel phillips?
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_1 (opponent VARCHAR, loss VARCHAR)
Question: Who was the opponent when Hoeft (19-14) took the loss?
[/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_1 (opponent VARCHAR, loss VARCHAR)
Question: Who was the opponent when Hoeft (19-14) took the loss?
Here is the SQLite query to answer to the question: Who wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (year INTEGER, nominee VARCHAR, result VARCHAR)
Question: What year has a Nominee of —, and a Result of nominated?
[/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_14 (year INTEGER, nominee VARCHAR, result VARCHAR)
Question: What year has a Nominee of —, and a Result of nominated?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342198_38 (candidates VARCHAR, district VARCHAR)
Question: What is the number of candidates for pennsylvania 3
[/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_1342198_38 (candidates VARCHAR, district VARCHAR)
Question: What is the number of candidates for pennsylvania 3
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_26 (date VARCHAR, time VARCHAR)
Question: What date was the episode that aired at 7:30 pm ET?
[/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_26 (date VARCHAR, time VARCHAR)
Question: What date was the episode that aired at 7:30 pm ET?
Here is the SQLite query to answer to the question: What date wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)
Question: What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)
Question: What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11656578_2 (voivodeship VARCHAR, population__1980_ VARCHAR)
Question: How many different voivodenship have 747 900 citizes?
[/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_11656578_2 (voivodeship VARCHAR, population__1980_ VARCHAR)
Question: How many different voivodenship have 747 900 citizes?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (second VARCHAR, tenth VARCHAR)
Question: WHAT IS THE SECOND WITH A TENTH OF DAN BLACK?
[/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_65 (second VARCHAR, tenth VARCHAR)
Question: WHAT IS THE SECOND WITH A TENTH OF DAN BLACK?
Here is the SQLite query to answer to the question: WHAT IS THE SEC... | bugdaryan/sql-create-context-instruction | |
[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 (share_of_votes VARCHAR, electors VARCHAR, year VARCHAR)
Question: What was the share of votes when there were more than 56 electors and the year was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (share_of_votes VARCHAR, electors VARCHAR, year VARCHAR)
Question: What was the share of votes when there were more than 56 electors and the year was more 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_28962227_1 (premiere VARCHAR, runners_up VARCHAR)
Question: What is the premiere of the season where Holly Bell was the runner-up?
[/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_28962227_1 (premiere VARCHAR, runners_up VARCHAR)
Question: What is the premiere of the season where Holly Bell was the runner-up?
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_63 (barrel_twist VARCHAR, barrel_length VARCHAR)
Question: Can you tell me the Barrel twist that has the Barrel lenght of 11.5 in.?
[/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_63 (barrel_twist VARCHAR, barrel_length VARCHAR)
Question: Can you tell me the Barrel twist that has the Barrel lenght of 11.5 in.?
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_53 (laps VARCHAR, winnings VARCHAR, car__number VARCHAR)
Question: How many total laps for the driver with Winnings of $116,033, and a Car # smaller than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (laps VARCHAR, winnings VARCHAR, car__number VARCHAR)
Question: How many total laps for the driver with Winnings of $116,033, and a Car # smaller than 18?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28939145_2 (Literate INTEGER, taluka_name VARCHAR)
Question: How many literate males are there in the taluka name nevasa?
[/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_28939145_2 (Literate INTEGER, taluka_name VARCHAR)
Question: How many literate males are there in the taluka name nevasa?
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_16 (gold INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR)
Question: What is the fewest gold medals when there is 0 bronze medals, and the rank is 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR)
Question: What is the fewest gold medals when there is 0 bronze medals, and the rank is 19, and... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_6 (result_games VARCHAR, date_year VARCHAR)
Question: What is the result/games of Sun 11/28/10 as the date/year?
[/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_21436373_6 (result_games VARCHAR, date_year VARCHAR)
Question: What is the result/games of Sun 11/28/10 as the date/year?
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_92 (date INTEGER, score_in_the_final VARCHAR)
Question: How many Dates have a Score in the final of 6–4, 6–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_name_92 (date INTEGER, score_in_the_final VARCHAR)
Question: How many Dates have a Score in the final of 6–4, 6–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_15430606_1 (no_disc VARCHAR, directed_by VARCHAR)
Question: Name the total number of number disc for jimmy kaufman
[/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_15430606_1 (no_disc VARCHAR, directed_by VARCHAR)
Question: Name the total number of number disc for jimmy kaufman
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_76 (december INTEGER, opponent VARCHAR)
Question: What was the first time in December they played the Colorado Avalanche?
[/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_76 (december INTEGER, opponent VARCHAR)
Question: What was the first time in December they played the Colorado Avalanche?
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 (score VARCHAR, team VARCHAR)
Question: What is the Score with a Team that is @ portland?
[/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_1 (score VARCHAR, team VARCHAR)
Question: What is the Score with a Team that is @ portland?
Here is the SQLite query to answer to the question: What is the Sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (country VARCHAR, place VARCHAR)
Question: What is the Country of the Player in Place 1?
[/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_39 (country VARCHAR, place VARCHAR)
Question: What is the Country of the Player in Place 1?
Here is the SQLite query to answer to the question: What is the Co... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (result VARCHAR, date VARCHAR)
Question: What was the result on 1990-11-04?
[/INST]
Here is the SQLite query to answer to the question: What was 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_55 (result VARCHAR, date VARCHAR)
Question: What was the result on 1990-11-04?
Here is the SQLite query to answer to the question: What was the result on 1990... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_170961_2 (official_name VARCHAR, area_km_2 VARCHAR)
Question: What is the name of the parish where the area is 508.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_170961_2 (official_name VARCHAR, area_km_2 VARCHAR)
Question: What is the name of the parish where the area is 508.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_2076608_1 (accreditation VARCHAR, school VARCHAR)
Question: What accreditation does Hollins University have?
[/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_2076608_1 (accreditation VARCHAR, school VARCHAR)
Question: What accreditation does Hollins University have?
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_1973816_1 (location VARCHAR, institution VARCHAR)
Question: On how many locations is the Saint Joseph's College of Maine located?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1973816_1 (location VARCHAR, institution VARCHAR)
Question: On how many locations is the Saint Joseph's College of Maine located?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR)
Question: What did the away team score when playing Footscray?
[/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_37 (away_team VARCHAR, home_team VARCHAR)
Question: What did the away team score when playing Footscray?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (chassis VARCHAR, driver VARCHAR)
Question: What Chassis does Reg Parnell drive?
[/INST]
Here is the SQLite query to answer to the question: What Chas... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (chassis VARCHAR, driver VARCHAR)
Question: What Chassis does Reg Parnell drive?
Here is the SQLite query to answer to the question: What Chassis does Reg ... | bugdaryan/sql-create-context-instruction | |
[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 (boat_builder VARCHAR, number VARCHAR, year_built VARCHAR)
Question: What is the boat builder for a boat built in 1994 and a number greater than 93?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (boat_builder VARCHAR, number VARCHAR, year_built VARCHAR)
Question: What is the boat builder for a boat built in 1994 and a number greater than 93?
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_90 (runner_up VARCHAR, venue VARCHAR)
Question: For the event held in Tartu, Estonia, what is the name of the runner-up?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (runner_up VARCHAR, venue VARCHAR)
Question: For the event held in Tartu, Estonia, what is the name of the runner-up?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (swimsuit VARCHAR, interview VARCHAR, average VARCHAR, evening_gown VARCHAR)
Question: What is the total number of swimsuit scores that have average s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (swimsuit VARCHAR, interview VARCHAR, average VARCHAR, evening_gown VARCHAR)
Question: What is the total number of swimsuit scores that have average scores ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE member (Id VARCHAR)
Question: How many members are there?
[/INST]
Here is the SQLite query to answer to the question: How many members are there?:
```
SELECT COUNT(... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE member (Id VARCHAR)
Question: How many members are there?
Here is the SQLite query to answer to the question: How many members are there?:
```
SELECT COUNT(*) FROM membe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13018116_1 (played VARCHAR, pts_agst VARCHAR)
Question: What is the number of played when points against 645?
[/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_13018116_1 (played VARCHAR, pts_agst VARCHAR)
Question: What is the number of played when points against 645?
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_47 (name VARCHAR, total_point VARCHAR, bonus VARCHAR, only_point VARCHAR, catch_taken VARCHAR)
Question: What is Name, when Only Point is greater than 1,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (name VARCHAR, total_point VARCHAR, bonus VARCHAR, only_point VARCHAR, catch_taken VARCHAR)
Question: What is Name, when Only Point is greater than 1, when ... | bugdaryan/sql-create-context-instruction | |
[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 (tv_time VARCHAR, date VARCHAR)
Question: What was the TV time for the game on June 9?
[/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_29 (tv_time VARCHAR, date VARCHAR)
Question: What was the TV time for the game on June 9?
Here is the SQLite query to answer to the question: What was the TV ... | bugdaryan/sql-create-context-instruction | |
[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 (points VARCHAR, year INTEGER)
Question: How many points were there before 1955?
[/INST]
Here is the SQLite query to answer to the question: How many ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (points VARCHAR, year INTEGER)
Question: How many points were there before 1955?
Here is the SQLite query to answer to the question: How many points were 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_58 (incumbent VARCHAR, first_elected INTEGER)
Question: Which Incumbent has a First elected larger than 1884?
[/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_58 (incumbent VARCHAR, first_elected INTEGER)
Question: Which Incumbent has a First elected larger than 1884?
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 Employee (name VARCHAR, salary VARCHAR)
Question: Show name and salary for all employees sorted by salary.
[/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 Employee (name VARCHAR, salary VARCHAR)
Question: Show name and salary for all employees sorted by salary.
Here is the SQLite query to answer to the question: Show name ... | bugdaryan/sql-create-context-instruction | |
[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 (actor VARCHAR, character VARCHAR)
Question: who is the actor when the character is dinny byrne?
[/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_8 (actor VARCHAR, character VARCHAR)
Question: who is the actor when the character is dinny byrne?
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_16331144_1 (runner_up VARCHAR, third_place VARCHAR)
Question: Who was the runner-up when Mohamed Ali got third?
[/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_16331144_1 (runner_up VARCHAR, third_place VARCHAR)
Question: Who was the runner-up when Mohamed Ali got third?
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_77 (economic_class VARCHAR, barangay VARCHAR)
Question: Which Economic Class has a Barangay of imelda bliss village?
[/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_77 (economic_class VARCHAR, barangay VARCHAR)
Question: Which Economic Class has a Barangay of imelda bliss village?
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_6 (opponent VARCHAR, attendance VARCHAR)
Question: Name the opponent with attendance of 31,777
[/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 (opponent VARCHAR, attendance VARCHAR)
Question: Name the opponent with attendance of 31,777
Here is the SQLite query to answer to the question: Name the op... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25696729_8 (season VARCHAR)
Question: List all rebounds equal to 10 for Dennis Rodman 's 1991–92 season
[/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_25696729_8 (season VARCHAR)
Question: List all rebounds equal to 10 for Dennis Rodman 's 1991–92 season
Here is the SQLite query to answer to the question: List 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_97 (lost INTEGER, drawn VARCHAR, goal_difference VARCHAR, goals_for VARCHAR)
Question: How many times did the team lose who had a goal difference of +2, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (lost INTEGER, drawn VARCHAR, goal_difference VARCHAR, goals_for VARCHAR)
Question: How many times did the team lose who had a goal difference of +2, 52 goa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16494599_3 (player VARCHAR, school_club_team VARCHAR)
Question: What players attended missouri?
[/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_16494599_3 (player VARCHAR, school_club_team VARCHAR)
Question: What players attended missouri?
Here is the SQLite query to answer to the question: What players at... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12584173_1 (population__stanthorpe_ INTEGER, population__rosenthal_ VARCHAR)
Question: What was the population in Stanthorpe in the year when the population i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12584173_1 (population__stanthorpe_ INTEGER, population__rosenthal_ VARCHAR)
Question: What was the population in Stanthorpe in the year when the population in Rose... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, round VARCHAR, selection VARCHAR)
Question: Which Position has a Round larger than 5, and a Selection of 168?
[/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_13 (position VARCHAR, round VARCHAR, selection VARCHAR)
Question: Which Position has a Round larger than 5, and a Selection of 168?
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_25 (event VARCHAR, pursuit VARCHAR, sprint VARCHAR)
Question: Name the event with pursuit of 18th and sprint of 20th
[/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_25 (event VARCHAR, pursuit VARCHAR, sprint VARCHAR)
Question: Name the event with pursuit of 18th and sprint of 20th
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_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR)
Question: What is the highest eng... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR)
Question: What is the highest engine ca... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1506950_4 (player VARCHAR, finish VARCHAR)
Question: What players finished 2nd?
[/INST]
Here is the SQLite query to answer to the question: What players finis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1506950_4 (player VARCHAR, finish VARCHAR)
Question: What players finished 2nd?
Here is the SQLite query to answer to the question: What players finished 2nd?:
```... | bugdaryan/sql-create-context-instruction | |
[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 (status VARCHAR, total_votes VARCHAR, couples_team VARCHAR)
Question: Who had 0 total votes in the purple team?
[/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_18 (status VARCHAR, total_votes VARCHAR, couples_team VARCHAR)
Question: Who had 0 total votes in the purple team?
Here is the SQLite query to answer to the q... | 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.