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_17 (award VARCHAR, year VARCHAR, result VARCHAR) Question: What is the name of the award in a year more than 2005, and the Result of nominated? Here is the SQ...
Here is the SQLite query to answer the question: ```sql SELECT award FROM table_name_17 WHERE year > 2005 AND result = "nominated"; ```
21,700
[ { "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 (award VARCHAR, year VARCHAR, result VARCHAR)\n\n Question: What is the name of the award in a year more than 2005, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR) Question: What is the award for the Star Awards earlier than 2005 and the result is won?...
Here is the SQLite query to answer the question: ``` SELECT award FROM table_name_31 WHERE organisation = "star awards" AND year < 2005 AND result = "won"; ```
21,701
[ { "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_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR)\n\n Question: What is the award for the Star Awa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR) Question: What is the organisation in 2011 that was nominated and the award of best info-...
Here is the SQLite query to answer the question about the organisation in 2011 that was nominated for the award of best info-ed programme host: ``` SELECT organisation FROM table_name_8 WHERE year = '2011' AND result = 'nominated' AND award = 'best info-ed programme host' ```
21,702
[ { "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 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR)\n\n Question: What is the organisation in 2011 th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (representative_work VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR) Question: What is the name of the Representative Work in a year later than 2005 w...
Here is the SQLite query to answer the question: ``` SELECT representative_work FROM table_name_20 WHERE year > 2005 AND result = "nominated" AND award = "best variety show host" ```
21,703
[ { "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_20 (representative_work VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR)\n\n Question: What is the name of the Rep...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (award VARCHAR, year VARCHAR, representative_work VARCHAR) Question: What is the award for 1998 with Representative Work of city beat? Here is the SQLite q...
Here is the SQLite query to answer the question about the award for 1998 with the Representative Work of "city beat": ``` SELECT award FROM table_name_78 WHERE year = '1998' AND representative_work = 'city beat'; ```
21,704
[ { "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 (award VARCHAR, year VARCHAR, representative_work VARCHAR)\n\n Question: What is the award for 1998 with Representat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR) Question: Score of 2–1 has what record? Here is the SQLite query to answer to the question: Score of 2–1 has what record?: ...
Here is the SQLite query to answer the question "Score of 2–1 has what record?": ``` SELECT record FROM table_name_66 WHERE score = "2–1" ```
21,705
[ { "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_66 (record VARCHAR, score VARCHAR)\n\n Question: Score of 2–1 has what record?\n\nHere is the SQLite query to answer to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (score VARCHAR, home VARCHAR) Question: Home of kings had what score? Here is the SQLite query to answer to the question: Home of kings had what score?: ``...
Here is the SQLite query to answer the question "Home of kings had what score?": ``` SELECT score FROM table_name_64 WHERE home = "kings" ```
21,706
[ { "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_64 (score VARCHAR, home VARCHAR)\n\n Question: Home of kings had what score?\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_2 (points VARCHAR, record VARCHAR) Question: Record of 21–29–10 had what total number of points? Here is the SQLite query to answer to the question: Record of...
The provided query is incorrect for the question asked. The question is asking for the total number of points associated with the record "21–29–10", not the count of entries. Assuming that the `points` column contains the points associated with that record, you should sum the points instead of counting them. Here is ...
21,707
[ { "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 (points VARCHAR, record VARCHAR)\n\n Question: Record of 21–29–10 had what total number of points?\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_13 (wins INTEGER, year VARCHAR, points VARCHAR) Question: How many wins did the team, which had more than 110 points, have in 1989? Here is the SQLite query t...
The SQLite query you provided is almost correct, but there are a couple of small issues to address. First, since the `points` column is defined as `VARCHAR`, we should cast it to an integer for the comparison. Secondly, we should ensure we're only summing wins from teams that had more than 110 points in the year 1989. ...
21,708
[ { "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 (wins INTEGER, year VARCHAR, points VARCHAR)\n\n Question: How many wins did the team, which had more than 110 point...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (points INTEGER, wins VARCHAR, year VARCHAR) Question: What is the highest number of points the team with 0 wins had before 1992? Here is the SQLite query ...
The SQLite query to answer the question about the highest number of points for the team with 0 wins before 1992 is: ``` SELECT MAX(points) FROM table_name_11 WHERE wins = '0' AND year < '1992'; ``` Note: Ensure that the `'0'` in `wins = '0'` matches the data type in your database (`VARCHAR` in this case). If `wins` ...
21,709
[ { "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_11 (points INTEGER, wins VARCHAR, year VARCHAR)\n\n Question: What is the highest number of points the team with 0 wins...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (round VARCHAR, pick__number VARCHAR) Question: In what Round was Pick #12 drafted? Here is the SQLite query to answer to the question: In what Round was P...
Here is the SQLite query to answer the question: In what Round was Pick #12 drafted?: ```sql SELECT round FROM table_name_53 WHERE pick__number = '12' ``` Note: The value '12' is enclosed in single quotes since it is defined as a VARCHAR in the schema.
21,710
[ { "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_53 (round VARCHAR, pick__number VARCHAR)\n\n Question: In what Round was Pick #12 drafted?\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_40 (player VARCHAR, position VARCHAR) Question: What Player is a Wide Receiver? Here is the SQLite query to answer to the question: What Player is a Wide Rece...
Here is the SQLite query to answer the question: What Player is a Wide Receiver?: ``` SELECT player FROM table_name_40 WHERE position = "Wide Receiver"; ```
21,711
[ { "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 (player VARCHAR, position VARCHAR)\n\n Question: What Player is a Wide Receiver?\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_1 (round VARCHAR, college VARCHAR) Question: In what Round was a player from College of Connecticut drafted? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question regarding the round in which a player from the College of Connecticut was drafted: ``` SELECT round FROM table_name_1 WHERE college = "connecticut"; ```
21,712
[ { "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 (round VARCHAR, college VARCHAR)\n\n Question: In what Round was a player from College of Connecticut drafted?\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_97 (position VARCHAR, pick__number VARCHAR) Question: What is the Position of Pick #321? Here is the SQLite query to answer to the question: What is the Posit...
Here is the SQLite query to answer the question: What is the Position of Pick #321?: ```sql SELECT position FROM table_name_97 WHERE pick__number = '321'; ```
21,713
[ { "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_97 (position VARCHAR, pick__number VARCHAR)\n\n Question: What is the Position of Pick #321?\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_45 (college VARCHAR, player VARCHAR) Question: What is Mark Cannon's College? Here is the SQLite query to answer to the question: What is Mark Cannon's Colleg...
Here is the SQLite query to answer the question about Mark Cannon's college: ``` SELECT college FROM table_name_45 WHERE player = "Mark Cannon"; ```
21,714
[ { "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 (college VARCHAR, player VARCHAR)\n\n Question: What is Mark Cannon's College?\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_85 (length_duration VARCHAR, date VARCHAR) Question: What is the length and duration of the race on April 19? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question regarding the length and duration of the race on April 19: ``` SELECT length_duration FROM table_name_85 WHERE date = "April 19"; ```
21,715
[ { "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 (length_duration VARCHAR, date VARCHAR)\n\n Question: What is the length and duration of the race on April 19?\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_46 (circuit VARCHAR, date VARCHAR) Question: What was the circuit had a race on September 20. Here is the SQLite query to answer to the question: What was the...
Here is the SQLite query to answer the question: ``` SELECT circuit FROM table_name_46 WHERE date = "September 20"; ```
21,716
[ { "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 (circuit VARCHAR, date VARCHAR)\n\n Question: What was the circuit had a race on September 20.\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_54 (date VARCHAR, length_duration VARCHAR) Question: What was the date of the race that lasted 6 hours? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about the date of the race that lasted 6 hours: ``` SELECT date FROM table_name_54 WHERE length_duration = "6 hours" ```
21,717
[ { "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_54 (date VARCHAR, length_duration VARCHAR)\n\n Question: What was the date of the race that lasted 6 hours?\n\nHere is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (class_es_ VARCHAR, circuit VARCHAR) Question: What are the classes for the circuit that has the Mazda Raceway Laguna Seca race. Here is the SQLite query t...
Here's the SQLite query presented as requested: ``` SELECT class_es_ FROM table_name_70 WHERE circuit = "Mazda Raceway Laguna Seca" ```
21,718
[ { "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 (class_es_ VARCHAR, circuit VARCHAR)\n\n Question: What are the classes for the circuit that has the Mazda Raceway L...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (opponent VARCHAR, points VARCHAR, november VARCHAR) Question: Which opponent has points less than 18, and a november greater than 11? Here is the SQLite q...
Here is the SQLite query to answer the question regarding which opponent has points less than 18 and a november greater than 11: ``` SELECT opponent FROM table_name_21 WHERE points < 18 AND november > 11; ```
21,719
[ { "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 (opponent VARCHAR, points VARCHAR, november VARCHAR)\n\n Question: Which opponent has points less than 18, and a nov...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (november INTEGER, game VARCHAR, opponent VARCHAR) Question: What is the highest November that has a game less than 12, and @ detroit red wings as the oppon...
Here is the SQLite query to answer the question about the highest November for games less than 12 against the opponent "@ detroit red wings": ``` SELECT MAX(november) FROM table_name_57 WHERE game < 12 AND opponent = "@ detroit red wings"; ```
21,720
[ { "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_57 (november INTEGER, game VARCHAR, opponent VARCHAR)\n\n Question: What is the highest November that has a game 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_62 (record VARCHAR, november VARCHAR, opponent VARCHAR) Question: What record has a november greater than 11, and st. louis blues as the opponent? Here is the...
Here is the SQLite query to answer the question: ``` SELECT record FROM table_name_62 WHERE november > 11 AND opponent = "st. louis blues" ```
21,721
[ { "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_62 (record VARCHAR, november VARCHAR, opponent VARCHAR)\n\n Question: What record has a november greater than 11, and s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (score VARCHAR, record VARCHAR) Question: What is the score when the record was 5-4-2? Here is the SQLite query to answer to the question: What is the scor...
Here is the SQLite query to answer the question: ``` SELECT score FROM table_name_32 WHERE record = "5-4-2" ```
21,722
[ { "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 (score VARCHAR, record VARCHAR)\n\n Question: What is the score when the record was 5-4-2?\n\nHere is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR) Question: What is the score for the team with a record of 2-1? Here is the SQLite query to answer to the question: What is ...
Here is the SQLite query to answer the question about the score for the team with a record of 2-1: ``` SELECT score FROM table_name_81 WHERE record = "2-1" ```
21,723
[ { "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 (score VARCHAR, record VARCHAR)\n\n Question: What is the score for the team with a record of 2-1?\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_49 (home VARCHAR, record VARCHAR) Question: Which home team has a record of 3-2? Here is the SQLite query to answer to the question: Which home team has a rec...
Here is the SQLite query to answer the question: Which home team has a record of 3-2?: ```sql SELECT home FROM table_name_49 WHERE record = "3-2"; ```
21,724
[ { "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_49 (home VARCHAR, record VARCHAR)\n\n Question: Which home team has a record of 3-2?\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_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR) Question: What is the average wins in 250cc class for Bultaco with 8 points later ...
The provided SQLite query contains a slight issue due to the comparison of `points` with an integer value (`8`) whereas `points` is defined as a VARCHAR in the schema. Since it is stored as a string, the comparison should be done with the string representation of the number. Here’s the corrected SQL query: ``` SELECT ...
21,725
[ { "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 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR)\n\n Question: What is the average wins in ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (class VARCHAR, wins VARCHAR, points VARCHAR, year VARCHAR) Question: Which class corresponds to more than 2 points, wins greater than 0, and a year earlier...
Here is the SQLite query to answer the question: ``` SELECT class FROM table_name_47 WHERE points > 2 AND year < 1973 AND wins > 0; ```
21,726
[ { "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 (class VARCHAR, wins VARCHAR, points VARCHAR, year VARCHAR)\n\n Question: Which class corresponds to more than 2 poi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (points INTEGER, year VARCHAR, wins VARCHAR) Question: What is the sum of all points in 1975 with 0 wins? Here is the SQLite query to answer to the questio...
The provided query has a small mistake regarding the condition for `wins`. To filter for rows with 0 wins, you should check equality with '0'. Here is the corrected SQLite query: ``` SELECT SUM(points) FROM table_name_33 WHERE year = '1975' AND wins = '0'; ```
21,727
[ { "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 (points INTEGER, year VARCHAR, wins VARCHAR)\n\n Question: What is the sum of all points in 1975 with 0 wins?\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_43 (country VARCHAR, score VARCHAR) Question: Which Country has a Score of 70-68-70-68=276? Here is the SQLite query to answer to the question: Which Country ...
The SQL query you've provided contains a misunderstanding in how to express the condition for matching a total score. To find the country that has a total score of 276 based on the individual scores you've mentioned, you would correctly calculate the total as a constant and then compare it with a column that presumably...
21,728
[ { "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_43 (country VARCHAR, score VARCHAR)\n\n Question: Which Country has a Score of 70-68-70-68=276?\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_72 (fastest_lap VARCHAR, circuit VARCHAR) Question: What is the fastest lap in the Le Mans Bugatti circuit? Here is the SQLite query to answer to the question...
Your provided SQLite query to find the fastest lap in the Le Mans Bugatti circuit is correct. Here it is wrapped in the requested format: ``` SELECT fastest_lap FROM table_name_72 WHERE circuit = "le mans bugatti"; ```
21,729
[ { "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 (fastest_lap VARCHAR, circuit VARCHAR)\n\n Question: What is the fastest lap in the Le Mans Bugatti circuit?\n\nHere...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) Question: What is the fastest lap of the Oschersleben circuit with Audi Sport Team ABT as the w...
Here is the SQLite query that answers the question about the fastest lap of the Oschersleben circuit with Audi Sport Team ABT as the winning team: ``` SELECT fastest_lap FROM table_name_76 WHERE winning_team = "Audi Sport Team ABT" AND circuit = "Oschersleben"; ```
21,730
[ { "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 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR)\n\n Question: What is the fastest lap of the Oschersleb...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (winning_driver VARCHAR, pole_position VARCHAR, circuit VARCHAR) Question: Who is the winning driver of the Oschersleben circuit with Timo Scheider as the p...
Here is the SQLite query to answer the question regarding the winning driver of the Oschersleben circuit with Timo Scheider as the pole position: ``` SELECT winning_driver FROM table_name_36 WHERE pole_position = "Timo Scheider" AND circuit = "Oschersleben" ```
21,731
[ { "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_36 (winning_driver VARCHAR, pole_position VARCHAR, circuit VARCHAR)\n\n Question: Who is the winning driver of the Osch...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR) Question: What is the winning team of the race on 31 August with ...
Here is the SQLite query to answer the specified question: ``` SELECT winning_team FROM table_name_15 WHERE winning_manufacturer = "Audi" AND winning_driver = "Timo Scheider" AND date = "31 August"; ```
21,732
[ { "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 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR)\n\n Question: What is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_manufacturer VARCHAR) Question: Who is the winning driver of the race with no race as the winning manufacturer? Here is th...
Your provided SQLite query is correct for finding the winning driver linked to the manufacturer "no race". Here is the query wrapped in code formatting: ``` SELECT winning_driver FROM table_name_66 WHERE winning_manufacturer = "no race"; ``` This query selects the `winning_driver` from the `table_name_66` where the ...
21,733
[ { "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_66 (winning_driver VARCHAR, winning_manufacturer VARCHAR)\n\n Question: Who is the winning driver of the race with no r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, score VARCHAR) Question: In what Tournament was the Score of 3–6, 6–3, 7–6 in a match played on a hard Surface? Here ...
Here is the SQLite query to answer the question about the tournament where the score was 3–6, 6–3, 7–6 and the match was played on a hard surface: ``` SELECT tournament FROM table_name_78 WHERE surface = 'hard' AND score = '3–6, 6–3, 7–6'; ```
21,734
[ { "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 (tournament VARCHAR, surface VARCHAR, score VARCHAR)\n\n Question: In what Tournament was the Score of 3–6, 6–3, 7–6...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (partner VARCHAR, surface VARCHAR, score VARCHAR) Question: Who was the Partner in a game with the Score of 6–4, 6–2 on a hard surface? Here is the SQLite ...
Here is the SQLite query to answer the question about the Partner in a game with the Score of 6–4, 6–2 on a hard surface: ``` SELECT partner FROM table_name_74 WHERE surface = "hard" AND score = "6–4, 6–2" ```
21,735
[ { "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 (partner VARCHAR, surface VARCHAR, score VARCHAR)\n\n Question: Who was the Partner in a game with the Score of 6–4,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR) Question: On what Date was the Score 6–4, 6–2? Here is the SQLite query to answer to the question: On what Date was the Score...
Here is the SQLite query to answer the question about the date when the score was 6–4, 6–2, wrapped in code format: ``` SELECT date FROM table_name_59 WHERE score = "6–4, 6–2" ```
21,736
[ { "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 (date VARCHAR, score VARCHAR)\n\n Question: On what Date was the Score 6–4, 6–2?\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_64 (year VARCHAR, avg_attendance VARCHAR) Question: When was the year that had an average attendance of 5,445? Here is the SQLite query to answer to the quest...
Here is the SQLite query you provided, wrapped correctly with triple backticks: ``` SELECT year FROM table_name_64 WHERE avg_attendance = "5,445"; ```
21,737
[ { "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_64 (year VARCHAR, avg_attendance VARCHAR)\n\n Question: When was the year that had an average attendance of 5,445?\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_18 (league VARCHAR, year VARCHAR) Question: In 2010-11, what was the League name? Here is the SQLite query to answer to the question: In 2010-11, what was the...
Your SQLite query looks correct for the question posed. Here it is wrapped properly in code format: ``` SELECT league FROM table_name_18 WHERE year = "2010-11"; ```
21,738
[ { "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_18 (league VARCHAR, year VARCHAR)\n\n Question: In 2010-11, what was the League name?\n\nHere 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_66 (lost VARCHAR) Question: If the Played was played, what is the lost? Here is the SQLite query to answer to the question: If the Played was played, what is ...
It seems like there might be a misunderstanding in your question with the terminology used. The query you provided appears to be querying a field called "played," but there’s no indication that such a field exists in the provided schema (`CREATE TABLE table_name_66 (lost VARCHAR)`). Assuming that "played" is a conditi...
21,739
[ { "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_66 (lost VARCHAR)\n\n Question: If the Played was played, what is the lost?\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_76 (tries_for VARCHAR, losing_bonus VARCHAR) Question: If the losing bonus was 6, what is the tries for? Here is the SQLite query to answer to the question: I...
Your SQLite query is correct. Here it is wrapped in the requested formatting: ``` SELECT tries_for FROM table_name_76 WHERE losing_bonus = "6"; ```
21,740
[ { "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 (tries_for VARCHAR, losing_bonus VARCHAR)\n\n Question: If the losing bonus was 6, what is the tries for?\n\nHere is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (drawn VARCHAR, points_against VARCHAR) Question: If points against was 371, what is the drawn? Here is the SQLite query to answer to the question: If poin...
Here is the SQLite query to answer the question about the drawn when points against was 371: ``` SELECT drawn FROM table_name_51 WHERE points_against = '371'; ```
21,741
[ { "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 (drawn VARCHAR, points_against VARCHAR)\n\n Question: If points against was 371, what is the drawn?\n\nHere 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_30 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR) Question: If played is 22 and the tries against are 43, what are the points? Here is the SQLite...
Here is the SQLite query to answer the question: ``` SELECT points_for FROM table_name_30 WHERE played = "22" AND tries_against = "43" ```
21,742
[ { "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_30 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR)\n\n Question: If played is 22 and the tries against are ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (losing_bonus VARCHAR, club VARCHAR) Question: What's the losing bonus of Crumlin RFC? Here is the SQLite query to answer to the question: What's the losin...
Here is the SQLite query to answer the question about the losing bonus of Crumlin RFC: ``` SELECT losing_bonus FROM table_name_21 WHERE club = "Crumlin RFC"; ```
21,743
[ { "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 (losing_bonus VARCHAR, club VARCHAR)\n\n Question: What's the losing bonus of Crumlin RFC?\n\nHere is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (opponent VARCHAR, week INTEGER) Question: What's the Opponent with a Week that's larger than 16? Here is the SQLite query to answer to the question: What's...
Sure! Here is the SQLite query to answer the question: ``` SELECT opponent FROM table_name_9 WHERE week > 16 ```
21,744
[ { "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_9 (opponent VARCHAR, week INTEGER)\n\n Question: What's the Opponent with a Week that's larger than 16?\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_97 (game_site VARCHAR, opponent VARCHAR) Question: What's the Game SIte with an Opponent of San Diego Chargers? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about the game site with an opponent of San Diego Chargers: ``` SELECT game_site FROM table_name_97 WHERE opponent = "San Diego Chargers"; ```
21,745
[ { "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_97 (game_site VARCHAR, opponent VARCHAR)\n\n Question: What's the Game SIte with an Opponent of San Diego Chargers?\n\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR) Question: Which Silver is the lowest one that has a Gold larger than 0, and a Rank of total, an...
Here is the SQLite query to answer the question regarding the lowest Silver where Gold is larger than 0, Rank is "total", and Bronze is smaller than 32: ``` SELECT MIN(silver) FROM table_name_70 WHERE gold > 0 AND rank = "total" AND bronze < 32 ```
21,746
[ { "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 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR)\n\n Question: Which Silver 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_7 (bronze INTEGER, rank VARCHAR, silver VARCHAR) Question: Which Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2? Here is the SQLit...
Your SQLite query is almost correct, but there is a small issue with the `silver` comparison since it is defined as a `VARCHAR`. When comparing a string representation of a number, it's better to ensure that the values are treated as integers or floats for accurate comparisons. Here is the corrected version of the qu...
21,747
[ { "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 (bronze INTEGER, rank VARCHAR, silver VARCHAR)\n\n Question: Which Bronze is the lowest one that has a Rank of 3, and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (silver INTEGER, nation VARCHAR, bronze VARCHAR) Question: Which Silver has a Nation of china, and a Bronze smaller than 7? Here is the SQLite query to answ...
Here is the corrected SQLite query to answer the question about which Silver has a Nation of China and a Bronze smaller than 7: ```sql SELECT silver FROM table_name_2 WHERE nation = "china" AND CAST(bronze AS INTEGER) < 7; ``` Note that the `bronze` column is defined as `VARCHAR`, so it must be cast to an integer for...
21,748
[ { "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 (silver INTEGER, nation VARCHAR, bronze VARCHAR)\n\n Question: Which Silver has a Nation of china, and a Bronze small...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (nation VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR) Question: Which Nation has a Gold of 0, and a Bronze smaller than 6, and a Rank of 6? Here is ...
Your SQLite query is almost correct, but there are a couple of minor adjustments needed. In SQLite, the `gold` and `bronze` fields should be treated as integers for numeric comparisons rather than strings. Here's the corrected query: ```sql SELECT nation FROM table_name_91 WHERE gold = '0' AND bronze < '6' AND rank = ...
21,749
[ { "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_91 (nation VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR)\n\n Question: Which Nation has a Gold of 0, and a Bronz...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (score VARCHAR, home VARCHAR, date VARCHAR) Question: What score has detroit as the home, and December 9 as the date? Here is the SQLite query to answer to...
Here is the SQLite query to answer the question: ``` SELECT score FROM table_name_78 WHERE home = "detroit" AND date = "december 9" ```
21,750
[ { "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 (score VARCHAR, home VARCHAR, date VARCHAR)\n\n Question: What score has detroit as the home, and December 9 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_91 (score VARCHAR, visitor VARCHAR) Question: What score has mtl. maroons as the visitor? Here is the SQLite query to answer to the question: What score has m...
Your SQLite query is correctly formulated to retrieve the score for 'mtl. maroons' as the visitor. Here it is wrapped appropriately: ``` SELECT score FROM table_name_91 WHERE visitor = "mtl. maroons"; ```
21,751
[ { "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_91 (score VARCHAR, visitor VARCHAR)\n\n Question: What score has mtl. maroons as the visitor?\n\nHere is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (record VARCHAR, home VARCHAR, visitor VARCHAR) Question: What record has detroit as the home and mtl. maroons as the visitor? Here is the SQLite query to ...
Here is the SQLite query to answer the question regarding the record where "detroit" is the home team and "mtl. maroons" is the visitor team: ``` SELECT record FROM table_name_99 WHERE home = "detroit" AND visitor = "mtl. maroons"; ```
21,752
[ { "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 (record VARCHAR, home VARCHAR, visitor VARCHAR)\n\n Question: What record has detroit as the home and mtl. maroons a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR) Question: What visitor has December 14 as the date? Here is the SQLite query to answer to the question: What visitor has De...
Here is the SQLite query to answer the question: What visitor has December 14 as the date?: ``` SELECT visitor FROM table_name_55 WHERE date = "December 14"; ```
21,753
[ { "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_55 (visitor VARCHAR, date VARCHAR)\n\n Question: What visitor has December 14 as the date?\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_38 (fcwc INTEGER, years VARCHAR, icfc VARCHAR) Question: What is the highest number of FCWC in the Years of 1958–1965, and an ICFC smaller than 11? Here is th...
The SQLite query to find the highest number of FCWC in the years 1958–1965 with an ICFC smaller than 11 is as follows: ```sql SELECT MAX(fcwc) FROM table_name_38 WHERE years BETWEEN '1958' AND '1965' AND icfc < 11; ``` Note: I've used `BETWEEN` to specify the range of years and adjusted the condition on the `years...
21,754
[ { "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 (fcwc INTEGER, years VARCHAR, icfc VARCHAR)\n\n Question: What is the highest number of FCWC in the Years of 1958–19...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (ranking INTEGER, total VARCHAR) Question: What is the lowest ranking associated with a total of 23? Here is the SQLite query to answer to the question: Wh...
The provided SQLite query has a small issue because in the schema, the `total` column is defined as `VARCHAR`, which means that the total value should be treated as a string. Therefore, the query should use '23' as a string instead of as an integer. Here is the corrected SQLite query to find the lowest ranking associ...
21,755
[ { "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 (ranking INTEGER, total VARCHAR)\n\n Question: What is the lowest ranking associated with a total of 23?\n\nHere is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (outcome VARCHAR, date VARCHAR) Question: Which is the Outcome on 13 november 2006? Here is the SQLite query to answer to the question: Which is the Outcom...
Here is the SQLite query to answer the question regarding the outcome on 13 November 2006: ```sql SELECT outcome FROM table_name_44 WHERE date = "13 november 2006"; ```
21,756
[ { "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 (outcome VARCHAR, date VARCHAR)\n\n Question: Which is the Outcome on 13 november 2006?\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_58 (score VARCHAR, opponent VARCHAR) Question: Which Score has an Opponent of melanie south? Here is the SQLite query to answer to the question: Which Score h...
Here is the SQLite query to answer the question: Which Score has an Opponent of melanie south?: ```sql SELECT score FROM table_name_58 WHERE opponent = "melanie south"; ```
21,757
[ { "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 (score VARCHAR, opponent VARCHAR)\n\n Question: Which Score has an Opponent of melanie south?\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_83 (outcome VARCHAR, opponent VARCHAR) Question: Which Outcome has a Opponent of lindsay lee-waters? Here is the SQLite query to answer to the question: Which...
Here is the SQLite query to answer the question regarding which outcome has an opponent of "lindsay lee-waters": ``` SELECT outcome FROM table_name_83 WHERE opponent = "lindsay lee-waters"; ```
21,758
[ { "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 (outcome VARCHAR, opponent VARCHAR)\n\n Question: Which Outcome has a Opponent of lindsay lee-waters?\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_64 (opponent VARCHAR, date VARCHAR) Question: Which Opponent is on 17 november 2002? Here is the SQLite query to answer to the question: Which Opponent is on ...
Here is the SQLite query to answer the question about which opponent is on 17 November 2002: ``` SELECT opponent FROM table_name_64 WHERE date = "17 november 2002" ```
21,759
[ { "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_64 (opponent VARCHAR, date VARCHAR)\n\n Question: Which Opponent is on 17 november 2002?\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_25 (tournament VARCHAR, outcome VARCHAR, date VARCHAR) Question: Which Tournament has an Outcome of winner on 19 october 2008? Here is the SQLite query to ans...
Here is the SQLite query to answer the question: ``` SELECT tournament FROM table_name_25 WHERE outcome = "winner" AND date = "19 october 2008"; ```
21,760
[ { "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 (tournament VARCHAR, outcome VARCHAR, date VARCHAR)\n\n Question: Which Tournament has an Outcome of winner on 19 oc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (date VARCHAR, opponent VARCHAR) Question: When is an Opponent of evie dominikovic? Here is the SQLite query to answer to the question: When is an Opponent...
Here is the SQLite query to answer the question about when an opponent of Evie Dominikovic is: ```sql SELECT date FROM table_name_72 WHERE opponent = "evie dominikovic"; ```
21,761
[ { "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 (date VARCHAR, opponent VARCHAR)\n\n Question: When is an Opponent of evie dominikovic?\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_73 (opponent_number VARCHAR, attendance VARCHAR) Question: Who was the opponent at the game attended by 45,000? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question regarding the opponent at the game attended by 45,000: ``` SELECT opponent_number FROM table_name_73 WHERE attendance = '45,000'; ```
21,762
[ { "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 (opponent_number VARCHAR, attendance VARCHAR)\n\n Question: Who was the opponent at the game attended by 45,000?\n\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (bleeding_time VARCHAR, condition VARCHAR) Question: Which Bleeding time has a Condition of factor x deficiency as seen in amyloid purpura? Here is the SQL...
Here is the SQLite query to answer the question: ``` SELECT bleeding_time FROM table_name_31 WHERE condition = "factor x deficiency as seen in amyloid purpura" ```
21,763
[ { "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_31 (bleeding_time VARCHAR, condition VARCHAR)\n\n Question: Which Bleeding time has a Condition of factor x deficiency ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (platelet_count VARCHAR, condition VARCHAR) Question: Which Platelet count has a Condition of bernard-soulier syndrome? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question about which Platelet count has a condition of bernard-soulier syndrome: ``` SELECT platelet_count FROM table_name_34 WHERE condition = "bernard-soulier syndrome" ```
21,764
[ { "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_34 (platelet_count VARCHAR, condition VARCHAR)\n\n Question: Which Platelet count has a Condition of bernard-soulier sy...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR) Question: Which Prothrombin time has a Platel...
Here is the SQLite query to answer the question: ``` SELECT prothrombin_time FROM table_name_28 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND partial_thromboplastin_time = "normal or mildly prolonged"; ```
21,765
[ { "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_28 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR)\n\n Q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (platelet_count VARCHAR, condition VARCHAR) Question: Which Platelet count has a Condition of factor v deficiency? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question: ```sql SELECT platelet_count FROM table_name_39 WHERE condition = "factor v deficiency"; ```
21,766
[ { "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_39 (platelet_count VARCHAR, condition VARCHAR)\n\n Question: Which Platelet count has a Condition of factor v deficienc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR) Question: Which Condition has a Bleeding time of u...
Here is the SQLite query to answer the question regarding the conditions based on the specified criteria: ``` SELECT condition FROM table_name_53 WHERE bleeding_time = "unaffected" AND partial_thromboplastin_time = "prolonged" AND prothrombin_time = "unaffected" ```
21,767
[ { "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_53 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)\n\n Questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (bleeding_time VARCHAR, condition VARCHAR) Question: What is hemophilia's bleeding time? Here is the SQLite query to answer to the question: What is hemoph...
Your SQLite query to find hemophilia's bleeding time is correctly structured. Here it is wrapped in code formatting: ``` SELECT bleeding_time FROM table_name_41 WHERE condition = "hemophilia"; ```
21,768
[ { "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_41 (bleeding_time VARCHAR, condition VARCHAR)\n\n Question: What is hemophilia's bleeding time?\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 (bronze VARCHAR, year VARCHAR, silver VARCHAR) Question: Which Bronze has a Year smaller than 1994, and a Silver of south korea? Here is the SQLite query t...
Your SQLite query is almost correct, but you should ensure that the column types are compared accurately. Since the `year` column is defined as `VARCHAR`, it is a good idea to cast it to an integer for comparison purposes. The query can be adjusted for clarity, although it may work as it is depending on the actual data...
21,769
[ { "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 (bronze VARCHAR, year VARCHAR, silver VARCHAR)\n\n Question: Which Bronze has a Year smaller than 1994, and a Silver...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (location VARCHAR, silver VARCHAR) Question: Which Location has a Silver of japan? Here is the SQLite query to answer to the question: Which Location has a...
Here is the SQLite query to answer the question: Which Location has a Silver of japan?: ``` SELECT location FROM table_name_10 WHERE silver = "japan"; ```
21,770
[ { "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 (location VARCHAR, silver VARCHAR)\n\n Question: Which Location has a Silver of japan?\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_27 (year INTEGER, bronze VARCHAR, silver VARCHAR) Question: Which Year is the highest one that has a Bronze of south korea, and a Silver of philippines? Here ...
Your SQLite query is correct for fetching the highest year where the bronze medal was won by South Korea and the silver medal by the Philippines. Here’s the query formatted as requested: ``` SELECT MAX(year) FROM table_name_27 WHERE bronze = "south korea" AND silver = "philippines"; ```
21,771
[ { "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 (year INTEGER, bronze VARCHAR, silver VARCHAR)\n\n Question: Which Year is the highest one that has a Bronze of sout...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (year INTEGER, silver VARCHAR) Question: How many years has Japan won silver? Here is the SQLite query to answer to the question: How many years has Japan w...
Your query needs a slight correction, as it should count the number of distinct years instead of summing them. Here's the correct SQLite query to answer the question of how many years Japan has won silver: ```sql SELECT COUNT(DISTINCT year) FROM table_name_4 WHERE silver = "japan"; ```
21,772
[ { "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 (year INTEGER, silver VARCHAR)\n\n Question: How many years has Japan won silver?\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_75 (record VARCHAR, attendance VARCHAR) Question: What was the Indians record during the game that had 19,823 fans attending? Here is the SQLite query to answ...
Here is the SQLite query to answer the question regarding the Indians' record during the game that had 19,823 fans attending: ``` SELECT record FROM table_name_75 WHERE attendance = "19,823" ```
21,773
[ { "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_75 (record VARCHAR, attendance VARCHAR)\n\n Question: What was the Indians record during the game that had 19,823 fans ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (date VARCHAR, record VARCHAR) Question: What date did the Indians have a record of 14-28? Here is the SQLite query to answer to the question: What date di...
Your SQLite query looks correct for the given question. Here it is wrapped in the code block as requested: ``` SELECT date FROM table_name_89 WHERE record = "14-28"; ```
21,774
[ { "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 (date VARCHAR, record VARCHAR)\n\n Question: What date did the Indians have a record of 14-28?\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_24 (round INTEGER, name VARCHAR) Question: In what Round was George Thomas Picked? Here is the SQLite query to answer to the question: In what Round was Georg...
It looks like there is a slight mistake in your SQL query. To find the round in which George Thomas was picked, you should select the `round` directly rather than averaging it, assuming each name appears only once in the context where you're looking for their pick round. Here is the corrected SQL query: ```sql SELECT...
21,775
[ { "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_24 (round INTEGER, name VARCHAR)\n\n Question: In what Round was George Thomas Picked?\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_43 (round INTEGER, pick__number VARCHAR, overall VARCHAR) Question: What was the first Round with a Pick # greater than 1 and 140 Overall? Here is the SQLite ...
Your query is almost correct, but you might want to ensure that `pick__number` is treated as a number for comparison purposes. Here is the revised query that casts `pick__number` to an integer: ```sql SELECT MIN(round) FROM table_name_43 WHERE CAST(pick__number AS INTEGER) > 1 AND CAST(overall AS INTEGER) > 140; ```...
21,776
[ { "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_43 (round INTEGER, pick__number VARCHAR, overall VARCHAR)\n\n Question: What was the first Round with a Pick # greater ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (pick__number VARCHAR, name VARCHAR) Question: What is Aundray Bruce's Pick #? Here is the SQLite query to answer to the question: What is Aundray Bruce's P...
Here is the SQLite query to answer the question about Aundray Bruce's Pick #: ``` SELECT pick__number FROM table_name_8 WHERE name = "Aundray Bruce" ```
21,777
[ { "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 (pick__number VARCHAR, name VARCHAR)\n\n Question: What is Aundray Bruce's Pick #?\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_66 (round VARCHAR, college VARCHAR, overall VARCHAR) Question: In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech? ...
It looks like you want to retrieve the specific rounds instead of counting them. To find out which rounds had picks from Virginia Tech with an overall greater than 306, you can modify your SQL query as follows: ```sql SELECT round FROM table_name_66 WHERE college = "Virginia Tech" AND overall > 306; ``` This query ...
21,778
[ { "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_66 (round VARCHAR, college VARCHAR, overall VARCHAR)\n\n Question: In what Round with an Overall greater than 306 was t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR) Question: Which highest wins number had Kawasaki as a team, 95 points, and a year prior to 1981? ...
Here is the SQLite query to answer the question regarding the highest wins number for Kawasaki as a team, with 95 points, and a year prior to 1981: ``` SELECT MAX(wins) FROM table_name_9 WHERE team = "kawasaki" AND points = "95" AND year < "1981" ```
21,779
[ { "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_9 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR)\n\n Question: Which highest wins number had Kawasaki as a ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (points VARCHAR, wins VARCHAR, team VARCHAR, class VARCHAR, year VARCHAR) Question: How many points numbers had a class of 250cc, a year prior to 1978, Yama...
Here is the SQLite query wrapped as requested: ``` SELECT COUNT(points) FROM table_name_19 WHERE class = "250cc" AND year < 1978 AND team = "Yamaha" AND wins > 0; ```
21,780
[ { "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 (points VARCHAR, wins VARCHAR, team VARCHAR, class VARCHAR, year VARCHAR)\n\n Question: How many points numbers had ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (year INTEGER, points VARCHAR, wins VARCHAR, class VARCHAR) Question: What is the mean year number where there are more than 0 wins, the class is 250cc, and...
Here is the SQLite query to answer the question regarding the mean year number where there are more than 0 wins, the class is 250cc, and the points are 95: ```sql SELECT AVG(year) FROM table_name_66 WHERE wins > 0 AND class = '250cc' AND points = '95' ```
21,781
[ { "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_66 (year INTEGER, points VARCHAR, wins VARCHAR, class VARCHAR)\n\n Question: What is the mean year number where there a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) Question: What is the score on december 10? Here is the SQLite query to answer to the question: What is the score on december...
Here is the SQLite query to answer the question about the score on December 10: ``` SELECT score FROM table_name_98 WHERE date = "december 10" ```
21,782
[ { "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_98 (score VARCHAR, date VARCHAR)\n\n Question: What is the score on december 10?\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_82 (date VARCHAR, home VARCHAR, visitor VARCHAR) Question: What is the date for the home detroit and visitor was chicago? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about the date when the home team is Detroit and the visitor team is Chicago: ``` SELECT date FROM table_name_82 WHERE home = "detroit" AND visitor = "chicago" ```
21,783
[ { "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 (date VARCHAR, home VARCHAR, visitor VARCHAR)\n\n Question: What is the date for the home detroit and visitor was ch...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (visitor VARCHAR, date VARCHAR) Question: Who is the visitor on december 3? Here is the SQLite query to answer to the question: Who is the visitor on decem...
Here is the SQLite query to answer the question: Who is the visitor on December 3?: ```sql SELECT visitor FROM table_name_66 WHERE date = "december 3"; ```
21,784
[ { "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_66 (visitor VARCHAR, date VARCHAR)\n\n Question: Who is the visitor on december 3?\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_95 (visitor VARCHAR, date VARCHAR) Question: Who is the visitor on the date december 31? Here is the SQLite query to answer to the question: Who is the visito...
Here is the SQLite query to answer the question about who the visitor is on the date December 31: ``` SELECT visitor FROM table_name_95 WHERE date = "december 31"; ```
21,785
[ { "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 (visitor VARCHAR, date VARCHAR)\n\n Question: Who is the visitor on the date december 31?\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_14 (location VARCHAR, date VARCHAR) Question: What is the location of the race on 11 November? Here is the SQLite query to answer to the question: What is the...
Here is the SQLite query to answer the question about the location of the race on 11 November: ```sql SELECT location FROM table_name_14 WHERE date = "11 November"; ```
21,786
[ { "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 (location VARCHAR, date VARCHAR)\n\n Question: What is the location of the race on 11 November?\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_60 (winner VARCHAR, location VARCHAR) Question: Who is the winner of the race in Burkina Faso? Here is the SQLite query to answer to the question: Who is the ...
Here is the SQLite query to answer the question about the winner of the race in Burkina Faso: ``` SELECT winner FROM table_name_60 WHERE location = "Burkina Faso"; ```
21,787
[ { "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 (winner VARCHAR, location VARCHAR)\n\n Question: Who is the winner of the race in Burkina Faso?\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_45 (release_date VARCHAR, release_title VARCHAR) Question: What is the release date of Martial Law: Take Out? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question about the release date of "Martial Law: Take Out": ``` SELECT release_date FROM table_name_45 WHERE release_title = "Martial Law: Take Out"; ```
21,788
[ { "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 (release_date VARCHAR, release_title VARCHAR)\n\n Question: What is the release date of Martial Law: Take Out?\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_47 (publisher VARCHAR, release_title VARCHAR) Question: Which publisher released Martial Law: Substitutes? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question about which publisher released "Martial Law: Substitutes": ```sql SELECT publisher FROM table_name_47 WHERE release_title = "Martial Law: Substitutes"; ```
21,789
[ { "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 (publisher VARCHAR, release_title VARCHAR)\n\n Question: Which publisher released Martial Law: Substitutes?\n\nHere ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (country VARCHAR, notes VARCHAR, release_title VARCHAR) Question: Which country had a release of 1 VCD titled Martial Law: Substitutes? Here is the SQLite ...
Here is the SQLite query to answer the question of which country had a release of 1 VCD titled "Martial Law: Substitutes": ``` SELECT country FROM table_name_93 WHERE notes = "1 VCD" AND release_title = "Martial Law: Substitutes"; ```
21,790
[ { "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 (country VARCHAR, notes VARCHAR, release_title VARCHAR)\n\n Question: Which country had a release of 1 VCD titled Ma...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (publisher VARCHAR, release_title VARCHAR) Question: Who was the publisher of Martial Law: Dead Ringers? Here is the SQLite query to answer to the question...
Here's the SQLite query to answer the question: ``` SELECT publisher FROM table_name_56 WHERE release_title = "Martial Law: Dead Ringers"; ```
21,791
[ { "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 (publisher VARCHAR, release_title VARCHAR)\n\n Question: Who was the publisher of Martial Law: Dead Ringers?\n\nHere...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (loser VARCHAR, result VARCHAR, winner VARCHAR, location VARCHAR) Question: What is the name of the Loser when the winner was new england patriots, and a Lo...
Here is the SQLite query to answer the given question: ``` SELECT loser FROM table_name_46 WHERE winner = "new england patriots" AND location = "giants stadium" AND result = "30–28" ```
21,792
[ { "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 (loser VARCHAR, result VARCHAR, winner VARCHAR, location VARCHAR)\n\n Question: What is the name of the Loser when t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (loser VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR) Question: What team was the lower when the winner was the new york jets, and a Year earlier th...
Here is the SQLite query to answer the given question: ``` SELECT loser FROM table_name_98 WHERE winner = "new york jets" AND year < 1994 AND result = "37–13" ```
21,793
[ { "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_98 (loser VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)\n\n Question: What team was the lower when the winner ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (location VARCHAR, result VARCHAR, loser VARCHAR, year VARCHAR) Question: What is the location when the new york jets lost earlier than 1997 and a Result of...
Here is the SQLite query to answer the question you provided: ``` SELECT location FROM table_name_20 WHERE loser = "new york jets" AND year < '1997' AND result = "31–28" ```
21,794
[ { "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_20 (location VARCHAR, result VARCHAR, loser VARCHAR, year VARCHAR)\n\n Question: What is the location when the new york...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (year INTEGER, location VARCHAR, winner VARCHAR, result VARCHAR) Question: What is the year when the Winner was the new york jets, with a Result of 24–17, p...
The query you provided is using `SUM(year)`, which is not necessary as you are looking for a specific year, not the sum of years. Instead, you should select the year directly. Here’s the corrected query: ``` SELECT year FROM table_name_39 WHERE winner = "new york jets" AND result = "24–17" AND location = "giants stadi...
21,795
[ { "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_39 (year INTEGER, location VARCHAR, winner VARCHAR, result VARCHAR)\n\n Question: What is the year when the Winner was ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR) Question: What is the earliest year catalog # ual 24033 had an LP? Here is the SQLite query to answer...
Here is the SQLite query to answer the question about the earliest year catalog # ual 24033 had an LP: ``` SELECT MIN(year) FROM table_name_67 WHERE type = 'lp' AND catalog__number = 'ual 24033' ```
21,796
[ { "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_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR)\n\n Question: What is the earliest year catalog # ual 24033 ha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (games VARCHAR, name VARCHAR) Question: Which Games had a Name of manuel felix diaz? Here is the SQLite query to answer to the question: Which Games had a ...
Here is the SQLite query to answer the question about which games had a name of "manuel felix diaz": ```sql SELECT games FROM table_name_64 WHERE name = "manuel felix diaz"; ```
21,797
[ { "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_64 (games VARCHAR, name VARCHAR)\n\n Question: Which Games had a Name of manuel felix diaz?\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_48 (medal VARCHAR, games VARCHAR, sport VARCHAR) Question: Which Medal had a Games of 2008 beijing, and a Sport of taekwondo? Here is the SQLite query to answ...
Here is the SQLite query to answer the question regarding which medal had a Games of 2008 Beijing, and a Sport of taekwondo: ``` SELECT medal FROM table_name_48 WHERE games = "2008 beijing" AND sport = "taekwondo" ```
21,798
[ { "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 (medal VARCHAR, games VARCHAR, sport VARCHAR)\n\n Question: Which Medal had a Games of 2008 beijing, and a Sport of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (medal VARCHAR, name VARCHAR, games VARCHAR) Question: Which Medal had a Name of félix sánchez, and a Games of 2012 london? Here is the SQLite query to ans...
Here is the SQLite query to answer the question regarding which medal had a name of "félix sánchez" and a games of "2012 london": ``` SELECT medal FROM table_name_43 WHERE name = "félix sánchez" AND games = "2012 london" ```
21,799
[ { "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_43 (medal VARCHAR, name VARCHAR, games VARCHAR)\n\n Question: Which Medal had a Name of félix sánchez, and a Games of 2...