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_99 (date VARCHAR, winner VARCHAR, season VARCHAR) Question: What is the date for the winner Universitario after the 1943 season? Here is the SQLite query to a...
Here is the SQLite query to answer the question regarding the date for the winner Universitario after the 1943 season: ``` SELECT date FROM table_name_99 WHERE winner = "Universitario" AND season > 1943 ```
12,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_99 (date VARCHAR, winner VARCHAR, season VARCHAR)\n\n Question: What is the date for the winner Universitario after the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (competition_round_ VARCHAR, d_ VARCHAR, season VARCHAR, winner VARCHAR) Question: What is the competition before the 1930 season, and a winning draw? Here...
It looks like there is a small issue with the columns in your SQL query, specifically with how you are trying to access the `competition_round_` and `d_` columns. You should be selecting the `competition_round_` column as it represents the competition. Assuming you're looking for competitions where the winner is "dra...
12,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_75 (competition_round_ VARCHAR, d_ VARCHAR, season VARCHAR, winner VARCHAR)\n\n Question: What is the competition befor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR) Question: Who is the co-driver for the 6th position and more than 159 laps? Here is the SQLite query to...
Your SQLite query to find the co-driver for the 6th position and more than 159 laps is correctly structured. Here it is, properly wrapped for clarity: ``` SELECT co_driver FROM table_name_36 WHERE position = "6th" AND laps > 159 ```
12,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_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR)\n\n Question: Who is the co-driver for the 6th position and more...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (location VARCHAR, rank VARCHAR, floors VARCHAR) Question: Which location has 13 floors and a rank greater than 12? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question: Which location has 13 floors and a rank greater than 12?: ``` SELECT location FROM table_name_83 WHERE rank > 12 AND floors = '13' ```
12,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_83 (location VARCHAR, rank VARCHAR, floors VARCHAR)\n\n Question: Which location has 13 floors and a rank greater than ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (visitor VARCHAR, date VARCHAR) Question: What is the Visitor on January 1? Here is the SQLite query to answer to the question: What is the Visitor on Janu...
Your SQL query is mostly correct, but you might want to ensure the date format aligns with the data in your table. Here’s the SQLite query to retrieve the visitor on January 1: ``` SELECT visitor FROM table_name_58 WHERE date = "January 1"; ``` Make sure the casing of "January" matches the data in your table for the...
12,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_58 (visitor VARCHAR, date VARCHAR)\n\n Question: What is the Visitor on January 1?\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_63 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) Question: What is the Record of the Game on January 20 with Visitor Toronto Maple Leafs with ...
Here is the SQLite query to answer the question regarding the game record on January 20 with the visitor being Toronto Maple Leafs and the score of 3–1: ``` SELECT record FROM table_name_63 WHERE score = "3–1" AND visitor = "Toronto Maple Leafs" AND date = "January 20"; ```
12,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_63 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR)\n\n Question: What is the Record of the Game on Janua...
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, score VARCHAR, date VARCHAR) Question: What is the Record of the game on November 24 with a Score of 6–2? Here is the SQLite query to answ...
Here is the SQLite query to answer the question about the record of the game on November 24 with a score of 6–2: ``` SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "November 24" ```
12,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_75 (record VARCHAR, score VARCHAR, date VARCHAR)\n\n Question: What is the Record of the game on November 24 with a Sco...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) Question: What is the Record of the game on November 15 against Visitor Chicago Black Hawks w...
Here is the SQLite query to answer the question about the record of the game on November 15 against the Chicago Black Hawks with a score of 1–3: ``` SELECT record FROM table_name_32 WHERE score = "1–3" AND visitor = "Chicago Black Hawks" AND date = "November 15"; ```
12,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_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR)\n\n Question: What is the Record of the game on Novem...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (date VARCHAR, score VARCHAR, record VARCHAR) Question: What is the Date of the game with a Score of 3–1 and Record of 1–1–0? Here is the SQLite query to a...
Here is the SQLite query to answer your question: ``` SELECT date FROM table_name_70 WHERE score = "3–1" AND record = "1–1–0" ```
12,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_70 (date VARCHAR, score VARCHAR, record VARCHAR)\n\n Question: What is the Date of the game with a Score of 3–1 and Rec...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (visitor VARCHAR, date VARCHAR) Question: What is the Visitor of the game on January 24? Here is the SQLite query to answer to the question: What is the Vi...
Certainly! Here’s the SQLite query to find the visitor of the game on January 24: ``` SELECT visitor FROM table_name_33 WHERE date = "January 24"; ``` Make sure the date format matches the data stored in your database.
12,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_33 (visitor VARCHAR, date VARCHAR)\n\n Question: What is the Visitor of the game on January 24?\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_54 (record VARCHAR, game VARCHAR) Question: What is Record, when Game is 27? Here is the SQLite query to answer to the question: What is Record, when Game is ...
Here is the SQLite query to answer the question: What is Record, when Game is 27?: ``` SELECT record FROM table_name_54 WHERE game = '27' ``` (Note: Depending on how the `game` values are stored, you might need to use quotes around `27` if it is considered a string type.)
12,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_54 (record VARCHAR, game VARCHAR)\n\n Question: What is Record, when Game is 27?\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_61 (team VARCHAR, high_rebounds VARCHAR) Question: What is Team, when High Rebounds is David Lee (15)? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question you asked: ```sql SELECT team FROM table_name_61 WHERE high_rebounds = "David Lee (15)"; ```
12,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_61 (team VARCHAR, high_rebounds VARCHAR)\n\n Question: What is Team, when High Rebounds is David Lee (15)?\n\nHere is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (record VARCHAR, location_attendance VARCHAR) Question: What is Record, when Location Attendance, is Madison Square Garden 19,009? Here is the SQLite query...
The SQLite query you've provided is mostly correct, but the location attendance should match the exact string including case sensitivity. Additionally, if you want to ensure that the value is treated as case-insensitive, you might want to use `LOWER()` function to make the comparison case-insensitive. Here's how you co...
12,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_32 (record VARCHAR, location_attendance VARCHAR)\n\n Question: What is Record, when Location Attendance, is Madison Squ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (weeks_on_top VARCHAR, artist VARCHAR) Question: How many weeks on top was OMC? Here is the SQLite query to answer to the question: How many weeks on top w...
Your SQLite query is almost correct, but if you want to count the number of weeks that OMC was on top, you might want to use the `SUM` function and make sure to specify the correct conditions. Here is the revised query wrapped in code formatting: ``` SELECT SUM(weeks_on_top) AS total_weeks_on_top FROM table_name_48 ...
12,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_48 (weeks_on_top VARCHAR, artist VARCHAR)\n\n Question: How many weeks on top was OMC?\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_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) Question: What's the volume:issue of Sheryl Crow with 3 weeks on top? Here is the SQLite query to ans...
Here's the corrected SQLite query to answer the question regarding the volume:issue of Sheryl Crow with 3 weeks on top: ```sql SELECT volume || ':issue' AS issue FROM table_name_7 WHERE weeks_on_top = '3' AND artist = 'Sheryl Crow'; ``` Note that I corrected the string concatenation to properly format the result base...
12,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_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)\n\n Question: What's the volume:issue of Sheryl Crow with 3 we...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR) Question: What is Coverage (Transmitter Site), when Power (kW) is "10kW", and wh...
Here is the SQLite query to answer the question about the coverage (transmitter site) when the power is "10kW" and the callsign is "DYFX-TV": ``` SELECT coverage__transmitter_site_ FROM table_name_14 WHERE power__kw_ = "10kW" AND callsign = "DYFX-TV"; ```
12,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_14 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)\n\n Question: What is Coverage (Transmit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR) Question: What is Coverage (Transmitter Site), when Power (kW) is "10kW", and wh...
Here is the SQLite query to answer the question you provided: ``` SELECT coverage__transmitter_site_ FROM table_name_69 WHERE power__kw_ = "10kW" AND callsign = "DYFX-TV"; ```
12,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_69 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)\n\n Question: What is Coverage (Transmit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (branding VARCHAR, callsign VARCHAR) Question: What is Branding, when Callsign is "DXED-TV"? Here is the SQLite query to answer to the question: What is Br...
Here is the SQLite query you can use to answer the question about the Branding when the Callsign is "DXED-TV": ``` SELECT branding FROM table_name_73 WHERE callsign = "DXED-TV"; ```
12,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_73 (branding VARCHAR, callsign VARCHAR)\n\n Question: What is Branding, when Callsign is \"DXED-TV\"?\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_12 (power__kw_ VARCHAR, coverage__transmitter_site_ VARCHAR) Question: What is Power (kW), when Coverage (Transmitter Site) is "Lucena"? Here is the SQLite qu...
Here is the SQLite query to answer the question regarding Power (kW) when Coverage (Transmitter Site) is "Lucena": ``` SELECT power__kw_ FROM table_name_12 WHERE coverage__transmitter_site_ = "Lucena" ```
12,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_12 (power__kw_ VARCHAR, coverage__transmitter_site_ VARCHAR)\n\n Question: What is Power (kW), when Coverage (Transmitt...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR) Question: What year did Ivanovic win with Ivanovic greater than 4 and round of R16? Here is the SQLite query ...
It looks like there might be a misunderstanding in your query regarding the condition `"ivanovic" > 4`, as this comparison doesn't make sense in the context of textual data. If you meant to check the number of wins for Ivanovic and filter the condition based on that, you may need to clarify what "greater than 4" refers...
12,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_95 (year INTEGER, round VARCHAR, winner VARCHAR)\n\n Question: What year did Ivanovic win with Ivanovic greater 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_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR) Question: What is the highest result for Jankovic at Indian Wells and round of SF? Here is the SQLite...
Here is the SQLite query to answer the question regarding the highest result for Jankovic at Indian Wells in the round of SF: ```sql SELECT MAX(jankovic) FROM table_name_68 WHERE round = "sf" AND tournament = "indian wells"; ```
12,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_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR)\n\n Question: What is the highest result for Jankovic at India...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (location_attendance VARCHAR, high_assists VARCHAR) Question: Where did Ben Gordon (8) have the high assists? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question "Where did Ben Gordon (8) have the high assists?": ``` SELECT location_attendance FROM table_name_55 WHERE high_assists = "ben gordon (8)" ```
12,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_55 (location_attendance VARCHAR, high_assists VARCHAR)\n\n Question: Where did Ben Gordon (8) have the high assists?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (high_points VARCHAR, location_attendance VARCHAR) Question: Who had the high points at the United Center 20,389? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question about who had the high points at the United Center 20,389: ``` SELECT high_points FROM table_name_42 WHERE location_attendance = "United Center 20,389"; ```
12,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_42 (high_points VARCHAR, location_attendance VARCHAR)\n\n Question: Who had the high points at the United Center 20,389...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR) Question: Where was the location attendance when Minnesota played? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about the location attendance when Minnesota played: ``` SELECT location_attendance FROM table_name_1 WHERE team = "minnesota" ```
12,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_1 (location_attendance VARCHAR, team VARCHAR)\n\n Question: Where was the location attendance when Minnesota played?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (date VARCHAR, high_assists VARCHAR) Question: What date did Ben Gordon (8) have high assists? Here is the SQLite query to answer to the question: What dat...
It seems that you want to find the date when Ben Gordon had high assists. However, the query you provided does not check the actual assist values. Assuming the `high_assists` column is indicating some kind of performance label or metric specifically for Ben Gordon (in the form of "ben gordon (8)"), the query you wrote ...
12,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_20 (date VARCHAR, high_assists VARCHAR)\n\n Question: What date did Ben Gordon (8) have high assists?\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_82 (team VARCHAR, start VARCHAR, finish VARCHAR) Question: What team had a finish of 25 in a smaller than 28? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question regarding the team with a finish of 25 in a smaller than 28: ``` SELECT team FROM table_name_82 WHERE start < '28' AND finish = '25' ```
12,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_82 (team VARCHAR, start VARCHAR, finish VARCHAR)\n\n Question: What team had a finish of 25 in a smaller than 28?\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_61 (finish INTEGER, start VARCHAR) Question: For any races with a start of 14 what was the lowest finish? Here is the SQLite query to answer to the question: ...
Your SQLite query is almost correct, but since `start` is defined as `VARCHAR`, you need to make sure to compare it with a string value. Therefore, you should use '14' instead of 14. Here is the corrected query wrapped in the code format you requested: ``` SELECT MIN(finish) FROM table_name_61 WHERE start = '14' ```
12,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_61 (finish INTEGER, start VARCHAR)\n\n Question: For any races with a start of 14 what was the lowest finish?\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_22 (transfer_fee VARCHAR, name VARCHAR) Question: What is the transfer fee for Jimmy Gibson? Here is the SQLite query to answer to the question: What is the t...
Here is the SQLite query to answer the question about the transfer fee for Jimmy Gibson: ```sql SELECT transfer_fee FROM table_name_22 WHERE name = "Jimmy Gibson"; ```
12,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_22 (transfer_fee VARCHAR, name VARCHAR)\n\n Question: What is the transfer fee for Jimmy Gibson?\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_30 (silver INTEGER, rank VARCHAR) Question: What is the sum of silver medals won for rank 7? Here is the SQLite query to answer to the question: What is the s...
Here is the SQLite query to answer the question about the sum of silver medals won for rank 7: ``` SELECT SUM(silver) FROM table_name_30 WHERE rank = '7'; ```
12,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_30 (silver INTEGER, rank VARCHAR)\n\n Question: What is the sum of silver medals won for rank 7?\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_95 (agg VARCHAR, team_1 VARCHAR) Question: Goldfields Obuasi Team 1 has what Agg. totals ? Here is the SQLite query to answer to the question: Goldfields Obua...
Here is the SQLite query to answer the question about the Agg. totals for Goldfields Obuasi Team 1: ``` SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi"; ```
12,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_95 (agg VARCHAR, team_1 VARCHAR)\n\n Question: Goldfields Obuasi Team 1 has what Agg. totals ?\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_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR) Question: Which Inhabitants has a Party of south tyrolean people's party, a Mun...
Your provided SQLite query seems to be looking for the average number of inhabitants rather than directly answering the question about which inhabitants meet the criteria specified. If you want to retrieve the actual inhabitants that match your conditions, you would use a query like this: ```sql SELECT inhabitants FRO...
12,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_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)\n\n Question: Which Inhabitants has a P...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR) Question: Which Election has a Municipality of laives, and Inhabitants smaller than 17,197? H...
It looks like there are errors in the provided SQL query. The goal is to find the election for a municipality named "laives" with inhabitants smaller than 17,197. However, the `AVG(election)` and the `OFFSET 197` clauses are not appropriate for this question. Here’s the corrected SQL query: ```sql SELECT election FR...
12,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_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR)\n\n Question: Which Election has a Municipality of lai...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (week INTEGER, result VARCHAR) Question: What is the number week with a result of w 40–62? Here is the SQLite query to answer to the question: What is the ...
The provided query attempts to sum the weeks with a specific result. However, if you want to retrieve the week number(s) that have a result of "w 40–62", you should select the week instead of summing it. Here's the corrected SQLite query: ``` SELECT week FROM table_name_35 WHERE result = "w 40–62" ``` This query wil...
12,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_35 (week INTEGER, result VARCHAR)\n\n Question: What is the number week with a result of w 40–62?\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_79 (game_site VARCHAR, week VARCHAR) Question: What was the game site week 15? Here is the SQLite query to answer to the question: What was the game site week...
Here is the SQLite query to answer the question about the game site for week 15: ``` SELECT game_site FROM table_name_79 WHERE week = '15' ```
12,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_79 (game_site VARCHAR, week VARCHAR)\n\n Question: What was the game site week 15?\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_5 (record VARCHAR, result VARCHAR) Question: What is the record when the result was w 52–43? Here is the SQLite query to answer to the question: What is the r...
Sure! Here is the SQLite query you provided, properly formatted: ``` SELECT record FROM table_name_5 WHERE result = "w 52–43"; ```
12,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_5 (record VARCHAR, result VARCHAR)\n\n Question: What is the record when the result was w 52–43?\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_69 (week INTEGER, game_site VARCHAR, result VARCHAR) Question: What is the highest week when the game site was Verizon Wireless Arena, and the result was w 59–...
Your SQLite query to find the highest week when the game site was Verizon Wireless Arena and the result was "w 59–42" is correctly structured. Here it is wrapped in code formatting: ``` SELECT MAX(week) FROM table_name_69 WHERE game_site = "verizon wireless arena" AND result = "w 59–42"; ``` This query selects the m...
12,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_69 (week INTEGER, game_site VARCHAR, result VARCHAR)\n\n Question: What is the highest week when the game site was Veri...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (opponent VARCHAR, date VARCHAR) Question: What is the opponent on May 25, 2007? Here is the SQLite query to answer to the question: What is the opponent o...
Here is the SQLite query to answer the question about the opponent on May 25, 2007: ``` SELECT opponent FROM table_name_98 WHERE date = "May 25, 2007"; ```
12,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_98 (opponent VARCHAR, date VARCHAR)\n\n Question: What is the opponent on May 25, 2007?\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_94 (opponent VARCHAR, record VARCHAR) Question: What team was the opponent with a record of 5–0? Here is the SQLite query to answer to the question: What team...
Here is the SQLite query to answer the question about the opponent with a record of 5–0: ``` SELECT opponent FROM table_name_94 WHERE record = '5–0'; ```
12,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_94 (opponent VARCHAR, record VARCHAR)\n\n Question: What team was the opponent with a record of 5–0?\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_37 (date VARCHAR, away_team VARCHAR) Question: What date was the away team from Adelaide? Here is the SQLite query to answer to the question: What date was th...
Here is the SQLite query to answer the question about what date the away team from Adelaide played: ``` SELECT date FROM table_name_37 WHERE away_team = "Adelaide"; ```
12,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_37 (date VARCHAR, away_team VARCHAR)\n\n Question: What date was the away team from Adelaide?\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_62 (date VARCHAR, ground VARCHAR) Question: What date was the Colonial Stadium? Here is the SQLite query to answer to the question: What date was the Colonial...
Here is the SQLite query to answer the question about the date of the Colonial Stadium: ``` SELECT date FROM table_name_62 WHERE ground = "colonial stadium"; ```
12,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_62 (date VARCHAR, ground VARCHAR)\n\n Question: What date was the Colonial Stadium?\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_98 (crowd INTEGER, ground VARCHAR) Question: What was the total crowd attendance at Westpac Stadium? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question regarding the total crowd attendance at Westpac Stadium: ``` SELECT SUM(crowd) FROM table_name_98 WHERE ground = "Westpac Stadium"; ```
12,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_98 (crowd INTEGER, ground VARCHAR)\n\n Question: What was the total crowd attendance at Westpac Stadium?\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_13 (attendance VARCHAR, away_team VARCHAR) Question: What is the attendance of the match with maidsone united as the away team? Here is the SQLite query to an...
Here is the SQLite query to answer the question regarding the attendance of the match with Maidstone United as the away team: ``` SELECT attendance FROM table_name_13 WHERE away_team = "maidsone united" ```
12,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_13 (attendance VARCHAR, away_team VARCHAR)\n\n Question: What is the attendance of the match with maidsone united as th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (attendance VARCHAR, tie_no VARCHAR) Question: What is the attendance with a 45 tie no.? Here is the SQLite query to answer to the question: What is the at...
Here is the SQLite query to answer the question: What is the attendance with a 45 tie no.?: ``` SELECT attendance FROM table_name_73 WHERE tie_no = '45'; ```
12,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_73 (attendance VARCHAR, tie_no VARCHAR)\n\n Question: What is the attendance with a 45 tie no.?\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_74 (february VARCHAR, opponent VARCHAR) Question: What is February, when Opponent is "Montreal Canadiens"? Here is the SQLite query to answer to the question:...
Here's the SQLite query to answer your question: ``` SELECT february FROM table_name_74 WHERE opponent = "Montreal Canadiens" ```
12,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_74 (february VARCHAR, opponent VARCHAR)\n\n Question: What is February, when Opponent is \"Montreal Canadiens\"?\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_46 (february VARCHAR, record VARCHAR) Question: What is February, when Record is "21-29-11"? Here is the SQLite query to answer to the question: What is Febru...
Here is the SQLite query you need: ``` SELECT february FROM table_name_46 WHERE record = "21-29-11" ```
12,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_46 (february VARCHAR, record VARCHAR)\n\n Question: What is February, when Record is \"21-29-11\"?\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_54 (february INTEGER, record VARCHAR, game VARCHAR) Question: What is the lowest February, when Record is "21-30-11", and when Game is greater than 62? Here i...
Here is the SQLite query to answer the question you provided: ``` SELECT MIN(february) FROM table_name_54 WHERE record = "21-30-11" AND game > 62 ```
12,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_54 (february INTEGER, record VARCHAR, game VARCHAR)\n\n Question: What is the lowest February, when Record is \"21-30-1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR) Question: What is Score, when Game is less than 61, when February is less than 11, and whe...
Here is the SQLite query formatted correctly: ``` SELECT score FROM table_name_25 WHERE game < 61 AND february < 11 AND opponent = "@ Buffalo Sabres" ```
12,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_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR)\n\n Question: What is Score, when Game is less tha...
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 INTEGER, record VARCHAR) Question: What is the highest Game, when Record is "21-30-11"? Here is the SQLite query to answer to the question: What is t...
Your SQLite query is correctly formed to retrieve the highest game value where the record is "21-30-11". Here it is wrapped in code format as you requested: ``` SELECT MAX(game) FROM table_name_92 WHERE record = "21-30-11"; ```
12,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_92 (game INTEGER, record VARCHAR)\n\n Question: What is the highest Game, when Record is \"21-30-11\"?\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_16 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR) Question: Who had the most rebounds in the game against Phoenix with a number over 76? Here is the SQLi...
It looks like there is a slight mistake in your query regarding how to filter by the game and the rebounds. The query should be designed to find the player or team with the highest rebounds in a specific game against the Phoenix team, while also checking that the rebounds are greater than 76. Here is the corrected SQL...
12,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_16 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR)\n\n Question: Who had the most rebounds in the game against Phoe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (years VARCHAR, jersey_number_s_ VARCHAR) Question: What is Years, when Jersey Number(s) is 5? Here is the SQLite query to answer to the question: What is ...
Here is the SQLite query to answer the question about "Years" when "Jersey Number(s)" is 5: ``` SELECT years FROM table_name_43 WHERE jersey_number_s_ = '5'; ```
12,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_43 (years VARCHAR, jersey_number_s_ VARCHAR)\n\n Question: What is Years, when Jersey Number(s) is 5?\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_54 (position VARCHAR, player VARCHAR) Question: What is Position when Player is Drew Barry Category:Articles With hCards? Here is the SQLite query to answer t...
It seems there may be a misunderstanding in the format of the query, especially in the player name. If you want to get the position for a player named "Drew Barry," it's important to match the exact name as it appears in your database. Here's the corrected SQLite query: ```sql SELECT position FROM table_name_54 WHERE ...
12,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_54 (position VARCHAR, player VARCHAR)\n\n Question: What is Position when Player is Drew Barry Category:Articles With h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR) Question: What is Years, when Jersey Number(s) is 21, and when Position is SG? Here is the SQLi...
Here is the SQLite query to answer the question about the years when the jersey number is 21 and the position is SG: ``` SELECT years FROM table_name_97 WHERE jersey_number_s_ = '21' AND position = 'SG'; ```
12,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_97 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR)\n\n Question: What is Years, when Jersey Number(s) is 21...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR) Question: What is Postition, when Nationality is United States, when Jerse...
Certainly! Here is the corrected SQLite query wrapped in code formatting: ```sql SELECT position FROM table_name_50 WHERE nationality = "United States" AND jersey_number_s_ = "12" AND player = "Tom Black Category:Articles With hCards"; ``` Make sure the values for `nationality`, `jersey_number_s_`, and `play...
12,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_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR)\n\n Question: What is Postition, w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (club VARCHAR, founded VARCHAR, league VARCHAR) Question: Which Club has a Founded smaller than 1882, and a League of fa premier league? Here is the SQLite...
Your SQL query is mostly correct, but the `founded` column is defined as `VARCHAR`, so you need to make sure that you compare it correctly as a number. In SQLite, you'll need to cast it to an integer for the comparison. Here's the corrected version: ``` SELECT club FROM table_name_76 WHERE CAST(founded AS INTEGER) < 1...
12,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_76 (club VARCHAR, founded VARCHAR, league VARCHAR)\n\n Question: Which Club has a Founded smaller than 1882, and a Leag...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (venue VARCHAR, club VARCHAR) Question: Which Venue has a Club of west bromwich albion? Here is the SQLite query to answer to the question: Which Venue has...
Here is the SQLite query to answer the question: Which Venue has a Club of west bromwich albion?: ``` SELECT venue FROM table_name_99 WHERE club = "west bromwich albion"; ```
12,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_99 (venue VARCHAR, club VARCHAR)\n\n Question: Which Venue has a Club of west bromwich albion?\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_71 (sport VARCHAR, founded VARCHAR, club VARCHAR) Question: Which Sport has a Founded larger than 1874 and a Club of birmingham city? Here is the SQLite query...
Here is the SQLite query to answer the question: Which Sport has a Founded larger than 1874 and a Club of Birmingham City?: ``` SELECT sport FROM table_name_71 WHERE founded > 1874 AND club = "birmingham city" ```
12,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_71 (sport VARCHAR, founded VARCHAR, club VARCHAR)\n\n Question: Which Sport has a Founded larger than 1874 and a Club o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (league VARCHAR, venue VARCHAR) Question: What kind of League has a Venue of billesley common? Here is the SQLite query to answer to the question: What kin...
Here is the SQLite query to answer the question about what kind of League has a Venue of "billesley common": ``` SELECT league FROM table_name_48 WHERE venue = "billesley common"; ```
12,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_48 (league VARCHAR, venue VARCHAR)\n\n Question: What kind of League has a Venue of billesley common?\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_5 (founded INTEGER, venue VARCHAR) Question: COunt the Founded which has a Venue of villa park? Here is the SQLite query to answer to the question: COunt the ...
Here is the SQLite query to count the founded which has a venue of "villa park": ``` SELECT SUM(founded) FROM table_name_5 WHERE venue = 'villa park'; ```
12,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_5 (founded INTEGER, venue VARCHAR)\n\n Question: COunt the Founded which has a Venue of villa park?\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_73 (club VARCHAR, founded VARCHAR, sport VARCHAR) Question: Name the Club which has a Founded larger than 1875, and a Sport of football? Here is the SQLite qu...
Here is the SQLite query to answer the question: ```sql SELECT club FROM table_name_73 WHERE founded > '1875' AND sport = 'football'; ```
12,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_73 (club VARCHAR, founded VARCHAR, sport VARCHAR)\n\n Question: Name the Club which has a Founded larger than 1875, and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (score VARCHAR, place VARCHAR, player VARCHAR) Question: What score did Seve Ballesteros have when he was in T3 place? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about Seve Ballesteros' score when he was in T3 place: ``` SELECT score FROM table_name_54 WHERE place = "T3" AND player = "Seve Ballesteros"; ```
12,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_54 (score VARCHAR, place VARCHAR, player VARCHAR)\n\n Question: What score did Seve Ballesteros have when he was in T3 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (money___$__ VARCHAR, player VARCHAR) Question: What was the money value for Jerry Pate? Here is the SQLite query to answer to the question: What was the m...
Here is the SQLite query to answer the question about the money value for Jerry Pate: ```sql SELECT money___$__ FROM table_name_43 WHERE player = "Jerry Pate"; ```
12,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_43 (money___$__ VARCHAR, player VARCHAR)\n\n Question: What was the money value for Jerry Pate?\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_54 (country VARCHAR, player VARCHAR) Question: What country is Curtis Strange from? Here is the SQLite query to answer to the question: What country is Curtis...
Here is the SQLite query to answer the question: What country is Curtis Strange from?: ``` SELECT country FROM table_name_54 WHERE player = "Curtis Strange"; ```
12,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_54 (country VARCHAR, player VARCHAR)\n\n Question: What country is Curtis Strange from?\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_91 (player VARCHAR, score VARCHAR) Question: Who had a score of 77-69-70-71=287? Here is the SQLite query to answer to the question: Who had a score of 77-69-...
The provided SQL query has a syntax error and does not correctly represent the requirement to check for the total score. Instead, we need to calculate the sum of the given scores and check if any player matches that sum. Here’s the correct SQL query: ```sql SELECT player FROM table_name_91 WHERE score = '287'; ``` ...
12,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_91 (player VARCHAR, score VARCHAR)\n\n Question: Who had a score of 77-69-70-71=287?\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_71 (to_par VARCHAR, player VARCHAR) Question: What was Tom Kite's to par? Here is the SQLite query to answer to the question: What was Tom Kite's to par?: ```...
Here is the SQLite query to answer the question about Tom Kite's to par: ``` SELECT to_par FROM table_name_71 WHERE player = "Tom Kite"; ```
12,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_71 (to_par VARCHAR, player VARCHAR)\n\n Question: What was Tom Kite's to par?\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_99 (date VARCHAR, home VARCHAR) Question: What is the date for the game where Platense was the home side? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question about the date for the game where Platense was the home side: ``` SELECT date FROM table_name_99 WHERE home = "Platense"; ```
12,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_99 (date VARCHAR, home VARCHAR)\n\n Question: What is the date for the game where Platense was the home side?\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_30 (date VARCHAR, attendance VARCHAR, score VARCHAR) Question: On what date was the game with fewer than 6650 in attendance, that finished 0:1? Here is the SQ...
Your SQLite query is well-structured and addresses the requirements of the question. However, just to ensure clarity, here is the requested query wrapped in the appropriate format: ``` SELECT date FROM table_name_30 WHERE attendance < 6650 AND score = "0:1"; ``` This query selects the `date` from the table where the...
12,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_30 (date VARCHAR, attendance VARCHAR, score VARCHAR)\n\n Question: On what date was the game with fewer than 6650 in at...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR) Question: Who was the home team in the game with more than 1675, and Olimpia was the away side? Here is th...
Your SQLite query is correct. Here it is formatted as requested: ``` SELECT home FROM table_name_28 WHERE attendance > 1675 AND away = "olimpia" ``` This query will select the home team from the `table_name_28` table where the attendance exceeds 1675 and the away team is "Olimpia".
12,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_28 (home VARCHAR, attendance VARCHAR, away VARCHAR)\n\n Question: Who was the home team in the game with more than 1675...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) Question: What was the total Attendance in weeks previous of 5, playing the Seattle Seahawks? Here is ...
Here is the corrected SQLite query to compute the total attendance in weeks prior to week 5 for games against the Seattle Seahawks: ``` SELECT SUM(attendance) FROM table_name_47 WHERE week < '5' AND opponent = 'seattle seahawks' ``` Note: The attendance column should ideally be a numeric type if we want to sum it; if...
12,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_47 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)\n\n Question: What was the total Attendance in weeks previous o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (head_coach VARCHAR, shirt_sponsor VARCHAR) Question: Who is the head coach for the team that has finke as the shirt sponsor? Here is the SQLite query to a...
Your query is correct. Here it is again, wrapped as requested: ``` SELECT head_coach FROM table_name_75 WHERE shirt_sponsor = "finke" ```
12,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_75 (head_coach VARCHAR, shirt_sponsor VARCHAR)\n\n Question: Who is the head coach for the team that has finke as 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_11 (team VARCHAR) Question: Who was the team captain of tus koblenz? Here is the SQLite query to answer to the question: Who was the team captain of tus koble...
Here is the SQLite query to answer the question: Who was the team captain of tus koblenz?: ``` SELECT team AS captain FROM table_name_11 WHERE team = "tus koblenz" ```
12,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_11 (team VARCHAR)\n\n Question: Who was the team captain of tus koblenz?\n\nHere is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (shirt_sponsor VARCHAR, kitmaker VARCHAR, head_coach VARCHAR) Question: Who is the shirt sponsor for the team with a head coach of andre schubert and a kitm...
Here is the SQLite query to answer the question about the shirt sponsor for the team with a head coach of Andre Schubert and a kitmaker of Puma: ```sql SELECT shirt_sponsor FROM table_name_48 WHERE kitmaker = "puma" AND head_coach = "andre schubert"; ```
12,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_48 (shirt_sponsor VARCHAR, kitmaker VARCHAR, head_coach VARCHAR)\n\n Question: Who is the shirt sponsor for the team wi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (team VARCHAR, shirt_sponsor VARCHAR) Question: Who is the team captain for the team with sparkasse (düsseldorf) as the shirt sponsor? Here is the SQLite q...
The provided SQLite query seems to be addressing a different question than intended. The original question asks for the team captain, but the query is selecting the team name as "captain". However, based on the existing schema, there is no direct reference to a "team captain" in the `table_name_41`. If you need to fi...
12,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 (team VARCHAR, shirt_sponsor VARCHAR)\n\n Question: Who is the team captain for the team with sparkasse (düsseldorf)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (head_coach VARCHAR, team VARCHAR) Question: Who is the head coach for the team, arminia bielefeld? Here is the SQLite query to answer to the question: Who...
Here is the SQLite query to answer the question: Who is the head coach for the team, arminia bielefeld?: ``` SELECT head_coach FROM table_name_94 WHERE team = "arminia bielefeld"; ```
12,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_94 (head_coach VARCHAR, team VARCHAR)\n\n Question: Who is the head coach for the team, arminia bielefeld?\n\nHere is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (result VARCHAR, attendance VARCHAR) Question: What is the result of the game with 77,698 in attendance? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about the result of the game with 77,698 in attendance: ``` SELECT result FROM table_name_61 WHERE attendance = '77,698'; ```
12,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_61 (result VARCHAR, attendance VARCHAR)\n\n Question: What is the result of the game with 77,698 in attendance?\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_60 (venue VARCHAR, result VARCHAR) Question: What is the Venue when the result was 2-1? Here is the SQLite query to answer to the question: What is the Venue ...
Here is the SQLite query to answer the question about the venue when the result was 2-1: ``` SELECT venue FROM table_name_60 WHERE result = "2-1" ```
12,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_60 (venue VARCHAR, result VARCHAR)\n\n Question: What is the Venue when the result was 2-1?\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_64 (venue VARCHAR, round VARCHAR) Question: What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties? Here is the SQLite query...
Here is the SQLite query to answer the question: ``` SELECT venue FROM table_name_64 WHERE round = "after extra time, chelsea won on 4-1 on penalties"; ```
12,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_64 (venue VARCHAR, round VARCHAR)\n\n Question: What is the venue when the Round shows after extra time, chelsea won on...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) Question: What was the attendance when the result was 1-1? Here is the SQLite query to answer to the question: What wa...
Here is the SQLite query to answer the question about attendance when the result was 1-1: ``` SELECT attendance FROM table_name_12 WHERE result = "1-1"; ```
12,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_12 (attendance VARCHAR, result VARCHAR)\n\n Question: What was the attendance when the result was 1-1?\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_99 (version VARCHAR, format VARCHAR) Question: What is the Version of the CD release? Here is the SQLite query to answer to the question: What is the Version ...
Here is the SQLite query to answer the question about the Version of the CD release, formatted as you requested: ``` SELECT version FROM table_name_99 WHERE format = "cd"; ```
12,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_99 (version VARCHAR, format VARCHAR)\n\n Question: What is the Version of the CD release?\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_40 (label VARCHAR, format VARCHAR, version VARCHAR) Question: What is the Label of the Original CD release? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about the Label of the Original CD release: ``` SELECT label FROM table_name_40 WHERE format = "cd" AND version = "original"; ```
12,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_40 (label VARCHAR, format VARCHAR, version VARCHAR)\n\n Question: What is the Label of the Original CD release?\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_82 (version VARCHAR, region VARCHAR, format VARCHAR, date VARCHAR) Question: What is the Version of the CD release on June 12, 2008 in Cyprus? Here is the SQL...
Here is the SQLite query to answer the question regarding the version of the CD release on June 12, 2008, in Cyprus: ``` SELECT version FROM table_name_82 WHERE format = "cd" AND date = "june 12, 2008" AND region = "cyprus"; ```
12,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_82 (version VARCHAR, region VARCHAR, format VARCHAR, date VARCHAR)\n\n Question: What is the Version of the CD release ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (region VARCHAR, date VARCHAR) Question: What is the Region of the release on December 22, 2008? Here is the SQLite query to answer to the question: What is...
Your SQLite query to find the region of the release on December 22, 2008, is correct. Here it is wrapped in code format: ``` SELECT region FROM table_name_2 WHERE date = "december 22, 2008"; ```
12,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_2 (region VARCHAR, date VARCHAR)\n\n Question: What is the Region of the release on December 22, 2008?\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_62 (label VARCHAR, date VARCHAR, region VARCHAR) Question: What is the Label of the release on June 12, 2008 in Cyprus? Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question about the label of the release on June 12, 2008 in Cyprus: ``` SELECT label FROM table_name_62 WHERE date = "june 12, 2008" AND region = "cyprus" ```
12,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_62 (label VARCHAR, date VARCHAR, region VARCHAR)\n\n Question: What is the Label of the release on June 12, 2008 in Cyp...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (format VARCHAR, region VARCHAR) Question: What is the Format of the release in Greece? Here is the SQLite query to answer to the question: What is the For...
``` SELECT format FROM table_name_16 WHERE region = "Greece" ```
12,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_16 (format VARCHAR, region VARCHAR)\n\n Question: What is the Format of the release in Greece?\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_4 (tonnage VARCHAR, date VARCHAR) Question: What is the total number of Tonnage, when Date is "25 June 1943"? Here is the SQLite query to answer to the questi...
The SQLite query you provided is almost correct, but to calculate the total tonnage, we should be summing the values in the "tonnage" column instead of counting the rows. Here's how you can write the query to get the total tonnage for the specified date: ```sql SELECT SUM(tonnage) FROM table_name_4 WHERE date = "25 Ju...
12,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_4 (tonnage VARCHAR, date VARCHAR)\n\n Question: What is the total number of Tonnage, when Date is \"25 June 1943\"?\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_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR) Question: What is Ship, when Nationality is "Syria", and when Date is "26 June 1943", and...
Your provided query is mostly correct, but you need to make sure that the value for tonnage is treated as a string since the `tonnage` column is defined as `VARCHAR`. Here’s the corrected query: ``` SELECT ship FROM table_name_39 WHERE nationality = "Syria" AND date = "26 June 1943" AND tonnage = "80" ``` This query...
12,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_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR)\n\n Question: What is Ship, when Nationality is \...
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, result VARCHAR, attendance VARCHAR) Question: What is the record of the game that resulted in a loss with more than 56,648 people in attend...
It seems there is a small issue with your query. The column `attendance` should be compared as a numeric value, so you need to convert it to an integer. Additionally, you misused the `OFFSET` clause. To get the games with more than 56,648 people in attendance, you should compare it directly in the `WHERE` clause. Here...
12,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_99 (record VARCHAR, result VARCHAR, attendance VARCHAR)\n\n Question: What is the record of the game that resulted in a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (enrollment VARCHAR, university VARCHAR) Question: What was the university of akron's enrollment? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question: What was the university of akron's enrollment?: ``` SELECT enrollment FROM table_name_35 WHERE university = "university of akron"; ```
12,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_35 (enrollment VARCHAR, university VARCHAR)\n\n Question: What was the university of akron's enrollment?\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_86 (athletics_nickname VARCHAR, founded VARCHAR) Question: Which athletics nickname was founded in 1872? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question: Which athletics nickname was founded in 1872?: ``` SELECT athletics_nickname FROM table_name_86 WHERE founded = "1872"; ```
12,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_86 (athletics_nickname VARCHAR, founded VARCHAR)\n\n Question: Which athletics nickname was founded in 1872?\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_76 (Took VARCHAR, location VARCHAR, type VARCHAR) Question: What date did the executive office in Dover take office? Here is the SQLite query to answer to the...
Here's the SQLite query to answer the question: What date did the executive office in Dover take office?: ``` SELECT Took AS office FROM table_name_76 WHERE location = "dover" AND type = "executive" ```
12,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_76 (Took VARCHAR, location VARCHAR, type VARCHAR)\n\n Question: What date did the executive office in Dover take office...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (Left VARCHAR, location VARCHAR) Question: What left office date happened in Washington? Here is the SQLite query to answer to the question: What left offi...
Sure! Here is the SQLite query wrapped in code tags to answer the question regarding the left office date that happened in Washington: ``` SELECT Left AS office FROM table_name_94 WHERE location = "washington" ```
12,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_94 (Left VARCHAR, location VARCHAR)\n\n Question: What left office date happened in Washington?\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_65 (team_2 VARCHAR) Question: What is the 2nd Leg, when Team 2 is Marbella? Here is the SQLite query to answer to the question: What is the 2nd Leg, when Team...
Here is the SQLite query to answer the question about the 2nd Leg when Team 2 is Marbella: ``` SELECT 2 AS nd_leg FROM table_name_65 WHERE team_2 = 'Marbella' ```
12,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_65 (team_2 VARCHAR)\n\n Question: What is the 2nd Leg, when Team 2 is Marbella?\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_22 (result_f___a VARCHAR, round VARCHAR) Question: What was the result F-A for round 5? Here is the SQLite query to answer to the question: What was the resul...
Here is the SQLite query to answer the question "What was the result F-A for round 5?": ``` SELECT result_f___a FROM table_name_22 WHERE round = 'round 5'; ```
12,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_22 (result_f___a VARCHAR, round VARCHAR)\n\n Question: What was the result F-A for round 5?\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_59 (played INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR) Question: What is the most elevated Played that has a Lost smaller than 12, and a Name of ec ...
Here is the SQLite query to answer your question: ``` SELECT MAX(played) FROM table_name_59 WHERE lost < 12 AND name = "ec amberg (n)" AND position < 4 ```
12,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_59 (played INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR)\n\n Question: What is the most elevated Played that h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (lost INTEGER, name VARCHAR, position VARCHAR) Question: What is the average Lost that has a Name of ec amberg (n), and a Position smaller than 4? Here is ...
Here is the SQLite query to answer the question regarding the average Lost for a Name of "ec amberg (n)" and a Position smaller than 4: ``` SELECT AVG(lost) FROM table_name_63 WHERE name = "ec amberg (n)" AND position < 4 ```
12,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_63 (lost INTEGER, name VARCHAR, position VARCHAR)\n\n Question: What is the average Lost that has a Name of ec amberg (...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (points INTEGER, drawn INTEGER) Question: What is the whole of Points that has a Drawn smaller than 1? Here is the SQLite query to answer to the question: ...
Your provided SQLite query is correct. Here it is wrapped as requested: ``` SELECT SUM(points) FROM table_name_14 WHERE drawn < 1 ```
12,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_14 (points INTEGER, drawn INTEGER)\n\n Question: What is the whole of Points that has a Drawn smaller than 1?\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_33 (drawn INTEGER, lost VARCHAR) Question: What is the whole of Drawn that has a Lost of 4? Here is the SQLite query to answer to the question: What is the wh...
Your SQLite query looks mostly correct, but the condition for `lost` should be compared to a string since the column is defined as `VARCHAR`. Therefore, you should enclose the value '4' in single quotes. Here is the corrected query: ```sql SELECT SUM(drawn) FROM table_name_33 WHERE lost = '4'; ```
12,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_33 (drawn INTEGER, lost VARCHAR)\n\n Question: What is the whole of Drawn that has a Lost of 4?\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_42 (drawn INTEGER, played INTEGER) Question: What is the whole of Drawn that has a Played larger than 14? Here is the SQLite query to answer to the question: ...
Your SQLite query is correct for the question asked. It calculates the total sum of the `drawn` column where the corresponding `played` value is greater than 14. Here it is enclosed in code formatting: ``` SELECT SUM(drawn) FROM table_name_42 WHERE played > 14 ```
12,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_42 (drawn INTEGER, played INTEGER)\n\n Question: What is the whole of Drawn that has a Played larger than 14?\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_75 (result VARCHAR, date VARCHAR) Question: What was the result of the game on April 28? Here is the SQLite query to answer to the question: What was the resu...
Here is the SQLite query to answer the question about the result of the game on April 28: ``` SELECT result FROM table_name_75 WHERE date = "April 28"; ```
12,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_75 (result VARCHAR, date VARCHAR)\n\n Question: What was the result of the game on April 28?\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_36 (home_team VARCHAR, road_team VARCHAR, date VARCHAR) Question: Who was the home team on April 20 against Boston? Here is the SQLite query to answer to the ...
Here is the SQLite query to answer the question: Who was the home team on April 20 against Boston?: ``` SELECT home_team FROM table_name_36 WHERE road_team = "boston" AND date = "april 20"; ```
12,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_36 (home_team VARCHAR, road_team VARCHAR, date VARCHAR)\n\n Question: Who was the home team on April 20 against Boston?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (result VARCHAR, game VARCHAR) Question: What was the result of game 3? Here is the SQLite query to answer to the question: What was the result of game 3?:...
Here is the SQLite query to answer the question of what was the result of game 3: ``` SELECT result FROM table_name_42 WHERE game = "game 3"; ```
12,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_42 (result VARCHAR, game VARCHAR)\n\n Question: What was the result of game 3?\n\nHere is the SQLite query to answer to...