instruction_seed
stringlengths
305
1.28k
response_seed
stringclasses
1 value
response
stringlengths
7
2.05k
__original_row_idx
int64
0
50k
conversations
listlengths
2
2
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (date VARCHAR, opponent VARCHAR) Question: What is the date of the tournament with Alena Tarasova as the opponent? Here is the SQLite query to answer to th...
Here is the SQLite query to find the date of the tournament with Alena Tarasova as the opponent: ``` SELECT date FROM table_name_56 WHERE opponent = "Alena Tarasova"; ```
9,600
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (date VARCHAR, opponent VARCHAR)\n\n Question: What is the date of the tournament with Alena Tarasova as the opponen...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (hereditary_peers VARCHAR, total VARCHAR) Question: Which Hereditary peers have a Total of 1? Here is the SQLite query to answer to the question: Which Her...
Here is the SQLite query to answer the question: Which Hereditary peers have a Total of 1?: ``` SELECT hereditary_peers FROM table_name_15 WHERE total = '1' ```
9,601
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (hereditary_peers VARCHAR, total VARCHAR)\n\n Question: Which Hereditary peers have a Total of 1?\n\nHere is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (total VARCHAR, affiliation VARCHAR, life_peers VARCHAR, hereditary_peers VARCHAR, lords_spiritual VARCHAR) Question: Which Total has a Hereditary peer of –...
Here is the SQLite query to answer the question regarding totals with specific criteria: ``` SELECT COUNT(total) FROM table_name_17 WHERE hereditary_peers = "–" AND lords_spiritual = "–" AND life_peers = "2" AND affiliation = "plaid cymru"; ```
9,602
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (total VARCHAR, affiliation VARCHAR, life_peers VARCHAR, hereditary_peers VARCHAR, lords_spiritual VARCHAR)\n\n Ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (elector VARCHAR, nationality VARCHAR) Question: Which Elector is hungarian? Here is the SQLite query to answer to the question: Which Elector is hungarian...
Your SQLite query looks correct for retrieving the elector(s) with the nationality "hungarian". Here it is wrapped in code blocks: ``` SELECT elector FROM table_name_68 WHERE nationality = "hungarian"; ```
9,603
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (elector VARCHAR, nationality VARCHAR)\n\n Question: Which Elector is hungarian?\n\nHere 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_77 (cardinalatial_title VARCHAR, elevator VARCHAR) Question: Which Cardinalatial Title has an Elevator of pope eugenius iv? Here is the SQLite query to answer...
Here is the SQLite query to answer the question regarding which Cardinalatial Title has an Elevator of pope eugenius iv: ``` SELECT cardinalatial_title FROM table_name_77 WHERE elevator = "pope eugenius iv"; ```
9,604
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (cardinalatial_title VARCHAR, elevator VARCHAR)\n\n Question: Which Cardinalatial Title has an Elevator of pope euge...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (works_number INTEGER, date VARCHAR, number VARCHAR, type VARCHAR) Question: Which Works number has a Number larger than 807, and a Type of 0-6-0, and a Date...
It looks like you want to retrieve the Works numbers that meet specific criteria, but the query you provided uses the `AVG` function which seems to be incorrect for the question. To find the Works numbers that match the conditions (a Number larger than 807, a Type of 0-6-0, and a Date of 1920), you should use a `SELECT...
9,605
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (works_number INTEGER, date VARCHAR, number VARCHAR, type VARCHAR)\n\n Question: Which Works number has a Number larg...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (type VARCHAR, works_number VARCHAR, number VARCHAR, date VARCHAR, builder VARCHAR) Question: Which Type has a Date smaller than 1943, and a Builder of alco...
Here is the SQLite query to answer the question: ``` SELECT type FROM table_name_46 WHERE date < 1943 AND builder = "alco schenectady" AND number > 822 AND works_number = "59867" ``` (Note: I've included quotes around `works_number` as it is a VARCHAR type in the schema.)
9,606
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (type VARCHAR, works_number VARCHAR, number VARCHAR, date VARCHAR, builder VARCHAR)\n\n Question: Which Type has a D...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (date INTEGER, works_number VARCHAR, builder VARCHAR, number VARCHAR) Question: Which Date has a Builder of alco schenectady, and a Number larger than 835, ...
Your query looks like it's trying to find the average date for the given conditions, but if you want to find the specific dates that meet those conditions, you should use a `SELECT` statement without the `AVG` function. Here’s how the corrected query should look: ``` SELECT date FROM table_name_19 WHERE builder = 'a...
9,607
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (date INTEGER, works_number VARCHAR, builder VARCHAR, number VARCHAR)\n\n Question: Which Date has a Builder of alco...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (date VARCHAR, election VARCHAR) Question: When was the Election of 1953? Here is the SQLite query to answer to the question: When was the Election of 1953...
Here is the SQLite query to answer the question: When was the Election of 1953?: ``` SELECT date FROM table_name_46 WHERE election = "1953"; ```
9,608
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (date VARCHAR, election VARCHAR)\n\n Question: When was the Election of 1953?\n\nHere 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_78 (date VARCHAR, votes VARCHAR) Question: On what date were there 50,324 votes? Here is the SQLite query to answer to the question: On what date were there 5...
Your SQLite query is correctly structured for the given question. Here it is wrapped in triple backticks for better formatting: ``` SELECT date FROM table_name_78 WHERE votes = "50,324"; ``` This query will return the date(s) from the `table_name_78` table where the `votes` column equals "50,324".
9,609
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (date VARCHAR, votes VARCHAR)\n\n Question: On what date were there 50,324 votes?\n\nHere 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_32 (votes VARCHAR, date VARCHAR) Question: How many votes were there on November 10? Here is the SQLite query to answer to the question: How many votes were t...
To count the total number of votes on November 10, you should use the `SUM` function, assuming that the `votes` column contains numerical values (votes counts). However, if the `votes` column is stored as a VARCHAR and you want to count how many entries there are, you can simply count the rows instead. Below are two va...
9,610
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (votes VARCHAR, date VARCHAR)\n\n Question: How many votes were there on November 10?\n\nHere 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_47 (date VARCHAR, record VARCHAR) Question: What date has 79-48 as the record? Here is the SQLite query to answer to the question: What date has 79-48 as the ...
Here is the SQLite query to answer the question: ``` SELECT date FROM table_name_47 WHERE record = "79-48"; ```
9,611
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (date VARCHAR, record VARCHAR)\n\n Question: What date has 79-48 as the record?\n\nHere 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_86 (attendance INTEGER, record VARCHAR) Question: What is the average attendance that has 83-52 as the record? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question regarding the average attendance for the record "83-52": ``` SELECT AVG(attendance) FROM table_name_86 WHERE record = "83-52"; ```
9,612
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (attendance INTEGER, record VARCHAR)\n\n Question: What is the average attendance that has 83-52 as the record?\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (segment_d VARCHAR, segment_a VARCHAR) Question: Name the segment D for umbrellas Here is the SQLite query to answer to the question: Name the segment D fo...
Here is the SQLite query to name the segment D for umbrellas: ``` SELECT segment_d FROM table_name_60 WHERE segment_a = "umbrellas" ```
9,613
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (segment_d VARCHAR, segment_a VARCHAR)\n\n Question: Name the segment D for umbrellas\n\nHere 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_89 (segment_a VARCHAR, netflix VARCHAR) Question: Name the segment A for netflix of s05e01 Here is the SQLite query to answer to the question: Name the segmen...
Your SQLite query is correct for retrieving the segment A for Netflix of "s05e01". Here it is wrapped in triple backticks for clarity: ``` SELECT segment_a FROM table_name_89 WHERE netflix = "s05e01"; ```
9,614
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (segment_a VARCHAR, netflix VARCHAR)\n\n Question: Name the segment A for netflix of s05e01\n\nHere is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (series_ep VARCHAR, segment_d VARCHAR) Question: Name the series ep for darts Here is the SQLite query to answer to the question: Name the series ep for da...
Here is the SQLite query to answer the question: Name the series ep for darts: ``` SELECT series_ep FROM table_name_27 WHERE segment_d = "darts" ```
9,615
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (series_ep VARCHAR, segment_d VARCHAR)\n\n Question: Name the series ep for darts\n\nHere is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (series_ep VARCHAR, segment_c VARCHAR) Question: Name the series ep for segment c of luxury cars (part 1) Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question: ``` SELECT series_ep FROM table_name_63 WHERE segment_c = "luxury cars (part 1)" ```
9,616
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (series_ep VARCHAR, segment_c VARCHAR)\n\n Question: Name the series ep for segment c of luxury cars (part 1)\n\nHer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (school VARCHAR, location VARCHAR) Question: What school is located in rossville? Here is the SQLite query to answer to the question: What school is locate...
Here is the SQLite query to answer the question: What school is located in rossville?: ``` SELECT school FROM table_name_79 WHERE location = "rossville" ```
9,617
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (school VARCHAR, location VARCHAR)\n\n Question: What school is located in rossville?\n\nHere 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_73 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR) Question: How many people enrolled a the school with an IHSAA Class of a, and the trojans as their...
The query you provided uses the `MIN` function, which returns the smallest value in a set. However, to get the total number of enrollments that match the conditions specified, you should use the `SUM` function instead or count distinct enrollments. Here's the appropriate query to count the number of enrollments for sch...
9,618
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR)\n\n Question: How many people enrolled a the school with a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (ihsaa_class VARCHAR, _number___county VARCHAR, mascot VARCHAR) Question: What IHSAA clas is the school with a county number of 12 clinton and the hornets a...
Here is the SQLite query to answer the question regarding the IHSAA class for the school with a county number of "12 clinton" and the mascot "hornets": ``` SELECT ihsaa_class FROM table_name_80 WHERE _number___county = "12 clinton" AND mascot = "hornets" ```
9,619
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (ihsaa_class VARCHAR, _number___county VARCHAR, mascot VARCHAR)\n\n Question: What IHSAA clas is the school with a c...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (score VARCHAR, loss VARCHAR) Question: What is the score when a loss was listed with Lannan (4-8)? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question regarding the score when a loss was listed with Lannan (4-8): ``` SELECT score FROM table_name_48 WHERE loss = "Lannan (4-8)"; ```
9,620
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (score VARCHAR, loss VARCHAR)\n\n Question: What is the score when a loss was listed with Lannan (4-8)?\n\nHere is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR) Question: What was the date when the Twins had a record of 44-37? Here is the SQLite query to answer to the question: What w...
Here is the SQLite query to answer the question regarding the date when the Twins had a record of 44-37: ``` SELECT date FROM table_name_93 WHERE record = "44-37" ```
9,621
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR)\n\n Question: What was the date when the Twins had a record of 44-37?\n\nHere 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_25 (opponents_in_final VARCHAR, date VARCHAR) Question: Which Opponents in Final has a Date of september 16, 1990? Here is the SQLite query to answer to the q...
Here's the SQLite query to answer the question about which opponents were in the final on September 16, 1990: ```sql SELECT opponents_in_final FROM table_name_25 WHERE date = "september 16, 1990"; ```
9,622
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (opponents_in_final VARCHAR, date VARCHAR)\n\n Question: Which Opponents in Final has a Date of september 16, 1990?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (partner VARCHAR, date VARCHAR) Question: Which Partner has a Date of june 18, 1989? Here is the SQLite query to answer to the question: Which Partner has ...
Here is the SQLite query to answer the question: Which Partner has a Date of june 18, 1989?: ``` SELECT partner FROM table_name_87 WHERE date = "june 18, 1989"; ```
9,623
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (partner VARCHAR, date VARCHAR)\n\n Question: Which Partner has a Date of june 18, 1989?\n\nHere 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_15 (opponents_in_final VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR) Question: Which Opponents in Final has an Outcome of winner, and a Surface of h...
Here is the SQLite query that answers your question: ``` SELECT opponents_in_final FROM table_name_15 WHERE outcome = "winner" AND surface = "hard" AND date = "april 17, 1994" ```
9,624
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (opponents_in_final VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)\n\n Question: Which Opponents in Final ...
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_in_final VARCHAR, score_in_final VARCHAR) Question: Which Opponents in Final has a Score in Final of 7–5, 1–6 4–6? Here is the SQLite query to a...
Here is the SQLite query to answer the question about which opponents in the final have a specific score in the final of "7–5, 1–6 4–6": ```sql SELECT opponents_in_final FROM table_name_19 WHERE score_in_final IN ("7–5", "1–6", "4–6"); ``` Please note that I corrected the `WHERE` clause to use `IN` to check for an...
9,625
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (opponents_in_final VARCHAR, score_in_final VARCHAR)\n\n Question: Which Opponents in Final has a Score in Final of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (partner VARCHAR, score_in_final VARCHAR) Question: Which Partner has a Score in Final of 6–1, 6–2? Here is the SQLite query to answer to the question: Whi...
The SQLite query you've provided is mostly correct, but it seems to imply that you are looking for an exact match of the score as a single string. If you want to specifically look for partners with either score "6–1" or "6–2", you can use the following modified query: ```sql SELECT partner FROM table_name_94 WHERE sco...
9,626
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (partner VARCHAR, score_in_final VARCHAR)\n\n Question: Which Partner has a Score in Final of 6–1, 6–2?\n\nHere is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (points INTEGER, opponent VARCHAR, game VARCHAR) Question: What is the total Points for the Opponent of @ New Jersey Devils and a Game bigger than 7? Here ...
Here is the SQLite query to answer the question regarding the total points for the opponent of @ New Jersey Devils in games greater than 7: ```sql SELECT SUM(points) FROM table_name_29 WHERE opponent = "@ new jersey devils" AND game > 7; ```
9,627
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (points INTEGER, opponent VARCHAR, game VARCHAR)\n\n Question: What is the total Points for the Opponent of @ New Je...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (time VARCHAR, event VARCHAR) Question: What was the time of the NJKF Titans Neo X event? Here is the SQLite query to answer to the question: What was the ...
Here is the SQLite query to answer the question about the time of the NJKF Titans Neo X event: ``` SELECT time FROM table_name_83 WHERE event = "NJKF Titans Neo X"; ```
9,628
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (time VARCHAR, event VARCHAR)\n\n Question: What was the time of the NJKF Titans Neo X event?\n\nHere 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_72 (record VARCHAR, time VARCHAR, event VARCHAR) Question: What was the record after the NJKF Magnam 16 event that lasted 2:06? Here is the SQLite query to an...
The query you provided is close, but it needs to find the record that occurs after the specific event. To achieve this, we should look for the row that comes after the NJKF Magnam 16 event with a duration of 2:06. Assuming there is some sort of timestamp or ordering in the table, we would typically use a subquery or a ...
9,629
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (record VARCHAR, time VARCHAR, event VARCHAR)\n\n Question: What was the record after the NJKF Magnam 16 event that ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (opponent VARCHAR, record VARCHAR) Question: Which opponent led to a 6-3 record? Here is the SQLite query to answer to the question: Which opponent led to ...
Your SQLite query appears to be correct for retrieving the opponent that corresponds to a record of 6-3. Here’s your query formatted within code blocks: ``` SELECT opponent FROM table_name_14 WHERE record = "6-3"; ``` This will return the opponent(s) from the `table_name_14` table that has a record of 6-3.
9,630
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (opponent VARCHAR, record VARCHAR)\n\n Question: Which opponent led to a 6-3 record?\n\nHere 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_69 (pick__number VARCHAR, overall VARCHAR, round VARCHAR, name VARCHAR) Question: How many Picks have a Round larger than 2, and a Name of lawrence sidbury, an...
Here is the SQLite query to answer the question: ``` SELECT COUNT(pick__number) FROM table_name_69 WHERE round > 2 AND name = "lawrence sidbury" AND overall < 125 ```
9,631
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (pick__number VARCHAR, overall VARCHAR, round VARCHAR, name VARCHAR)\n\n Question: How many Picks have a Round large...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (pick__number INTEGER, name VARCHAR, round VARCHAR) Question: Which Pick # is the highest one that has a Name of william middleton, and a Round larger than ...
Here is the SQLite query to answer the question regarding the highest Pick # for william middleton with a Round larger than 5: ```sql SELECT MAX(pick__number) FROM table_name_32 WHERE name = "william middleton" AND round > 5; ```
9,632
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (pick__number INTEGER, name VARCHAR, round VARCHAR)\n\n Question: Which Pick # is the highest one that has a Name of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (overall INTEGER, position VARCHAR) Question: Which Overall is the lowest one that has a Position of offensive tackle? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about finding the lowest Overall for the position of "offensive tackle": ``` SELECT MIN(overall) FROM table_name_33 WHERE position = 'offensive tackle'; ```
9,633
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (overall INTEGER, position VARCHAR)\n\n Question: Which Overall is the lowest one that has a Position of offensive t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (overall INTEGER, name VARCHAR) Question: Which Overall is the average one that has a Name of vance walker? Here is the SQLite query to answer to the quest...
Your SQLite query to find the average overall score for entries with the name "vance walker" is correct. Here it is wrapped in the appropriate code block: ``` SELECT AVG(overall) FROM table_name_95 WHERE name = "vance walker"; ```
9,634
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (overall INTEGER, name VARCHAR)\n\n Question: Which Overall is the average one that has a Name of vance walker?\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (pick__number INTEGER, name VARCHAR, round VARCHAR) Question: Which Pick # is the highest one that has a Name of lawrence sidbury, and a Round smaller than ...
Here is the SQLite query to answer the question: ``` SELECT MAX(pick__number) FROM table_name_86 WHERE name = "lawrence sidbury" AND round < 4; ```
9,635
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (pick__number INTEGER, name VARCHAR, round VARCHAR)\n\n Question: Which Pick # is the highest one that has a Name of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (february INTEGER, opponent VARCHAR, game VARCHAR) Question: What is the February number of the game played against the St. Louis Blues with a game number l...
Your SQLite query has a misunderstanding regarding the objective of the question. You need to select the `february` number for games played against the St. Louis Blues with a game number less than 58, rather than calculating the average. Here is the corrected SQLite query: ``` SELECT february FROM table_name_35 WHER...
9,636
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (february INTEGER, opponent VARCHAR, game VARCHAR)\n\n Question: What is the February number of the game played agai...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR) Question: Who is the opponent of the game that had a record of 24-26-4? Here is the SQLite query to answer to the questi...
Your SQLite query to find the opponent of the game with the record of 24-26-4 is correct. Here it is wrapped in code formatting: ``` SELECT opponent FROM table_name_50 WHERE record = "24-26-4"; ```
9,637
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR)\n\n Question: Who is the opponent of the game that had a record of 24-26-4?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (february VARCHAR, opponent VARCHAR, game VARCHAR) Question: What is the February number of the game with the Vancouver Canucks as the opponent and a game n...
Your query is close, but it looks like you're trying to retrieve the `february` values instead of counting them. If you want to get the February number(s) for the games against the Vancouver Canucks where the game number is greater than 55, you should select the `february` column directly. Here’s the corrected query: ...
9,638
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (february VARCHAR, opponent VARCHAR, game VARCHAR)\n\n Question: What is the February number of the game with the Va...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (nationality VARCHAR, player VARCHAR) Question: What nationality is Larry McMorran? Here is the SQLite query to answer to the question: What nationality is...
Here is the SQLite query to answer the question: What nationality is Larry McMorran?: ``` SELECT nationality FROM table_name_59 WHERE player = "Larry McMorran"; ```
9,639
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (nationality VARCHAR, player VARCHAR)\n\n Question: What nationality is Larry McMorran?\n\nHere 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_71 (date VARCHAR, game VARCHAR) Question: what team scored 17 Here is the SQLite query to answer to the question: what team scored 17: ``` SELECT date FROM ta...
It seems you want to retrieve the date(s) of the game where the score was 17. However, your provided query checks for rows where the game's name is 17, which may not be correct if "17" refers to a score rather than a game name. Assuming you want to retrieve the games that have a score of 17, you might want to adjust y...
9,640
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR)\n\n Question: what team scored 17\n\nHere 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_58 (record VARCHAR, date VARCHAR) Question: What was their record on July 22? Here is the SQLite query to answer to the question: What was their record on Jul...
Here is the SQLite query to answer the question regarding the record on July 22: ``` SELECT record FROM table_name_58 WHERE date = "July 22"; ```
9,641
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)\n\n Question: What was their record on July 22?\n\nHere 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_17 (date VARCHAR, record VARCHAR) Question: On what date was their record 46-39? Here is the SQLite query to answer to the question: On what date was their re...
Your SQLite query to find the date for the record "46-39" is correct. Here it is, wrapped in markdown: ``` SELECT date FROM table_name_17 WHERE record = "46-39"; ```
9,642
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (date VARCHAR, record VARCHAR)\n\n Question: On what date was their record 46-39?\n\nHere 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_1 (record VARCHAR, date VARCHAR) Question: What was the oilers record on October 20? Here is the SQLite query to answer to the question: What was the oilers r...
Here's the SQLite query wrapped in the required format to answer the question about the Oilers' record on October 20: ``` SELECT record FROM table_name_1 WHERE date = "October 20"; ```
9,643
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR)\n\n Question: What was the oilers record on October 20?\n\nHere 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_85 (record VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR) Question: What was the oilers record for the game on November 27 when the Edmonton oilers were...
Here is the SQLite query to answer the question regarding the Edmonton Oilers' record for the game on November 27 when they were playing at home against the Chicago Blackhawks: ``` SELECT record FROM table_name_85 WHERE home = "edmonton oilers" AND visitor = "chicago blackhawks" AND date = "november 27" ```
9,644
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (record VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)\n\n Question: What was the oilers record for the game ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (lead VARCHAR, left_bloc VARCHAR) Question: Name the lead with left bloc of 8.4% Here is the SQLite query to answer to the question: Name the lead with lef...
Here is the SQLite query to answer the question of naming the lead with a left bloc of 8.4%: ``` SELECT lead FROM table_name_25 WHERE left_bloc = '8.4%'; ```
9,645
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (lead VARCHAR, left_bloc VARCHAR)\n\n Question: Name the lead with left bloc of 8.4%\n\nHere 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_95 (lead VARCHAR, institute VARCHAR, social_democratic VARCHAR) Question: Name the lead for institute of election results and social democratic of 31.7% 8 seat...
Here is the SQLite query to answer the question: ``` SELECT lead FROM table_name_95 WHERE institute = "election results" AND social_democratic = "31.7% 8 seats"; ```
9,646
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (lead VARCHAR, institute VARCHAR, social_democratic VARCHAR)\n\n Question: Name the lead for institute of election r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (regionalliga_süd VARCHAR, season VARCHAR) Question: What is the Regionalliga Sud for 1995-96? Here is the SQLite query to answer to the question: What is ...
Here is the SQLite query to answer the question regarding the Regionalliga Süd for the season 1995-96: ``` SELECT regionalliga_süd FROM table_name_13 WHERE season = "1995-96"; ```
9,647
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (regionalliga_süd VARCHAR, season VARCHAR)\n\n Question: What is the Regionalliga Sud for 1995-96?\n\nHere 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_61 (regionalliga_nord VARCHAR, Ost VARCHAR, regionalliga_süd VARCHAR) Question: What was the Regionalliga Nord-Ost for the team that had a Regionalliga Sud of ...
It looks like there is a small syntax error in the query you provided. You used a hyphen (-) instead of a comma (,) to separate the columns in the SELECT clause. Here's the corrected SQL query that retrieves the `Regionalliga Nord` and `Ost` for the specified Regionalliga Süd: ```sql SELECT regionalliga_nord, Ost FROM...
9,648
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (regionalliga_nord VARCHAR, Ost VARCHAR, regionalliga_süd VARCHAR)\n\n Question: What was the Regionalliga Nord-Ost ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (season VARCHAR, regionalliga_süd VARCHAR) Question: Which season had a Regionalliga Sud of Stuttgarter Kickers? Here is the SQLite query to answer to the ...
Here is the SQLite query to answer the question of which season had a Regionalliga Süd of Stuttgarter Kickers: ``` SELECT season FROM table_name_68 WHERE regionalliga_süd = "Stuttgarter Kickers"; ```
9,649
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (season VARCHAR, regionalliga_süd VARCHAR)\n\n Question: Which season had a Regionalliga Sud of Stuttgarter Kickers?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (party VARCHAR, incumbent VARCHAR) Question: What party is Charles Van Wyck part of? Here is the SQLite query to answer to the question: What party is Charl...
Here is the SQLite query to answer the question: What party is Charles Van Wyck part of? ```sql SELECT party FROM table_name_4 WHERE incumbent = "Charles Van Wyck"; ```
9,650
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (party VARCHAR, incumbent VARCHAR)\n\n Question: What party is Charles Van Wyck part of?\n\nHere 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_3 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) Question: What district is James Humphrey from who was first elected in 1858 and...
Here is the SQLite query to answer the question about James Humphrey: ``` SELECT district FROM table_name_3 WHERE first_elected = '1858' AND result = 'defeated democratic gain' AND incumbent = 'James Humphrey'; ```
9,651
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)\n\n Question: What district is James Hum...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (surface VARCHAR, date VARCHAR) Question: What surface was the November 5, 1995 match played on? Here is the SQLite query to answer to the question: What s...
```sql SELECT surface FROM table_name_33 WHERE date = "November 5, 1995"; ```
9,652
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (surface VARCHAR, date VARCHAR)\n\n Question: What surface was the November 5, 1995 match played on?\n\nHere 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_80 (date VARCHAR, opponent_in_the_final VARCHAR) Question: What date was the match played where Amy Frazier was the opponent? Here is the SQLite query to answ...
Here is the SQLite query to answer the question regarding the date of the match played where Amy Frazier was the opponent: ```sql SELECT date FROM table_name_80 WHERE opponent_in_the_final = "Amy Frazier"; ```
9,653
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (date VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: What date was the match played where Amy Frazier was the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR) Question: What score was given at the August 17, 2005 match? Here is the SQLite query to answer to the question: What score w...
Here is the SQLite query to answer the question regarding the score given at the August 17, 2005 match: ``` SELECT score FROM table_name_47 WHERE date = "August 17, 2005"; ```
9,654
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR)\n\n Question: What score was given at the August 17, 2005 match?\n\nHere 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_7 (tournament VARCHAR, date VARCHAR) Question: Which tournament was played on October 1, 2006? Here is the SQLite query to answer to the question: Which tourn...
Here is the SQLite query to answer the question about which tournament was played on October 1, 2006: ``` SELECT tournament FROM table_name_7 WHERE date = "October 1, 2006" ```
9,655
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (tournament VARCHAR, date VARCHAR)\n\n Question: Which tournament was played on October 1, 2006?\n\nHere 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_2 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) Question: What is the score of the match played on a hard surface with an opponent in the fin...
Here is the corrected SQLite query to answer the question about the score of the match played on a hard surface with Elena Likhovtseva as the opponent in the final: ``` SELECT score FROM table_name_2 WHERE surface = 'hard' AND opponent_in_the_final = 'Elena Likhovtseva'; ```
9,656
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: What is the score of the match played o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (record VARCHAR, date VARCHAR) Question: What was the team's record on july 18? Here is the SQLite query to answer to the question: What was the team's rec...
Here is the SQLite query to answer the question about the team's record on July 18: ``` SELECT record FROM table_name_71 WHERE date = "july 18"; ```
9,657
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (record VARCHAR, date VARCHAR)\n\n Question: What was the team's record on july 18?\n\nHere 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_95 (conference_joined VARCHAR, previous_conference VARCHAR, mascot VARCHAR) Question: Which Conference Joined has a Previous Conference of northwestern, and a ...
Here is the SQLite query to answer the question regarding which Conference Joined has a Previous Conference of "northwestern," and a Mascot of "oilers": ``` SELECT conference_joined FROM table_name_95 WHERE previous_conference = "northwestern" AND mascot = "oilers"; ```
9,658
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (conference_joined VARCHAR, previous_conference VARCHAR, mascot VARCHAR)\n\n Question: Which Conference Joined has a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (year_left INTEGER, school VARCHAR, year_joined VARCHAR) Question: Which Year Left is the lowest one that has a School of calumet, and a Year Joined larger ...
Here is the SQLite query to answer the question regarding the lowest Year Left for the school "calumet" and a Year Joined larger than 1993: ``` SELECT MIN(year_left) FROM table_name_13 WHERE school = "calumet" AND year_joined > 1993 ```
9,659
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (year_left INTEGER, school VARCHAR, year_joined VARCHAR)\n\n Question: Which Year Left is the lowest one that has a ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (Id VARCHAR) Question: avg passengers in 2012 for 2009 more than 104.5 and 2010 less than 162.6 and 2011 less than 141.8 is what? Here is the SQLite query ...
It looks like there are some issues with the provided SQLite query, particularly with the use of column names and the format of the query. Assuming the database has a structure where the `Id` column corresponds to a unique identifier for rows of records and the relevant data for each year is presented in respective c...
9,660
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (Id VARCHAR)\n\n Question: avg passengers in 2012 for 2009 more than 104.5 and 2010 less than 162.6 and 2011 less th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (rank INTEGER) Question: The lowest rank with 2011 less than 80.7 and 2012 less than 73.1 is what? Here is the SQLite query to answer to the question: The ...
It looks like there was a slight misunderstanding in the initial query structure, specifically regarding the use of the column names for 2011 and 2012. Assuming that `table_name_82` has additional columns for the years 2011 and 2012, here's how the query might look: ```sql SELECT MIN(rank) FROM table_name_82 WHERE y...
9,661
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (rank INTEGER)\n\n Question: The lowest rank with 2011 less than 80.7 and 2012 less than 73.1 is what?\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (rank VARCHAR) Question: the sum of 2009 with rank of 5 and 2010 less than 76.5 is what? Here is the SQLite query to answer to the question: the sum of 200...
The provided SQL query is not entirely correct because it attempts to sum a constant value rather than a column from the table. Additionally, the logic regarding the columns and conditions doesn't align with typical SQL syntax. If you want to find entries from a specific year and rank in the context of a database that...
9,662
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (rank VARCHAR)\n\n Question: the sum of 2009 with rank of 5 and 2010 less than 76.5 is what?\n\nHere 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_name_45 (entered_office VARCHAR, throne_name VARCHAR) Question: What was the Entered Office of the man with the throne name Mohammad Ali Shah Qajar? Here is the SQ...
Here is the SQLite query to answer the question: ``` SELECT entered_office FROM table_name_45 WHERE throne_name = "Mohammad Ali Shah Qajar"; ```
9,663
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (entered_office VARCHAR, throne_name VARCHAR)\n\n Question: What was the Entered Office of the man with the throne n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (main_location_s_ VARCHAR, _percentage_of_national VARCHAR) Question: What is listed for the Main Location(s) that has a % of National of 2.05%? Here is th...
Here is the SQLite query that answers your question: ``` SELECT main_location_s_ FROM table_name_77 WHERE _percentage_of_national = '2.05%'; ```
9,664
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (main_location_s_ VARCHAR, _percentage_of_national VARCHAR)\n\n Question: What is listed for the Main Location(s) th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (area VARCHAR, output__2007_ VARCHAR) Question: What's the Area with an Output (2007) of 12,332 T? Here is the SQLite query to answer to the question: What...
Here is the SQLite query to answer the question about the Area with an Output (2007) of 12,332 T: ``` SELECT area FROM table_name_17 WHERE output__2007_ = "12,332 T" ```
9,665
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (area VARCHAR, output__2007_ VARCHAR)\n\n Question: What's the Area with an Output (2007) of 12,332 T?\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (main_location_s_ VARCHAR, area VARCHAR) Question: What Main Location(s) has an Area of 19,800 HA? Here is the SQLite query to answer to the question: What...
Here is the correct SQLite query to answer the question about what Main Location(s) has an Area of 19,800 HA: ``` SELECT main_location_s_ FROM table_name_16 WHERE area = '19,800 HA'; ```
9,666
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (main_location_s_ VARCHAR, area VARCHAR)\n\n Question: What Main Location(s) has an Area of 19,800 HA?\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (date VARCHAR, record VARCHAR) Question: On what date was the record 4–0–0? Here is the SQLite query to answer to the question: On what date was the record...
Here is the SQLite query to answer the question about the date when the record was 4–0–0: ``` SELECT date FROM table_name_81 WHERE record = "4–0–0"; ```
9,667
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (date VARCHAR, record VARCHAR)\n\n Question: On what date was the record 4–0–0?\n\nHere 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_2 (score VARCHAR, home VARCHAR) Question: what was the score in toronto Here is the SQLite query to answer to the question: what was the score in toronto: ```...
Here is the SQLite query to answer the question: what was the score in Toronto: ``` SELECT score FROM table_name_2 WHERE home = "toronto" ```
9,668
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (score VARCHAR, home VARCHAR)\n\n Question: what was the score in toronto\n\nHere 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_21 (record VARCHAR, event VARCHAR) Question: Which Record has an Event of tpf 5: stars and strikes? Here is the SQLite query to answer to the question: Which ...
Here is the SQLite query to answer the question concerning which record has an event of "tpf 5: stars and strikes": ```sql SELECT record FROM table_name_21 WHERE event = "tpf 5: stars and strikes"; ```
9,669
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (record VARCHAR, event VARCHAR)\n\n Question: Which Record has an Event of tpf 5: stars and strikes?\n\nHere 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_8 (opponent VARCHAR, event VARCHAR) Question: Which Opponent has an Event of king of the cage: shock and awe? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question regarding which opponent has an event of "king of the cage: shock and awe": ``` SELECT opponent FROM table_name_8 WHERE event = "king of the cage: shock and awe"; ```
9,670
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (opponent VARCHAR, event VARCHAR)\n\n Question: Which Opponent has an Event of king of the cage: shock and awe?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (method VARCHAR, record VARCHAR) Question: Which Method has a Record of 16–7? Here is the SQLite query to answer to the question: Which Method has a Record...
Here is the SQLite query you can use to find which method has a record of 16–7: ``` SELECT method FROM table_name_99 WHERE record = "16–7" ```
9,671
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (method VARCHAR, record VARCHAR)\n\n Question: Which Method has a Record of 16–7?\n\nHere 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_32 (round VARCHAR, method VARCHAR, event VARCHAR) Question: Which Round has a Method of decision (unanimous), and an Event of ufc 145? Here is the SQLite quer...
Here is the SQLite query to answer the question regarding the Round that has a Method of decision (unanimous) and an Event of ufc 145: ``` SELECT round FROM table_name_32 WHERE method = "decision (unanimous)" AND event = "ufc 145" ```
9,672
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (round VARCHAR, method VARCHAR, event VARCHAR)\n\n Question: Which Round has a Method of decision (unanimous), and a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (event VARCHAR, round VARCHAR, record VARCHAR) Question: Which Event has a Round of 1, and a Record of 2–0? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question: Which Event has a Round of 1, and a Record of 2–0?: ``` SELECT event FROM table_name_70 WHERE round = "1" AND record = "2–0" ```
9,673
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (event VARCHAR, round VARCHAR, record VARCHAR)\n\n Question: Which Event has a Round of 1, and a Record of 2–0?\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) Question: What is the general classification of Mapei-clas in stage 12? Here i...
Your SQLite query to find the general classification of "Mapei-clas" in stage 12 is correct. Here is the formatted code: ``` SELECT general_classification FROM table_name_25 WHERE team_classification = "mapei-clas" AND stage = "12"; ```
9,674
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR)\n\n Question: What is the general class...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (winner VARCHAR, stage VARCHAR) Question: Which winner has a P stage? Here is the SQLite query to answer to the question: Which winner has a P stage?: ``` ...
Here is the SQLite query to answer the question: Which winner has a P stage?: ``` SELECT winner FROM table_name_48 WHERE stage = 'P'; ```
9,675
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (winner VARCHAR, stage VARCHAR)\n\n Question: Which winner has a P stage?\n\nHere is the SQLite query to answer to t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (stage VARCHAR, team_classification VARCHAR, points_classification VARCHAR) Question: Which stage corresponds to Banesto and Tony Rominger? Here is the SQLi...
To find the stage corresponding to Banesto and Tony Rominger using the provided schema, the SQLite query would be as follows: ```sql SELECT stage FROM table_name_7 WHERE team_classification = "banesto" AND points_classification = "tony rominger"; ```
9,676
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (stage VARCHAR, team_classification VARCHAR, points_classification VARCHAR)\n\n Question: Which stage corresponds to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (format VARCHAR, type VARCHAR, call_letters VARCHAR) Question: Type of primary, and a Call letters of kbjs has what format? Here is the SQLite query to ans...
Here is the SQLite query to answer the question about the format for the type of "primary" and call letters "kbjs": ```sql SELECT format FROM table_name_74 WHERE type = "primary" AND call_letters = "kbjs"; ```
9,677
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (format VARCHAR, type VARCHAR, call_letters VARCHAR)\n\n Question: Type of primary, and a Call letters of kbjs has w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (frequency__mhz_ VARCHAR, type VARCHAR, call_letters VARCHAR) Question: Frequency (MHz) that has a Type of primary, and a Call letters of ktbb-fm has what t...
Your SQLite query to find the total number of frequencies that have a type of "primary" and call letters of "ktbb-fm" is correct. Here it is wrapped in code formatting: ``` SELECT COUNT(frequency__mhz_) FROM table_name_52 WHERE type = "primary" AND call_letters = "ktbb-fm"; ```
9,678
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (frequency__mhz_ VARCHAR, type VARCHAR, call_letters VARCHAR)\n\n Question: Frequency (MHz) that has a Type of prima...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (frequency__mhz_ INTEGER, type VARCHAR, call_letters VARCHAR) Question: Type of primary, and a Call letters of kktx-fm has what average Frequency (MHz)? He...
Here is the SQLite query formatted as requested: ``` SELECT AVG(frequency__mhz_) FROM table_name_40 WHERE type = "primary" AND call_letters = "kktx-fm"; ```
9,679
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (frequency__mhz_ INTEGER, type VARCHAR, call_letters VARCHAR)\n\n Question: Type of primary, and a Call letters of k...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (frequency__mhz_ INTEGER, call_letters VARCHAR) Question: Frequency (MHz) that has a Call letters of krmd-fm has what sum? Here is the SQLite query to answ...
Here is the SQLite query to answer the question regarding the sum of frequencies for the call letters "krmd-fm": ```sql SELECT SUM(frequency__mhz_) FROM table_name_99 WHERE call_letters = "krmd-fm"; ```
9,680
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (frequency__mhz_ INTEGER, call_letters VARCHAR)\n\n Question: Frequency (MHz) that has a Call letters of krmd-fm has...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (date VARCHAR, game VARCHAR) Question: What date has 1 for the game? Here is the SQLite query to answer to the question: What date has 1 for the game?: ```...
Your SQL query looks good for retrieving the date associated with the game value of 1. Here it is wrapped in code format: ``` SELECT date FROM table_name_84 WHERE game = 1; ```
9,681
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (date VARCHAR, game VARCHAR)\n\n Question: What date has 1 for the game?\n\nHere 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_14 (opponent VARCHAR, date VARCHAR) Question: What opponent has april 10 as the date? Here is the SQLite query to answer to the question: What opponent has ap...
Here is the SQLite query to answer the question about what opponent has April 10 as the date: ``` SELECT opponent FROM table_name_14 WHERE date = "april 10"; ```
9,682
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR)\n\n Question: What opponent has april 10 as the date?\n\nHere 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_82 (player VARCHAR, round VARCHAR, position VARCHAR) Question: What player has a round larger than 6 with a D position. Here is the SQLite query to answer to ...
Your SQLite query is almost correct, but it seems that the expected value for the `position` should be checked in a case-insensitive manner since you specified "D" and not "d". Depending on your requirements, you might want to accommodate both cases. Here’s your original query with a slight modification for case inse...
9,683
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (player VARCHAR, round VARCHAR, position VARCHAR)\n\n Question: What player has a round larger than 6 with a D posit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR) Question: What league is from the United States and a round smaller than 12....
Here is the corrected SQLite query formatted as you requested: ``` SELECT college_junior_club_team__league_ FROM table_name_44 WHERE nationality = 'united states' AND CAST(round AS INTEGER) < 12; ``` This query selects the league from the specified table where the nationality is 'united states' and the round is less...
9,684
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR)\n\n Question: What league is from th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (college_junior_club_team__league_ VARCHAR, round VARCHAR, player VARCHAR) Question: What league has a 10 for round with Paul Cain? Here is the SQLite quer...
Here is the SQLite query to answer the question "What league has a 10 for round with Paul Cain?": ``` SELECT college_junior_club_team__league_ FROM table_name_51 WHERE round = '10' AND player = 'Paul Cain'; ```
9,685
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (college_junior_club_team__league_ VARCHAR, round VARCHAR, player VARCHAR)\n\n Question: What league has a 10 for ro...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR) Question: What league has a D position, a round smaller than 11...
Here is the SQLite query to answer the question: ``` SELECT college_junior_club_team__league_ FROM table_name_84 WHERE position = "D" AND round < 11 AND player = "Dennis Vial"; ```
9,686
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR)\n\n Question: What leag...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (rank VARCHAR, gatchaman VARCHAR) Question: What is the rank of the gatchaman of Jinpei? Here is the SQLite query to answer to the question: What is the ra...
Here is the SQLite query to answer the question about the rank of the gatchaman of Jinpei: ``` SELECT rank FROM table_name_76 WHERE gatchaman = "Jinpei"; ```
9,687
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (rank VARCHAR, gatchaman VARCHAR)\n\n Question: What is the rank of the gatchaman of Jinpei?\n\nHere 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_name_87 (japanese_voice_actor VARCHAR, battle_of_the_planets VARCHAR) Question: Who is the Japanese voice actor of the Battle of the Planets of Keyop? Here is the ...
Your SQLite query is correctly structured to retrieve the Japanese voice actor for the character Keyop from the specified table. Here is the SQL code wrapped in a code block: ``` SELECT japanese_voice_actor FROM table_name_87 WHERE battle_of_the_planets = "keyop"; ```
9,688
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (japanese_voice_actor VARCHAR, battle_of_the_planets VARCHAR)\n\n Question: Who is the Japanese voice actor of the B...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (rank VARCHAR, gatchaman VARCHAR) Question: What is the rank of the gatchaman Jinpei? Here is the SQLite query to answer to the question: What is the rank ...
Here is the SQLite query to answer the question about the rank of the gatchaman Jinpei: ```sql SELECT rank FROM table_name_38 WHERE gatchaman = "Jinpei"; ```
9,689
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (rank VARCHAR, gatchaman VARCHAR)\n\n Question: What is the rank of the gatchaman Jinpei?\n\nHere 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_48 (voice_actor__harmony_gold_ova_dub_ VARCHAR, japanese_voice_actor VARCHAR) Question: Who is the voice actor of the character with the Japanese voice actor Y...
Here is the SQLite query to answer the question about the voice actor of the character with the Japanese voice actor Yoku Shioya: ``` SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_48 WHERE japanese_voice_actor = "Yoku Shioya"; ```
9,690
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (voice_actor__harmony_gold_ova_dub_ VARCHAR, japanese_voice_actor VARCHAR)\n\n Question: Who is the voice actor of t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (mecha VARCHAR, bird_uniform VARCHAR) Question: What is the mecha with a condor bird uniform? Here is the SQLite query to answer to the question: What is t...
```sql SELECT mecha FROM table_name_33 WHERE bird_uniform = "condor"; ```
9,691
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (mecha VARCHAR, bird_uniform VARCHAR)\n\n Question: What is the mecha with a condor bird uniform?\n\nHere is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (voice_actor__harmony_gold_ova_dub_ VARCHAR, voice_actor__adv_tv_sentai_ova_dub_ VARCHAR) Question: Who is the voice actor (harmony gold ova dub) of the cha...
Here is the SQLite query to answer the question about the voice actor (harmony gold ova dub) of the character with a voice actor (adv TV/sentai ova dub) Kim Prause: ``` SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_10 WHERE voice_actor__adv_tv_sentai_ova_dub_ = "Kim Prause" ```
9,692
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (voice_actor__harmony_gold_ova_dub_ VARCHAR, voice_actor__adv_tv_sentai_ova_dub_ VARCHAR)\n\n Question: Who is the v...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR, surface VARCHAR, partner VARCHAR) Question: What is the score of the tournament on 25 July 1994 with a clay surface and Patric...
Here is the SQLite query to answer the question regarding the tournament score: ``` SELECT score FROM table_name_83 WHERE surface = "clay" AND partner = "Patricia Tarabini" AND date = "25 July 1994" ```
9,693
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR, surface VARCHAR, partner VARCHAR)\n\n Question: What is the score of the tournament on...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (partner VARCHAR, date VARCHAR) Question: Who is the partner of the tournament on 6 July 1987? Here is the SQLite query to answer to the question: Who is t...
Here is the SQLite query to answer the question "Who is the partner of the tournament on 6 July 1987?": ``` SELECT partner FROM table_name_12 WHERE date = "6 July 1987"; ```
9,694
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (partner VARCHAR, date VARCHAR)\n\n Question: Who is the partner of the tournament on 6 July 1987?\n\nHere 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_93 (partner VARCHAR, tournament VARCHAR) Question: Who is the partner at the Tampa tournament? Here is the SQLite query to answer to the question: Who is the ...
Here is the SQLite query to answer the question about the partner at the Tampa tournament: ``` SELECT partner FROM table_name_93 WHERE tournament = "tampa"; ```
9,695
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (partner VARCHAR, tournament VARCHAR)\n\n Question: Who is the partner at the Tampa tournament?\n\nHere 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_90 (tenure VARCHAR, revenues VARCHAR) Question: What is the tenure of the person with revenues of 60,000-->58,000 koku? Here is the SQLite query to answer to ...
Your SQLite query looks good for retrieving the tenure based on the specified revenues. Here's the query wrapped in the requested format: ``` SELECT tenure FROM table_name_90 WHERE revenues = "60,000-->58,000 koku" ``` This query will successfully return the tenure associated with the revenues of 60,000 to 58,000 ko...
9,696
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (tenure VARCHAR, revenues VARCHAR)\n\n Question: What is the tenure of the person with revenues of 60,000-->58,000 k...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (court_rank VARCHAR, courtesy_title VARCHAR) Question: What is the court rank of the person with a courtesy title of nagato-no-kami? Here is the SQLite que...
Here is the SQLite query to answer the question about the court rank of the person with a courtesy title of "nagato-no-kami": ``` SELECT court_rank FROM table_name_70 WHERE courtesy_title = "nagato-no-kami"; ```
9,697
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (court_rank VARCHAR, courtesy_title VARCHAR)\n\n Question: What is the court rank of the person with a courtesy titl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (name VARCHAR, courtesy_title VARCHAR) Question: What is the name of the person with a courtesy title of sanuki-no-kami/jiju? Here is the SQLite query to a...
Here is the SQLite query to answer the question about the person with the courtesy title of sanuki-no-kami/jiju: ``` SELECT name FROM table_name_32 WHERE courtesy_title = "sanuki-no-kami/jiju"; ```
9,698
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (name VARCHAR, courtesy_title VARCHAR)\n\n Question: What is the name of the person with a courtesy title of sanuki-...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (date VARCHAR, record VARCHAR) Question: what day was the score 39-14 Here is the SQLite query to answer to the question: what day was the score 39-14: ```...
Here is the SQLite query to answer the question: what day was the score 39-14: ``` SELECT date FROM table_name_58 WHERE record = '39-14'; ```
9,699
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (date VARCHAR, record VARCHAR)\n\n Question: what day was the score 39-14\n\nHere is the SQLite query to answer to t...