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_69 (score VARCHAR, record VARCHAR) Question: What is the score of the game that holds a record of 80-61? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question regarding the score of the game that holds a record of 80-61: ``` SELECT score FROM table_name_69 WHERE record = "80-61" ```
22,000
[ { "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 (score VARCHAR, record VARCHAR)\n\n Question: What is the score of the game that holds a record of 80-61?\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_30 (record VARCHAR, attendance VARCHAR) Question: What is the record of the game with 28,135 people in attendance? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question about the record of the game with 28,135 people in attendance: ```sql SELECT record FROM table_name_30 WHERE attendance = "28,135"; ```
22,001
[ { "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 (record VARCHAR, attendance VARCHAR)\n\n Question: What is the record of the game with 28,135 people in attendance?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (score VARCHAR, points VARCHAR) Question: what team has a score of 2 Here is the SQLite query to answer to the question: what team has a score of 2: ``` SE...
It looks like there might be a misunderstanding in your query. You want to retrieve the team that has a score of '2', but you mentioned `points = 2`. Assuming `score` is the column that holds the score values, you should match that instead. The correct query would be: ``` SELECT * FROM table_name_53 WHERE score = '2' ...
22,002
[ { "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 (score VARCHAR, points VARCHAR)\n\n Question: what team has a score of 2\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_3 (record VARCHAR, game VARCHAR) Question: what team has a score of 11 Here is the SQLite query to answer to the question: what team has a score of 11: ``` SE...
It seems there is a slight confusion in your query because you're trying to filter by the game as if it were a score. Assuming that records contain teams and their corresponding scores, you likely want to check for a score of 11. Here's the corrected SQLite query to find the record (team) with a score of 11: ``` SELE...
22,003
[ { "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 (record VARCHAR, game VARCHAR)\n\n Question: what team has a score of 11\n\nHere is the SQLite query to answer to the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (nation VARCHAR, time__sec_ VARCHAR) Question: Which nation finished with a time of 47.049? Here is the SQLite query to answer to the question: Which natio...
Here is the corrected SQLite query to answer the question about which nation finished with a time of 47.049. Since `time__sec_` is stored as a VARCHAR, you'll need to compare it as a string: ``` SELECT nation FROM table_name_56 WHERE time__sec_ = '47.049' ```
22,004
[ { "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 (nation VARCHAR, time__sec_ VARCHAR)\n\n Question: Which nation finished with a time of 47.049?\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_53 (sport VARCHAR, time__sec_ INTEGER) Question: Which sport has a time over 49? Here is the SQLite query to answer to the question: Which sport has a time ov...
Your SQLite query is correct and follows the expected format. Here it is again, wrapped in code blocks for clarity: ``` SELECT sport FROM table_name_53 WHERE time__sec_ > 49; ``` This query selects the `sport` from `table_name_53` where the `time__sec_` is greater than 49.
22,005
[ { "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 (sport VARCHAR, time__sec_ INTEGER)\n\n Question: Which sport has a time over 49?\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_9 (nation VARCHAR, time__sec_ VARCHAR) Question: Which nation had a time of 48.38? Here is the SQLite query to answer to the question: Which nation had a time...
Here's the SQLite query to answer the question: ``` SELECT nation FROM table_name_9 WHERE time__sec_ = '48.38' ``` Note: The value '48.38' is enclosed in quotes because it is stored as a string (VARCHAR) in the database.
22,006
[ { "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 (nation VARCHAR, time__sec_ VARCHAR)\n\n Question: Which nation had a time of 48.38?\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_17 (year VARCHAR, team VARCHAR, rank VARCHAR) Question: Which year had a team of Aprilia and a rank of 4th? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about which year had a team of Aprilia and a rank of 4th: ```sql SELECT year FROM table_name_17 WHERE team = "Aprilia" AND rank = "4th"; ```
22,007
[ { "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 (year VARCHAR, team VARCHAR, rank VARCHAR)\n\n Question: Which year had a team of Aprilia and a rank of 4th?\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_30 (class VARCHAR, rank VARCHAR, machine VARCHAR, points VARCHAR) Question: Which class had a machine of RS125R, points over 113, and a rank of 4th? Here is t...
Here is the corrected SQLite query to answer the question: ```sql SELECT class FROM table_name_30 WHERE machine = "RS125R" AND points > 113 AND rank = "4th"; ``` Make sure to note that I used "RS125R" with the correct casing as specified in the question. Also, ensure that the `points` field is treated as a numeric v...
22,008
[ { "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 (class VARCHAR, rank VARCHAR, machine VARCHAR, points VARCHAR)\n\n Question: Which class had a machine of RS125R, po...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (team VARCHAR, rank VARCHAR, year VARCHAR, machine VARCHAR) Question: Which team had a year over 1995, machine of RS125R, and ranked 1st? Here is the SQLit...
Here is the SQLite query to answer the question about which team had a year over 1995, with a machine of RS125R, and ranked 1st: ```sql SELECT team FROM table_name_95 WHERE year > 1995 AND machine = 'RS125R' AND rank = '1st'; ```
22,009
[ { "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 (team VARCHAR, rank VARCHAR, year VARCHAR, machine VARCHAR)\n\n Question: Which team had a year over 1995, machine o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (oberliga_bayern VARCHAR, season VARCHAR) Question: Which Oberliga Bayern has a Season of 1981-82? Here is the SQLite query to answer to the question: Whic...
Here is the SQLite query to answer the question regarding which Oberliga Bayern has a Season of 1981-82: ``` SELECT oberliga_bayern FROM table_name_24 WHERE season = "1981-82"; ```
22,010
[ { "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 (oberliga_bayern VARCHAR, season VARCHAR)\n\n Question: Which Oberliga Bayern has a Season of 1981-82?\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_82 (oberliga_südwest VARCHAR, oberliga_bayern VARCHAR) Question: Which Oberliga Südwest has an Oberliga Bayern of fc schweinfurt 05? Here is the SQLite query ...
Here is the SQLite query to answer the question: Which Oberliga Südwest has an Oberliga Bayern of fc schweinfurt 05?: ``` SELECT oberliga_südwest FROM table_name_82 WHERE oberliga_bayern = "fc schweinfurt 05"; ```
22,011
[ { "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 (oberliga_südwest VARCHAR, oberliga_bayern VARCHAR)\n\n Question: Which Oberliga Südwest has an Oberliga Bayern of f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (season VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR) Question: Which Season ha spvgg bayreuth and eintracht trier? Here is the SQLite query ...
Here is the SQLite query to answer the question about the seasons for "spvgg bayreuth" and "eintracht trier": ```sql SELECT season FROM table_name_19 WHERE oberliga_bayern = "spvgg bayreuth" AND oberliga_südwest = "eintracht trier"; ```
22,012
[ { "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 (season VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR)\n\n Question: Which Season ha spvgg bayreuth and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (oberliga_baden_württemberg VARCHAR, season VARCHAR) Question: which Oberliga Baden-Württemberg has a Season of 1991-92? Here is the SQLite query to answer...
Here is the SQLite query to answer the question regarding which Oberliga Baden-Württemberg has a Season of 1991-92: ```sql SELECT oberliga_baden_württemberg FROM table_name_41 WHERE season = '1991-92'; ```
22,013
[ { "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 (oberliga_baden_württemberg VARCHAR, season VARCHAR)\n\n Question: which Oberliga Baden-Württemberg has a Season of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (oberliga_baden_württemberg VARCHAR, oberliga_hessen VARCHAR, season VARCHAR) Question: Which Oberliga Baden-Württemberg has an Oberliga Hessen of fsv frank...
Here is the SQLite query to answer the question: ``` SELECT oberliga_baden_württemberg FROM table_name_77 WHERE oberliga_hessen = "fsv frankfurt" AND season = "1993-94" ```
22,014
[ { "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 (oberliga_baden_württemberg VARCHAR, oberliga_hessen VARCHAR, season VARCHAR)\n\n Question: Which Oberliga Baden-Wür...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (oberliga_südwest VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR) Question: which Oberliga Südwes has an Oberliga Baden-Württemberg of sv sandh...
Here is the SQLite query to answer the question about which Oberliga Südwest has an Oberliga Baden-Württemberg of sv sandhausen in the 1984-85 season: ``` SELECT oberliga_südwest FROM table_name_60 WHERE oberliga_baden_württemberg = "sv sandhausen" AND season = "1984-85" ```
22,015
[ { "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 (oberliga_südwest VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR)\n\n Question: which Oberliga Südwes h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (loss VARCHAR, save VARCHAR) Question: Name the loss with save of || 23,391 ||17-18||? Here is the SQLite query to answer to the question: Name the loss wi...
Here is the SQLite query to answer the question "Name the loss with save of || 23,391 ||17-18||?": ``` SELECT loss FROM table_name_86 WHERE save = "|| 23,391 ||17-18||" ```
22,016
[ { "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 (loss VARCHAR, save VARCHAR)\n\n Question: Name the loss with save of || 23,391 ||17-18||?\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_35 (opponent VARCHAR, save VARCHAR) Question: Name the opponent for save of williams (9) Here is the SQLite query to answer to the question: Name the opponent...
Here is the SQLite query to answer the question about the opponent for the save of "williams (9)": ```sql SELECT opponent FROM table_name_35 WHERE save = "williams (9)"; ```
22,017
[ { "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 (opponent VARCHAR, save VARCHAR)\n\n Question: Name the opponent for save of williams (9)\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_86 (save VARCHAR, opponent VARCHAR, date VARCHAR) Question: Name the save for braves for may 15 Here is the SQLite query to answer to the question: Name the s...
Here is the SQLite query to answer the question: Name the save for braves for May 15: ``` SELECT save FROM table_name_86 WHERE opponent = "braves" AND date = "may 15"; ```
22,018
[ { "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 (save VARCHAR, opponent VARCHAR, date VARCHAR)\n\n Question: Name the save for braves for may 15\n\nHere is the SQLi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (loss VARCHAR, date VARCHAR) Question: Name the loss for may 1 Here is the SQLite query to answer to the question: Name the loss for may 1: ``` SELECT loss ...
Here is the SQLite query to answer the question: Name the loss for May 1: ```sql SELECT loss FROM table_name_4 WHERE date = "may 1"; ```
22,019
[ { "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 (loss VARCHAR, date VARCHAR)\n\n Question: Name the loss for may 1\n\nHere is the SQLite query to answer to the quest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (score VARCHAR, opponent VARCHAR) Question: What was the score in the tournament against Ekaterina Makarova? Here is the SQLite query to answer to the ques...
Here is the SQLite query to find the score in the tournament against Ekaterina Makarova: ``` SELECT score FROM table_name_21 WHERE opponent = "Ekaterina Makarova" ```
22,020
[ { "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 (score VARCHAR, opponent VARCHAR)\n\n Question: What was the score in the tournament against Ekaterina Makarova?\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_3 (market_market_rank VARCHAR, saturday VARCHAR) Question: What is the market for the 11pm-1am Saturday game? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question about the market for the 11pm-1am Saturday game: ``` SELECT market_market_rank FROM table_name_3 WHERE saturday = "11pm-1am"; ```
22,021
[ { "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 (market_market_rank VARCHAR, saturday VARCHAR)\n\n Question: What is the market for the 11pm-1am Saturday game?\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_83 (name VARCHAR, locale VARCHAR) Question: what is the name of the holland locale Here is the SQLite query to answer to the question: what is the name of the...
Here is the SQLite query to answer the question about the name of the holland locale: ``` SELECT name FROM table_name_83 WHERE locale = "holland"; ```
22,022
[ { "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 (name VARCHAR, locale VARCHAR)\n\n Question: what is the name of the holland locale\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_42 (rank VARCHAR, primary_industry VARCHAR) Question: How many ranks have an industry of health care? Here is the SQLite query to answer to the question: How ...
Your SQLite query to count the number of ranks associated with the health care industry is correct. Here it is properly wrapped: ``` SELECT COUNT(rank) FROM table_name_42 WHERE primary_industry = "health care"; ```
22,023
[ { "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_42 (rank VARCHAR, primary_industry VARCHAR)\n\n Question: How many ranks have an industry of health care?\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_96 (points INTEGER, opponent VARCHAR, game VARCHAR) Question: Which Points have an Opponent of new york islanders, and a Game smaller than 65? Here is the SQL...
Here's the SQLite query to answer the question regarding the points with an opponent of "new york islanders" and a game smaller than 65: ``` SELECT points FROM table_name_96 WHERE opponent = "new york islanders" AND game < 65 ```
22,024
[ { "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_96 (points INTEGER, opponent VARCHAR, game VARCHAR)\n\n Question: Which Points have an Opponent of new york islanders, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (points VARCHAR, record VARCHAR, march VARCHAR) Question: How many Points have a Record of 40–21–12–3, and a March larger than 28? Here is the SQLite query...
Here is the SQLite query to answer the question: ``` SELECT COUNT(points) FROM table_name_76 WHERE record = "40–21–12–3" AND march > 28 ```
22,025
[ { "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 (points VARCHAR, record VARCHAR, march VARCHAR)\n\n Question: How many Points have a Record of 40–21–12–3, and a Mar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR) Question: Which Opponent has a Record of 38–20–12–2? Here is the SQLite query to answer to the question: Which Opponent ...
Here is the SQLite query to answer the question: ``` SELECT opponent FROM table_name_20 WHERE record = "38–20–12–2"; ```
22,026
[ { "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 (opponent VARCHAR, record VARCHAR)\n\n Question: Which Opponent has a Record of 38–20–12–2?\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_76 (game INTEGER, points VARCHAR, score VARCHAR) Question: Which Game is the highest one that has Points smaller than 92, and a Score of 1–3? Here is the SQLi...
Your SQLite query looks almost correct, but there is a minor detail regarding how the score range should be handled, as "1–3" might imply a range but is treated as a string literal in the current form. Assuming that "Score" actually has numeric values, you might want to address that. Here is the revised version of the ...
22,027
[ { "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 (game INTEGER, points VARCHAR, score VARCHAR)\n\n Question: Which Game is the highest one that has Points smaller th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (accession_number VARCHAR, common_name VARCHAR) Question: What is the accession number of the protein with the common name Purple Sea Urchin? Here is the SQ...
Here's the SQLite query to retrieve the accession number of the protein with the common name "Purple Sea Urchin": ``` SELECT accession_number FROM table_name_5 WHERE common_name = "Purple Sea Urchin" ```
22,028
[ { "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_5 (accession_number VARCHAR, common_name VARCHAR)\n\n Question: What is the accession number of the protein with the co...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (protein_name VARCHAR, sequence_identity_to_human_protein VARCHAR) Question: What is the protein name of the protein with a sequence identity to human protei...
The query you provided has a small issue regarding the comparison of the `sequence_identity_to_human_protein`. If you want to find the exact match for the sequence identity being 32%, you'll need to compare it directly as a string. SQLite does not interpret "32%" as a numeric value but as a string. If you are looking...
22,029
[ { "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 (protein_name VARCHAR, sequence_identity_to_human_protein VARCHAR)\n\n Question: What is the protein name of the prot...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR) Question: What is the sequence length (aa) of the protein w...
Here is the SQLite query that answers your question: ``` SELECT sequence_length__aa_ FROM table_name_67 WHERE common_name = "Purple Sea Urchin" AND divergence_from_human_lineage__mya_ < 742.9; ```
22,030
[ { "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 (sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR)\n\n Question: What ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (accession_number VARCHAR, divergence_from_human_lineage__mya_ VARCHAR) Question: What is the accession number of the protein with a divergence from human l...
Here is the SQLite query to answer the question about the accession number of the protein with a divergence from human lineage of 937.5: ``` SELECT accession_number FROM table_name_74 WHERE divergence_from_human_lineage__mya_ = '937.5' ``` Note: The value should be in quotes because it's stored as a VARCHAR in the s...
22,031
[ { "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 (accession_number VARCHAR, divergence_from_human_lineage__mya_ VARCHAR)\n\n Question: What is the accession number o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (series VARCHAR, score VARCHAR) Question: Which Series has a Score of 9–4? Here is the SQLite query to answer to the question: Which Series has a Score of ...
Here is the SQLite query to answer the question: Which Series has a Score of 9–4?: ``` SELECT series FROM table_name_86 WHERE score = "9–4" ```
22,032
[ { "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 (series VARCHAR, score VARCHAR)\n\n Question: Which Series has a Score of 9–4?\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_3 (series VARCHAR, opponent VARCHAR, score VARCHAR) Question: Which Series has an Opponent of calgary flames, and a Score of 9–4? Here is the SQLite query to ...
Here is the SQLite query to answer the question: ``` SELECT series FROM table_name_3 WHERE opponent = "calgary flames" AND score = "9–4"; ```
22,033
[ { "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 (series VARCHAR, opponent VARCHAR, score VARCHAR)\n\n Question: Which Series has an Opponent of calgary flames, 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_83 (date VARCHAR, score VARCHAR, game VARCHAR, opponent VARCHAR) Question: Which Date has a Game smaller than 4, and an Opponent of calgary flames, and a Score...
Here is the SQLite query to answer your question: ``` SELECT date FROM table_name_83 WHERE game < 4 AND opponent = "calgary flames" AND score = "4–5" ```
22,034
[ { "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 (date VARCHAR, score VARCHAR, game VARCHAR, opponent VARCHAR)\n\n Question: Which Date has a Game smaller than 4, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR, game VARCHAR) Question: Which Date has a Score of 4–5, and a Game smaller than 4? Here is the SQLite query to answer to the q...
Your SQLite query is almost correct, but I would like to clarify a small detail regarding the comparison of the `game` column. If the `game` column is stored as a `VARCHAR`, you should ensure that your comparison is valid based on the content format. In SQLite, comparing strings using `<` may not work as expected for n...
22,035
[ { "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 (date VARCHAR, score VARCHAR, game VARCHAR)\n\n Question: Which Date has a Score of 4–5, and a Game smaller than 4?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (founded VARCHAR, first_af2_season VARCHAR, final_af2_season VARCHAR, arena VARCHAR) Question: How many founded years had a final af2 season prior to 2009 w...
Here's the SQLite query you requested, formatted correctly: ``` SELECT COUNT(founded) FROM table_name_73 WHERE final_af2_season < 2009 AND arena = "bi-lo center" AND first_af2_season < 2000; ```
22,036
[ { "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 (founded VARCHAR, first_af2_season VARCHAR, final_af2_season VARCHAR, arena VARCHAR)\n\n Question: How many founded ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (founded INTEGER, team VARCHAR) Question: What is the mean Founded number when the team is the Baton Rouge Blaze? Here is the SQLite query to answer to the...
Here is the SQLite query to calculate the mean Founded number for the team "Baton Rouge Blaze": ``` SELECT AVG(founded) FROM table_name_96 WHERE team = "Baton Rouge Blaze"; ```
22,037
[ { "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_96 (founded INTEGER, team VARCHAR)\n\n Question: What is the mean Founded number when the team is the Baton Rouge Blaze...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (gold INTEGER, silver VARCHAR, total VARCHAR) Question: What is listed as the highest Gold that also has a Silver that's smaller than 1, and has a Total tha...
Here is the SQLite query to answer the specified question: ``` SELECT MAX(gold) FROM table_name_23 WHERE silver < 1 AND total < 0 ```
22,038
[ { "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_23 (gold INTEGER, silver VARCHAR, total VARCHAR)\n\n Question: What is listed as the highest Gold that also has a Silve...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (rank INTEGER, gold INTEGER) Question: What's the total Rank that has a Gold that's smaller than 0? Here is the SQLite query to answer to the question: What...
Here is the SQLite query to answer the question: What's the total Rank that has a Gold that's smaller than 0?: ``` SELECT SUM(rank) FROM table_name_2 WHERE gold < 0 ```
22,039
[ { "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 (rank INTEGER, gold INTEGER)\n\n Question: What's the total Rank that has a Gold that's smaller than 0?\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_13 (participants INTEGER, rank VARCHAR, silver VARCHAR) Question: What is listed as the highest Participants that also have a Rank of 5, and Silver that's smal...
Your SQLite query is correct for retrieving the highest number of participants that have a rank of 5 and a silver value that is smaller than 0. Here’s the query wrapped as you requested: ``` SELECT MAX(participants) FROM table_name_13 WHERE rank = '5' AND silver < '0'; ``` Note: Make sure to compare the `rank` and `s...
22,040
[ { "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 (participants INTEGER, rank VARCHAR, silver VARCHAR)\n\n Question: What is listed as the highest Participants that a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, participants VARCHAR) Question: What is listed as the highest Rank that has a Gold that's larger than 0, and Participants that's...
Here is the corrected SQLite query to answer the question regarding the highest Rank that has a Gold larger than 0 and Participants smaller than 10: ```sql SELECT MAX(rank) FROM table_name_6 WHERE CAST(gold AS INTEGER) > 0 AND CAST(participants AS INTEGER) < 10; ``` This query casts the `gold` and `participants` col...
22,041
[ { "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_6 (rank INTEGER, gold VARCHAR, participants VARCHAR)\n\n Question: What is listed as the highest Rank that has a Gold t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (participants INTEGER, silver INTEGER) Question: What is the total number of Participants that has Silver that's smaller than 0? Here is the SQLite query t...
Here is the SQLite query to answer the question about the total number of participants that have silver values smaller than 0: ``` SELECT SUM(participants) FROM table_name_38 WHERE silver < 0 ```
22,042
[ { "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 (participants INTEGER, silver INTEGER)\n\n Question: What is the total number of Participants that has Silver that's...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (skip VARCHAR, second VARCHAR) Question: Which skip has Zrinka Muhek as Second? Here is the SQLite query to answer to the question: Which skip has Zrinka M...
Here is the SQLite query to answer the question: Which skip has Zrinka Muhek as Second?: ``` SELECT skip FROM table_name_90 WHERE second = "Zrinka Muhek" ```
22,043
[ { "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 (skip VARCHAR, second VARCHAR)\n\n Question: Which skip has Zrinka Muhek as Second?\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_96 (second VARCHAR, third VARCHAR) Question: What is the name of the second who has Caroline Reed as third? Here is the SQLite query to answer to the question...
Here is the corrected SQLite query wrapped in code block format: ``` SELECT second FROM table_name_96 WHERE third = "Caroline Reed"; ```
22,044
[ { "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_96 (second VARCHAR, third VARCHAR)\n\n Question: What is the name of the second who has Caroline Reed as third?\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_22 (lead VARCHAR, skip VARCHAR) Question: Which lead has Kirsty Balfour as second? Here is the SQLite query to answer to the question: Which lead has Kirsty B...
Here is the SQLite query to answer the question about which lead has Kirsty Balfour as second: ```sql SELECT lead FROM table_name_22 WHERE skip = "Kirsty Balfour"; ```
22,045
[ { "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 (lead VARCHAR, skip VARCHAR)\n\n Question: Which lead has Kirsty Balfour as second?\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_47 (third VARCHAR, skip VARCHAR) Question: What is the name of the third who has Barbora Vojtusova as Skip? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about the name of the third who has Barbora Vojtusova as Skip: ``` SELECT third FROM table_name_47 WHERE skip = "Barbora Vojtusova"; ```
22,046
[ { "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 (third VARCHAR, skip VARCHAR)\n\n Question: What is the name of the third who has Barbora Vojtusova as Skip?\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_41 (second VARCHAR, third VARCHAR) Question: Who is the Second with Nikolina Petric as Third? Here is the SQLite query to answer to the question: Who is the S...
Here is the SQLite query to answer the question: Who is the Second with Nikolina Petric as Third?: ``` SELECT second FROM table_name_41 WHERE third = "Nikolina Petric" ```
22,047
[ { "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 (second VARCHAR, third VARCHAR)\n\n Question: Who is the Second with Nikolina Petric as Third?\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_10 (lead VARCHAR, skip VARCHAR) Question: Which Lead has Katarina Radonic as Skip? Here is the SQLite query to answer to the question: Which Lead has Katarina...
Here is the SQLite query to answer the question: Which Lead has Katarina Radonic as Skip?: ``` SELECT lead FROM table_name_10 WHERE skip = "Katarina Radonic" ```
22,048
[ { "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 (lead VARCHAR, skip VARCHAR)\n\n Question: Which Lead has Katarina Radonic as Skip?\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_84 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) Question: Who manufactured the motorcycle that did 24 laps and 9 grids? Here is the SQLite query to answ...
Here is the SQLite query to answer the question: Who manufactured the motorcycle that did 24 laps and 9 grids?: ``` SELECT manufacturer FROM table_name_84 WHERE laps = '24' AND grid = '9' ```
22,049
[ { "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 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)\n\n Question: Who manufactured the motorcycle that did 24 laps an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (grid INTEGER, laps INTEGER) Question: How many grids correspond to more than 24 laps? Here is the SQLite query to answer to the question: How many grids c...
The query you provided has a mistake because it uses `MAX()` which will return the maximum grid number rather than counting how many grids meet the criteria. Instead, you need to count the number of distinct grids that have more than 24 laps. Here’s the correct query: ``` SELECT COUNT(DISTINCT grid) FROM table_name_18...
22,050
[ { "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 (grid INTEGER, laps INTEGER)\n\n Question: How many grids correspond to more than 24 laps?\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 (time_retired VARCHAR, grid VARCHAR) Question: What is the time with 10 grids? Here is the SQLite query to answer to the question: What is the time with 10...
The query you provided is incorrect for the question asked. The question is asking for the time associated with 10 unique grids. You need to group the results by `time_retired` and count the distinct grids that occur for each time. The correct query should look something like this: ```sql SELECT time_retired FROM tab...
22,051
[ { "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 (time_retired VARCHAR, grid VARCHAR)\n\n Question: What is the time with 10 grids?\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_96 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) Question: How many grids have more than 24 laps with a time/retired of +1:12.208? Here is the SQLite que...
Your SQLite query has a small issue. To count the number of unique grids that meet the conditions, you would want to use `COUNT(DISTINCT grid)` instead of `SUM(grid)`. Here’s the corrected query: ```sql SELECT COUNT(DISTINCT grid) FROM table_name_96 WHERE time_retired = "+1:12.208" AND CAST(laps AS INTEGER) > 24; ``...
22,052
[ { "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_96 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)\n\n Question: How many grids have more than 24 laps with a time/r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (score VARCHAR, winner VARCHAR) Question: What is the score from the winner Keith Clearwater (1)? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question about the score from the winner Keith Clearwater (1): ```sql SELECT score FROM table_name_60 WHERE winner = "Keith Clearwater (1)"; ```
22,053
[ { "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 (score VARCHAR, winner VARCHAR)\n\n Question: What is the score from the winner Keith Clearwater (1)?\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_24 (date VARCHAR, winner VARCHAR) Question: What is the date where the winner was Tom Kite (10)? Here is the SQLite query to answer to the question: What is t...
Here is the SQLite query to answer the question about the date where the winner was Tom Kite (10): ``` SELECT date FROM table_name_24 WHERE winner = "Tom Kite (10)"; ```
22,054
[ { "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 (date VARCHAR, winner VARCHAR)\n\n Question: What is the date where the winner was Tom Kite (10)?\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_63 (week VARCHAR, date VARCHAR) Question: Which Week had a Date of december 4, 1960? Here is the SQLite query to answer to the question: Which Week had a Date...
Here is the SQLite query to answer the question about which week had a date of December 4, 1960: ``` SELECT week FROM table_name_63 WHERE date = "december 4, 1960" ```
22,055
[ { "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 (week VARCHAR, date VARCHAR)\n\n Question: Which Week had a Date of december 4, 1960?\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_93 (bats VARCHAR, surname VARCHAR) Question: Which player has a last name of baron? Here is the SQLite query to answer to the question: Which player has a las...
```sql SELECT bats FROM table_name_93 WHERE surname = "baron"; ```
22,056
[ { "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 (bats VARCHAR, surname VARCHAR)\n\n Question: Which player has a last name of baron?\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_17 (bats VARCHAR, uni_number VARCHAR) Question: Which batter has a uni# of 31? Here is the SQLite query to answer to the question: Which batter has a uni# of ...
Your SQLite query is almost correct, but you should ensure that the value for the `uni_number` is enclosed in single quotes since it is specified as a VARCHAR. Here's the corrected query: ``` SELECT bats FROM table_name_17 WHERE uni_number = '31' ```
22,057
[ { "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 (bats VARCHAR, uni_number VARCHAR)\n\n Question: Which batter has a uni# of 31?\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_61 (bats VARCHAR, surname VARCHAR) Question: Which batter has the last name Graham? Here is the SQLite query to answer to the question: Which batter has the l...
Here is the SQLite query to find the batter with the last name Graham: ``` SELECT bats FROM table_name_61 WHERE surname = "Graham" ```
22,058
[ { "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 (bats VARCHAR, surname VARCHAR)\n\n Question: Which batter has the last name Graham?\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_56 (home VARCHAR, date VARCHAR) Question: Which Home has a Date of april 1? Here is the SQLite query to answer to the question: Which Home has a Date of april...
Here is the SQLite query to answer the question: Which Home has a Date of april 1?: ``` SELECT home FROM table_name_56 WHERE date = "april 1" ```
22,059
[ { "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 (home VARCHAR, date VARCHAR)\n\n Question: Which Home has a Date of april 1?\n\nHere is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (home VARCHAR, record VARCHAR) Question: Which Home has a Record of 16–17–6? Here is the SQLite query to answer to the question: Which Home has a Record of ...
Here is the SQLite query to answer the question: Which Home has a Record of 16–17–6?: ``` SELECT home FROM table_name_5 WHERE record = "16–17–6"; ```
22,060
[ { "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_5 (home VARCHAR, record VARCHAR)\n\n Question: Which Home has a Record of 16–17–6?\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_50 (date VARCHAR, score VARCHAR, record VARCHAR) Question: Which Date has a Score of 2–7, and a Record of 5–8–2? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question based on the given schema: ``` SELECT date FROM table_name_50 WHERE score = "2–7" AND record = "5–8–2" ```
22,061
[ { "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 (date VARCHAR, score VARCHAR, record VARCHAR)\n\n Question: Which Date has a Score of 2–7, and a Record of 5–8–2?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (record VARCHAR, score VARCHAR, home VARCHAR) Question: Which Record has a Score of 2–4, and a Home of quebec nordiques? Here is the SQLite query to answer...
Here is the SQLite query to answer the question: ``` SELECT record FROM table_name_23 WHERE score = "2–4" AND home = "quebec nordiques" ```
22,062
[ { "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_23 (record VARCHAR, score VARCHAR, home VARCHAR)\n\n Question: Which Record has a Score of 2–4, and a Home of quebec no...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (record VARCHAR, home VARCHAR, score VARCHAR) Question: Which Record has a Home of edmonton oilers, and a Score of 3–6? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question about which Record has a Home of "edmonton oilers" and a Score of "3–6": ``` SELECT record FROM table_name_49 WHERE home = 'edmonton oilers' AND score = '3–6'; ```
22,063
[ { "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 (record VARCHAR, home VARCHAR, score VARCHAR)\n\n Question: Which Record has a Home of edmonton oilers, and a Score ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (home VARCHAR, record VARCHAR) Question: Which Home has a Record of 11–14–4? Here is the SQLite query to answer to the question: Which Home has a Record of...
Here is the SQLite query to answer the question: Which Home has a Record of 11–14–4?: ``` SELECT home FROM table_name_50 WHERE record = "11–14–4"; ```
22,064
[ { "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 (home VARCHAR, record VARCHAR)\n\n Question: Which Home has a Record of 11–14–4?\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_22 (series_ep VARCHAR, segment_d VARCHAR) Question: What is the series episode number with a segment of D, and having fluorescent tubes? Here is the SQLite qu...
It seems there might be some misunderstanding in the query regarding the criteria. Based on the question, you want to find the series episode number where the segment is "D" and also contains "fluorescent tubes". The query should be structured to filter based on both conditions. Here is the corrected SQLite query: ``...
22,065
[ { "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 (series_ep VARCHAR, segment_d VARCHAR)\n\n Question: What is the series episode number with a segment of D, and havi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (netflix VARCHAR, series_ep VARCHAR) Question: What is the Netflix number having a series episode of 1-01? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question of what is the Netflix number having a series episode of 1-01: ``` SELECT netflix FROM table_name_47 WHERE series_ep = '1-01'; ```
22,066
[ { "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 (netflix VARCHAR, series_ep VARCHAR)\n\n Question: What is the Netflix number having a series episode of 1-01?\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_2 (netflix VARCHAR, segment_d VARCHAR) Question: What is the Netflix number having a segment D, of NED can corn? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about the Netflix number having a segment D of "ned can corn": ``` SELECT netflix FROM table_name_2 WHERE segment_d = "ned can corn"; ```
22,067
[ { "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 (netflix VARCHAR, segment_d VARCHAR)\n\n Question: What is the Netflix number having a segment D, of NED can corn?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (segment_a VARCHAR, netflix VARCHAR) Question: What is the segment A name, having a Netflix of s01e12? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question about the segment A name that has a Netflix value of "s01e12": ``` SELECT segment_a FROM table_name_18 WHERE netflix = "s01e12"; ```
22,068
[ { "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 (segment_a VARCHAR, netflix VARCHAR)\n\n Question: What is the segment A name, having a Netflix of s01e12?\n\nHere i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (netflix VARCHAR, segment_c VARCHAR) Question: What is the Netflix number having a segment of C of pills? Here is the SQLite query to answer to the questio...
Your SQLite query is correctly structured to retrieve the Netflix number for the specified segment. Here it is wrapped as you requested: ``` SELECT netflix FROM table_name_53 WHERE segment_c = "pills"; ```
22,069
[ { "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 (netflix VARCHAR, segment_c VARCHAR)\n\n Question: What is the Netflix number having a segment of C of pills?\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_93 (segment_b VARCHAR, segment_d VARCHAR) Question: For a segment D of pasta, what is the segment B? Here is the SQLite query to answer to the question: For a...
Here is the SQLite query wrapped in code blocks as you requested: ``` SELECT segment_b FROM table_name_93 WHERE segment_d = "pasta"; ```
22,070
[ { "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 (segment_b VARCHAR, segment_d VARCHAR)\n\n Question: For a segment D of pasta, what is the segment B?\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_41 (sport VARCHAR, medal VARCHAR, games VARCHAR) Question: Which sport resulted in a gold medal in the 2000 Sydney games? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about which sport resulted in a gold medal in the 2000 Sydney games: ``` SELECT sport FROM table_name_41 WHERE medal = "gold" AND games = "2000 sydney"; ```
22,071
[ { "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 (sport VARCHAR, medal VARCHAR, games VARCHAR)\n\n Question: Which sport resulted in a gold medal in the 2000 Sydney ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (event VARCHAR, sport VARCHAR, games VARCHAR) Question: Which wrestling event was at the 2008 Beijing games? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question regarding which wrestling event was at the 2008 Beijing games: ``` SELECT event FROM table_name_31 WHERE sport = "wrestling" AND games = "2008 beijing"; ```
22,072
[ { "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 (event VARCHAR, sport VARCHAR, games VARCHAR)\n\n Question: Which wrestling event was at the 2008 Beijing games?\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_28 (event VARCHAR, games VARCHAR, sport VARCHAR) Question: What wrestling event was participated in during the 2008 Beijing games? Here is the SQLite query to...
Here is the SQLite query to answer the question regarding the wrestling event participated in during the 2008 Beijing games: ``` SELECT event FROM table_name_28 WHERE games = "2008 beijing" AND sport = "wrestling"; ```
22,073
[ { "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 (event VARCHAR, games VARCHAR, sport VARCHAR)\n\n Question: What wrestling event was participated in during the 2008...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (score VARCHAR, december INTEGER) Question: after december 29 what is the score? Here is the SQLite query to answer to the question: after december 29 what...
Here's the SQLite query to answer the question of what the score is after December 29: ``` SELECT score FROM table_name_50 WHERE december > 29 ```
22,074
[ { "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 (score VARCHAR, december INTEGER)\n\n Question: after december 29 what is the score?\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_92 (game_3 VARCHAR, game_2 VARCHAR) Question: Wjat game 3 has ian french as a game of 2? Here is the SQLite query to answer to the question: Wjat game 3 has i...
Your SQLite query to answer the question "What game 3 has Ian French as a game of 2?" is correctly formulated. Here it is again, wrapped in the required code block: ``` SELECT game_3 FROM table_name_92 WHERE game_2 = "ian french"; ```
22,075
[ { "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_92 (game_3 VARCHAR, game_2 VARCHAR)\n\n Question: Wjat game 3 has ian french as a game of 2?\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_13 (game_1 VARCHAR, position VARCHAR) Question: What game 1 has halfback as a position? Here is the SQLite query to answer to the question: What game 1 has ha...
Your query to retrieve the `game_1` where the position is "halfback" is correctly structured. Here it is wrapped in the appropriate code block: ``` SELECT game_1 FROM table_name_13 WHERE position = "halfback"; ```
22,076
[ { "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 (game_1 VARCHAR, position VARCHAR)\n\n Question: What game 1 has halfback as a position?\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_62 (position VARCHAR, game_1 VARCHAR) Question: What position has colin scott as game 1? Here is the SQLite query to answer to the question: What position has...
Here is the SQLite query to answer the question regarding the position of "colin scott" in game 1: ``` SELECT position FROM table_name_62 WHERE game_1 = "colin scott"; ```
22,077
[ { "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 (position VARCHAR, game_1 VARCHAR)\n\n Question: What position has colin scott as game 1?\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_18 (game_1 VARCHAR, game_2 VARCHAR) Question: What game 1 has bob lindner as game 2? Here is the SQLite query to answer to the question: What game 1 has bob l...
Your SQLite query is correctly formulated to answer the question regarding what game is associated with "bob lindner" in the second column. Here it is wrapped as you requested: ``` SELECT game_1 FROM table_name_18 WHERE game_2 = "bob lindner"; ```
22,078
[ { "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 (game_1 VARCHAR, game_2 VARCHAR)\n\n Question: What game 1 has bob lindner as game 2?\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_72 (pick INTEGER, player_name VARCHAR, year VARCHAR) Question: What pick was mario williams before 2006? Here is the SQLite query to answer to the question: W...
Your provided SQLite query is close, but it seems to be using the `SUM` function, which may not be necessary if you are looking for the specific pick value for Mario Williams before 2006. If you need the individual pick(s) rather than the sum, you would simply select the pick directly. Here's how the corrected query w...
22,079
[ { "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 (pick INTEGER, player_name VARCHAR, year VARCHAR)\n\n Question: What pick was mario williams before 2006?\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_74 (entered_office VARCHAR, left_office VARCHAR) Question: What is the entered office that has 1337 as the left office? Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question about the entered office that has 1337 as the left office: ``` SELECT entered_office FROM table_name_74 WHERE left_office = '1337' ```
22,080
[ { "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 (entered_office VARCHAR, left_office VARCHAR)\n\n Question: What is the entered office that has 1337 as the left off...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (born_died VARCHAR, entered_office VARCHAR) Question: What is the born-died that has office of 13 September 1229 as the entered? Here is the SQLite query to...
Here is the SQLite query to answer the question regarding the "born-died" for the office date of 13 September 1229: ``` SELECT born_died FROM table_name_8 WHERE entered_office = "13 September 1229"; ```
22,081
[ { "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 (born_died VARCHAR, entered_office VARCHAR)\n\n Question: What is the born-died that has office of 13 September 1229 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (blagojevich__d_ VARCHAR, source VARCHAR, topinka__r_ VARCHAR) Question: Which Blagojevich (D) has a Source of zogby/wsj, and a Topinka (R) of 33.2%? Here i...
Here is the SQLite query to answer the question: ``` SELECT blagojevich__d_ FROM table_name_5 WHERE source = "zogby/wsj" AND topinka__r_ = "33.2%" ```
22,082
[ { "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_5 (blagojevich__d_ VARCHAR, source VARCHAR, topinka__r_ VARCHAR)\n\n Question: Which Blagojevich (D) has a Source of zo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (blagojevich__d_ VARCHAR, source VARCHAR, date VARCHAR) Question: Which Blagojevich (D) has a Source of zogby/wsj, and a Date of october 16, 2006? Here is ...
Here is the SQLite query to answer the question regarding which Blagojevich (D) has a Source of zogby/wsj, and a Date of october 16, 2006: ``` SELECT blagojevich__d_ FROM table_name_70 WHERE source = "zogby/wsj" AND date = "october 16, 2006" ```
22,083
[ { "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 (blagojevich__d_ VARCHAR, source VARCHAR, date VARCHAR)\n\n Question: Which Blagojevich (D) has a Source of zogby/ws...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (blagojevich__d_ VARCHAR, date VARCHAR) Question: Which Blagojevich (D) happened on october 16, 2006? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question about which Blagojevich (D) happened on October 16, 2006: ``` SELECT blagojevich__d_ FROM table_name_77 WHERE date = 'october 16, 2006'; ```
22,084
[ { "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 (blagojevich__d_ VARCHAR, date VARCHAR)\n\n Question: Which Blagojevich (D) happened on october 16, 2006?\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_11 (topinka__r_ VARCHAR, date VARCHAR) Question: Which Topinka happened on january 22, 2006? Here is the SQLite query to answer to the question: Which Topinka...
Here is the SQLite query to answer the question about which Topinka happened on January 22, 2006: ``` SELECT topinka__r_ FROM table_name_11 WHERE date = "january 22, 2006"; ```
22,085
[ { "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 (topinka__r_ VARCHAR, date VARCHAR)\n\n Question: Which Topinka happened on january 22, 2006?\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_21 (date VARCHAR, remainder VARCHAR) Question: Which Date has a Remainder of 20%? Here is the SQLite query to answer to the question: Which Date has a Remaind...
Here is the SQLite query to answer the question: Which Date has a Remainder of 20%?: ``` SELECT date FROM table_name_21 WHERE remainder = "20%" ```
22,086
[ { "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 (date VARCHAR, remainder VARCHAR)\n\n Question: Which Date has a Remainder of 20%?\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_78 (source VARCHAR, remainder VARCHAR, topinka__r_ VARCHAR) Question: Which Source has a Remainder of 15%, and a Topinka of 26%? Here is the SQLite query to a...
Here is the SQLite query to answer the question regarding the source with a remainder of 15% and a topinka of 26%: ``` SELECT source FROM table_name_78 WHERE remainder = "15%" AND topinka__r_ = "26%" ```
22,087
[ { "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 (source VARCHAR, remainder VARCHAR, topinka__r_ VARCHAR)\n\n Question: Which Source has a Remainder of 15%, and a To...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (season VARCHAR, number_of_contestants VARCHAR, winner VARCHAR) Question: What season had more than 12 contestants in which greydis gil won? Here is the SQ...
Your query is almost correct, but since the `number_of_contestants` column is defined as `VARCHAR`, you need to cast it to an integer for comparison. Here is the revised SQLite query: ``` SELECT season FROM table_name_98 WHERE CAST(number_of_contestants AS INTEGER) > 12 AND winner = "greydis gil"; ``` This will e...
22,088
[ { "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 (season VARCHAR, number_of_contestants VARCHAR, winner VARCHAR)\n\n Question: What season had more than 12 contestan...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (number_of_contestants VARCHAR, winner VARCHAR) Question: How many contestants were there in a season where alejandra espinoza won? Here is the SQLite quer...
Your SQLite query to determine how many contestants were in the season where Alejandra Espinoza won is almost correct, but you need to ensure that you are not counting the number of contests but rather getting the value from the `number_of_contestants` field directly. If `number_of_contestants` is stored as a VARCHAR...
22,089
[ { "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_65 (number_of_contestants VARCHAR, winner VARCHAR)\n\n Question: How many contestants were there in a season where alej...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (pilot VARCHAR, record_description VARCHAR, date VARCHAR) Question: Record description of maximum load to m (ft), and a Date of 23 september 1961 is what pi...
Here is the SQLite query to answer the question: ``` SELECT pilot FROM table_name_89 WHERE record_description = "maximum load to m (ft)" AND date = "23 september 1961" ```
22,090
[ { "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 (pilot VARCHAR, record_description VARCHAR, date VARCHAR)\n\n Question: Record description of maximum load to m (ft)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (record_description VARCHAR, date VARCHAR, pilot VARCHAR) Question: Date of 23 september 1961, and a Pilot of b.v. zemskov had what record description? Her...
Here is the SQLite query to answer the question: ``` SELECT record_description FROM table_name_38 WHERE date = "23 september 1961" AND pilot = "b.v. zemskov" ```
22,091
[ { "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 (record_description VARCHAR, date VARCHAR, pilot VARCHAR)\n\n Question: Date of 23 september 1961, and a Pilot of b....
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (date VARCHAR, pilot VARCHAR, type VARCHAR, record_description VARCHAR) Question: Type of mi-10r, and a Record description of altitude with kg (lb) payload,...
Here is the SQLite query to answer the question regarding the type of mi-10r, a record description of altitude with kg (lb) payload, and a pilot of g.v. alfyorov: ```sql SELECT date FROM table_name_97 WHERE type = "mi-10r" AND record_description = "altitude with kg (lb) payload" AND pilot = "g.v. alfyorov"; ```
22,092
[ { "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 (date VARCHAR, pilot VARCHAR, type VARCHAR, record_description VARCHAR)\n\n Question: Type of mi-10r, and a Record d...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (type VARCHAR, record_description VARCHAR, pilot VARCHAR) Question: Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov had wh...
Here's the SQLite query to answer your question: ``` SELECT type FROM table_name_73 WHERE record_description = "altitude with kg (lb) payload" AND pilot = "g.v. alfyorov"; ```
22,093
[ { "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 (type VARCHAR, record_description VARCHAR, pilot VARCHAR)\n\n Question: Record description of altitude with kg (lb) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (date VARCHAR, type VARCHAR, pilot VARCHAR, record_description VARCHAR) Question: Pilot of g.v. alfyorov, and a Record description of altitude with kg (lb) ...
Here is the SQLite query to answer the question regarding the pilot "g.v. alfyorov", a record description of "altitude with kg (lb) payload", and a type of "mi-10": ```sql SELECT date FROM table_name_39 WHERE pilot = "g.v. alfyorov" AND record_description = "altitude with kg (lb) payload" AND type = "mi-10"; ```
22,094
[ { "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 (date VARCHAR, type VARCHAR, pilot VARCHAR, record_description VARCHAR)\n\n Question: Pilot of g.v. alfyorov, 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_96 (record_description VARCHAR, date VARCHAR, pilot VARCHAR, achievement VARCHAR, type VARCHAR) Question: Achievement of m (ft), and a Type of mi-10r, and a Pi...
Here is the SQLite query to answer the question you provided: ``` SELECT record_description FROM table_name_96 WHERE achievement = "m (ft)" AND type = "mi-10r" AND pilot = "v.p. koloshenko" AND date = "28 may 1965" ```
22,095
[ { "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_96 (record_description VARCHAR, date VARCHAR, pilot VARCHAR, achievement VARCHAR, type VARCHAR)\n\n Question: Achieveme...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR) Question: When was the date of death for the person married to Charles II? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question "When was the date of death for the person married to Charles II?": ``` SELECT death FROM table_name_86 WHERE spouse = "Charles II"; ```
22,096
[ { "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 (death VARCHAR, spouse VARCHAR)\n\n Question: When was the date of death for the person married to Charles II?\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_16 (became_consort VARCHAR, spouse VARCHAR) Question: On what date did James II take a consort? Here is the SQLite query to answer to the question: On what da...
It seems there is a slight misunderstanding regarding the query. Given your schema, the `bceame_consort` column would typically hold the names of the consorts, but the query should match the date format if that information were available. However, based on the existing schema, we can't directly answer the question abou...
22,097
[ { "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 (became_consort VARCHAR, spouse VARCHAR)\n\n Question: On what date did James II take a consort?\n\nHere is the SQLi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR) Question: What is the total number of field goals a player had when there were more than 0 ex...
Here is the corrected SQLite query to answer the question you provided: ```sql SELECT SUM(field_goals) FROM table_name_6 WHERE CAST(extra_points AS INTEGER) > 0 AND CAST(touchdowns AS INTEGER) = 5 ``` Note: This assumes that the fields `field_goals`, `extra_points`, and `touchdowns` are stored as strings (VARCHAR) an...
22,098
[ { "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_6 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR)\n\n Question: What is the total number of field goals...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR) Question: What is the sum of all the touchdowns when the player had more than 0 extra points...
Here's the SQLite query for your question, formatted as requested: ``` SELECT SUM(touchdowns) FROM table_name_44 WHERE extra_points > 0 AND field_goals < 0 ```
22,099
[ { "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 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)\n\n Question: What is the sum of all the touchdowns ...