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_75 (independent_socialist_ticket VARCHAR, liberal_ticket VARCHAR) Question: Who was the Independent Socialist candidate who ran against the Liberal candidate E...
Here is the SQLite query wrapped as requested: ``` SELECT independent_socialist_ticket FROM table_name_75 WHERE liberal_ticket = "edward goodell"; ```
44,100
[ { "from": "human", "value": " 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 (independent_socialist_ticket VARCHAR, liberal_ticket VARCHAR)\n\n Question: Who was the Independent Socialist candi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (att VARCHAR, time VARCHAR) Question: Which Att has a Time of 2:14? Here is the SQLite query to answer to the question: Which Att has a Time of 2:14?: ``` ...
Here is the SQLite query to answer the question about which `att` has a `time` of `2:14`: ``` SELECT att FROM table_name_75 WHERE time = "2:14"; ```
44,101
[ { "from": "human", "value": " 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 (att VARCHAR, time VARCHAR)\n\n Question: Which Att has a Time of 2:14?\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_31 (time VARCHAR, record VARCHAR) Question: when is Record of 66-95? Here is the SQLite query to answer to the question: when is Record of 66-95?: ``` SELECT ...
Here is the SQLite query to answer the question "when is Record of 66-95?": ``` SELECT time FROM table_name_31 WHERE record = "66-95"; ```
44,102
[ { "from": "human", "value": " 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 (time VARCHAR, record VARCHAR)\n\n Question: when is Record of 66-95?\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_12 (opponent VARCHAR, record VARCHAR) Question: Which Opponent has a Record of 65-95? Here is the SQLite query to answer to the question: Which Opponent has a...
Here's the SQLite query to find which opponent has a record of 65-95: ``` SELECT opponent FROM table_name_12 WHERE record = "65-95"; ```
44,103
[ { "from": "human", "value": " 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 (opponent VARCHAR, record VARCHAR)\n\n Question: Which Opponent has a Record of 65-95?\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_43 (to_par VARCHAR, player VARCHAR) Question: What is the to par that has ernie els as the player? Here is the SQLite query to answer to the question: What is...
Here is the SQLite query to answer the question "What is the to par that has ernie els as the player?": ```sql SELECT to_par FROM table_name_43 WHERE player = "ernie els"; ```
44,104
[ { "from": "human", "value": " 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 (to_par VARCHAR, player VARCHAR)\n\n Question: What is the to par that has ernie els as the player?\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 (player VARCHAR, money___£__ VARCHAR, country VARCHAR) Question: What player has money of (£) 159,500, and france is the country? Here is the SQLite query ...
Here is the SQLite query to answer the question regarding the player with money of (£) 159,500, and who is from France: ``` SELECT player FROM table_name_99 WHERE money___£__ = "159,500" AND country = "france" ```
44,105
[ { "from": "human", "value": " 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 (player VARCHAR, money___£__ VARCHAR, country VARCHAR)\n\n Question: What player has money of (£) 159,500, and franc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR) Question: What player has 69-70-68-73=280 as the score? Here is the SQLite query to answer to the question: What player has...
The query you've written has a syntax error. In SQLite, you need to calculate the score and compare it correctly. Here's the corrected version of the query: ```sql SELECT player FROM table_name_52 WHERE score = '280'; ``` However, if you're specifically looking for a combination of scores (69, 70, 68, and 73) that su...
44,106
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR)\n\n Question: What player has 69-70-68-73=280 as the score?\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_30 (year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR) Question: What is the average year that has a win less than 1, yamaha as the team, with points gr...
Your provided SQLite query is almost correct, but it needs a small adjustment regarding the data types of the columns. Since `points` and `wins` are of type `VARCHAR`, we must ensure we can compare them properly. Here's a revised version of the query: ```sql SELECT AVG(year) FROM table_name_30 WHERE CAST(wins AS IN...
44,107
[ { "from": "human", "value": " 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 (year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR)\n\n Question: What is the average year that has a win les...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (wins INTEGER, year VARCHAR, points VARCHAR, class VARCHAR, team VARCHAR) Question: What is the highest wins that has 350cc as the class, yamaha for the team...
Here is the SQLite query to answer the question regarding the highest wins for the specified criteria: ``` SELECT MAX(wins) FROM table_name_7 WHERE class = "350cc" AND team = "yamaha" AND points < 37 AND year > 1979 ```
44,108
[ { "from": "human", "value": " 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 (wins INTEGER, year VARCHAR, points VARCHAR, class VARCHAR, team VARCHAR)\n\n Question: What is the highest wins that...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR) Question: How many points have 500cc for the class, a win greater than 0, with a year after 1974...
Here is the SQLite query to answer the question regarding the points for the specified conditions: ``` SELECT SUM(points) FROM table_name_77 WHERE class = "500cc" AND wins > 0 AND year > '1974' ```
44,109
[ { "from": "human", "value": " 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 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR)\n\n Question: How many points have 500cc for the class, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (wins INTEGER, year VARCHAR, class VARCHAR) Question: How many wins have a year after 1976, and 350cc as the class? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question about counting wins for years after 1976 with the class "350cc": ``` SELECT SUM(wins) FROM table_name_21 WHERE year > 1976 AND class = "350cc"; ```
44,110
[ { "from": "human", "value": " 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 (wins INTEGER, year VARCHAR, class VARCHAR)\n\n Question: How many wins have a year after 1976, and 350cc as the cla...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (san_jose_wins VARCHAR, la_goals VARCHAR, la_wins VARCHAR) Question: How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21? ...
Here is the SQLite query to answer the question about how many San Jose wins have an LA goals larger than 6 and LA wins smaller than 21: ``` SELECT COUNT(san_jose_wins) FROM table_name_43 WHERE la_goals > 6 AND la_wins < 21 ```
44,111
[ { "from": "human", "value": " 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 (san_jose_wins VARCHAR, la_goals VARCHAR, la_wins VARCHAR)\n\n Question: How many San Jose wins have an LA goals lar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (san_jose_goals INTEGER, san_jose_wins INTEGER) Question: Which San Jose goals have a San Jose wins smaller than 0? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question regarding which San Jose goals have a San Jose wins smaller than 0: ``` SELECT san_jose_goals FROM table_name_28 WHERE san_jose_wins < 0 ```
44,112
[ { "from": "human", "value": " 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 (san_jose_goals INTEGER, san_jose_wins INTEGER)\n\n Question: Which San Jose goals have a San Jose wins smaller than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (april INTEGER, record VARCHAR) Question: Name the most april with record of 38-33-10 Here is the SQLite query to answer to the question: Name the most apr...
Here is the SQLite query to answer the question about naming the most "april" with a record of "38-33-10": ``` SELECT MAX(april) FROM table_name_19 WHERE record = '38-33-10'; ```
44,113
[ { "from": "human", "value": " 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 (april INTEGER, record VARCHAR)\n\n Question: Name the most april with record of 38-33-10\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_97 (opponent VARCHAR, record VARCHAR) Question: Name the opponent with record of 38-34-10 Here is the SQLite query to answer to the question: Name the opponen...
Here is the SQLite query to answer the question: Name the opponent with record of 38-34-10: ``` SELECT opponent FROM table_name_97 WHERE record = "38-34-10"; ```
44,114
[ { "from": "human", "value": " 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 (opponent VARCHAR, record VARCHAR)\n\n Question: Name the opponent with record of 38-34-10\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_46 (april VARCHAR, record VARCHAR, game VARCHAR) Question: Name the total number of April for game more than 81 and reord of 38-33-10 Here is the SQLite query...
Here is the SQLite query to answer the question regarding the total number of "April" for games greater than 81 and with a record of "38-33-10": ``` SELECT COUNT(april) FROM table_name_46 WHERE record = "38-33-10" AND game > 81 ```
44,115
[ { "from": "human", "value": " 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 (april VARCHAR, record VARCHAR, game VARCHAR)\n\n Question: Name the total number of April for game more than 81 and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (series VARCHAR, date VARCHAR) Question: what series was on may 14 Here is the SQLite query to answer to the question: what series was on may 14: ``` SELEC...
Here is the SQLite query to find out what series was on May 14: ```sql SELECT series FROM table_name_53 WHERE date = "may 14"; ```
44,116
[ { "from": "human", "value": " 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 (series VARCHAR, date VARCHAR)\n\n Question: what series was on may 14\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_95 (to_par VARCHAR, country VARCHAR, score VARCHAR) Question: What is the to par that has england as the country, with 66 as a score? Here is the SQLite query...
Here is the corrected SQLite query to answer the question: ```sql SELECT to_par FROM table_name_95 WHERE country = 'england' AND score = '66'; ``` Make sure to use single quotes for string values in SQL and to keep the score as a string since it is defined as `VARCHAR` in the schema.
44,117
[ { "from": "human", "value": " 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 (to_par VARCHAR, country VARCHAR, score VARCHAR)\n\n Question: What is the to par that has england as the country, w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (country VARCHAR, score VARCHAR, player VARCHAR) Question: What country has a score less than 68, and paul casey as the player? Here is the SQLite query to...
Your SQL query has the right idea, but since the `score` column is defined as `VARCHAR`, you should ensure that you're comparing it as an integer. You can use the `CAST` function to convert the `score` values to integers. Here's the corrected SQL query: ```sql SELECT country FROM table_name_95 WHERE CAST(score AS INTE...
44,118
[ { "from": "human", "value": " 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 (country VARCHAR, score VARCHAR, player VARCHAR)\n\n Question: What country has a score less than 68, and paul casey...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (score INTEGER, player VARCHAR) Question: What is the lowest score that has alastair forsyth as the player? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question about the lowest score that has "alastair forsyth" as the player: ``` SELECT MIN(score) FROM table_name_28 WHERE player = "alastair forsyth" ```
44,119
[ { "from": "human", "value": " 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 (score INTEGER, player VARCHAR)\n\n Question: What is the lowest score that has alastair forsyth as the player?\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (score VARCHAR, player VARCHAR) Question: How many scores have paul casey as a player? Here is the SQLite query to answer to the question: How many scores ...
Here is the SQLite query to answer the question about how many scores have Paul Casey as a player: ``` SELECT COUNT(score) FROM table_name_87 WHERE player = "paul casey"; ```
44,120
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (score VARCHAR, player VARCHAR)\n\n Question: How many scores have paul casey as a player?\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_42 (owner VARCHAR, re_entered_service__p_ VARCHAR, pre_conversion VARCHAR) Question: Who owns the item that was a T326 before conversion and re-entered service...
```sql SELECT owner FROM table_name_42 WHERE re_entered_service__p_ = "11 september 1985" AND pre_conversion = "t326" ```
44,121
[ { "from": "human", "value": " 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 (owner VARCHAR, re_entered_service__p_ VARCHAR, pre_conversion VARCHAR)\n\n Question: Who owns the item that was a 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 (re_entered_service__p_ VARCHAR, entered_service__t_ VARCHAR, pre_conversion VARCHAR) Question: What date did the T328 that entered service on 18 June 1956 ...
Here is the SQLite query to answer the question: What date did the T328 that entered service on 18 June 1956 re-enter service?: ``` SELECT re_entered_service__p_ FROM table_name_22 WHERE entered_service__t_ = "18 June 1956" AND pre_conversion = "T328" ```
44,122
[ { "from": "human", "value": " 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 (re_entered_service__p_ VARCHAR, entered_service__t_ VARCHAR, pre_conversion VARCHAR)\n\n Question: What date did th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (pre_conversion VARCHAR, owner VARCHAR, re_entered_service__p_ VARCHAR) Question: Which of V/Line Passenger's pre-conversions re-entered service on 23 Novem...
Here is the SQLite query to answer the question about which of V/Line Passenger's pre-conversions re-entered service on 23 November 1984: ```sql SELECT pre_conversion FROM table_name_16 WHERE owner = "V/Line Passenger" AND re_entered_service__p_ = "23 November 1984"; ```
44,123
[ { "from": "human", "value": " 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 (pre_conversion VARCHAR, owner VARCHAR, re_entered_service__p_ VARCHAR)\n\n Question: Which of V/Line Passenger's pr...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (owner VARCHAR, entered_service__t_ VARCHAR) Question: Who owns the locomotive that entered service on 30 October 1956? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question about who owns the locomotive that entered service on 30 October 1956: ``` SELECT owner FROM table_name_80 WHERE entered_service__t_ = "30 October 1956" ```
44,124
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (owner VARCHAR, entered_service__t_ VARCHAR)\n\n Question: Who owns the locomotive that entered service on 30 Octobe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (score VARCHAR, record VARCHAR) Question: What was the score of the game when the record was 50-85? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question regarding the score of the game when the record was 50-85: ``` SELECT score FROM table_name_73 WHERE record = "50-85"; ```
44,125
[ { "from": "human", "value": " 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 (score VARCHAR, record VARCHAR)\n\n Question: What was the score of the game when the record was 50-85?\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_65 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game when the record was 46-84? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question of what the loss was when the record was 46-84: ``` SELECT loss FROM table_name_65 WHERE record = "46-84"; ```
44,126
[ { "from": "human", "value": " 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 (loss VARCHAR, record VARCHAR)\n\n Question: What was the loss of the game when the record was 46-84?\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_61 (record VARCHAR, loss VARCHAR) Question: What was the record at the game with a loss of Cook (14–7)? Here is the SQLite query to answer to the question: Wh...
Your query is almost correct, but the value for the loss should match the case and formatting in the database. Assuming "Cook (14–7)" is stored correctly with appropriate casing, here is the SQLite query wrapped in code format: ```sql SELECT record FROM table_name_61 WHERE loss = "Cook (14–7)"; ``` Make sure to matc...
44,127
[ { "from": "human", "value": " 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 (record VARCHAR, loss VARCHAR)\n\n Question: What was the record at the game with a loss of Cook (14–7)?\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 (album VARCHAR, length VARCHAR) Question: What album is 4:53 long? Here is the SQLite query to answer to the question: What album is 4:53 long?: ``` SELECT...
Here is the SQLite query to answer the question about which album is 4:53 long: ``` SELECT album FROM table_name_74 WHERE length = "4:53" ```
44,128
[ { "from": "human", "value": " 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 (album VARCHAR, length VARCHAR)\n\n Question: What album is 4:53 long?\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_42 (Id VARCHAR) Question: Which 1989 has a 1986 of 99? Here is the SQLite query to answer to the question: Which 1989 has a 1986 of 99?: ``` SELECT 1989 FROM ...
It seems there might be some confusion in your question regarding the use of column names. The schema provided indicates that the table has a single column named `Id`. Therefore, it doesn't have columns named `1989` or `1986`. Typically, in SQLite and SQL in general, column names should follow a standard nomenclature....
44,129
[ { "from": "human", "value": " 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 (Id VARCHAR)\n\n Question: Which 1989 has a 1986 of 99?\n\nHere is the SQLite query to answer to the question: Which...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (tournament VARCHAR) Question: Which 1983 has a Tournament of wimbledon? Here is the SQLite query to answer to the question: Which 1983 has a Tournament of ...
It looks like you'd like to retrieve records from a table based on a specific year and tournament name. However, the column for the year does not seem to be defined in the provided schema. Assuming that there is a need to filter by the year 1983 and that the table holds records for various tournaments, I will provide a...
44,130
[ { "from": "human", "value": " 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 (tournament VARCHAR)\n\n Question: Which 1983 has a Tournament of wimbledon?\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_11 (tournament VARCHAR) Question: Which Tournament has A in 1987? Here is the SQLite query to answer to the question: Which Tournament has A in 1987?: ``` SEL...
It seems there might be a misunderstanding in the given question and query. If you are looking for tournaments that have the letter "A" and occurred in the year 1987, the schema suggests that we need to include a year and perhaps match it with "A". However, the provided table schema does not include columns for year or...
44,131
[ { "from": "human", "value": " 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 (tournament VARCHAR)\n\n Question: Which Tournament has A in 1987?\n\nHere is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (Id VARCHAR) Question: Which 1988 has a 1985 of 2r? Here is the SQLite query to answer to the question: Which 1988 has a 1985 of 2r?: ``` SELECT 1988 FROM ...
Based on the schema you provided and the question asked, it seems there may be some confusion regarding the use of column names. In SQLite, column names cannot be numeric only, so "1988" and "1985" would not be valid column names as they are defined in the schema. If the columns in `table_name_54` are indeed supposed...
44,132
[ { "from": "human", "value": " 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 (Id VARCHAR)\n\n Question: Which 1988 has a 1985 of 2r?\n\nHere is the SQLite query to answer to the question: Which...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (Id VARCHAR) Question: Which 1988 has a 1982 of 104? Here is the SQLite query to answer to the question: Which 1988 has a 1982 of 104?: ``` SELECT 1988 FRO...
It seems there is a misunderstanding in your question regarding the database schema and the intended SQL query. In your provided schema, there is a single column `Id` of type `VARCHAR`. Based on the context of your question, if you were indeed looking to fetch some values correlating to certain identifiers from a dat...
44,133
[ { "from": "human", "value": " 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 (Id VARCHAR)\n\n Question: Which 1988 has a 1982 of 104?\n\nHere is the SQLite query to answer to the question: Whic...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (tournament VARCHAR) Question: Which Tournament has a 1984 of 1r? Here is the SQLite query to answer to the question: Which Tournament has a 1984 of 1r?: `...
The SQLite query you provided is incorrect because it uses an invalid column name (1984) instead of a proper column. Assuming the schema only has `tournament` as the column, here is the corrected query to find the tournament related to "1r" for the year 1984. However, it's essential to clarify if there's a specific col...
44,134
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (tournament VARCHAR)\n\n Question: Which Tournament has a 1984 of 1r?\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_69 (release_price___usd__ VARCHAR, release_date VARCHAR) Question: Release date of 2008 q3 has what release price? Here is the SQLite query to answer to the q...
The SQLite query you've provided is correct for retrieving the release price corresponding to the release date of "2008 q3". Here it is formatted as requested: ``` SELECT release_price___usd__ FROM table_name_69 WHERE release_date = "2008 q3"; ```
44,135
[ { "from": "human", "value": " 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 (release_price___usd__ VARCHAR, release_date VARCHAR)\n\n Question: Release date of 2008 q3 has what release price?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (socket VARCHAR, frequency VARCHAR, release_price___usd__ VARCHAR) Question: Frequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket? Here ...
Your SQLite query is well-structured. However, it's important to ensure that the string comparison in SQL adheres to the exact format and casing of the values stored in your database. Here’s your provided query wrapped in code format: ``` SELECT socket FROM table_name_91 WHERE frequency = "1.2 ghz" AND release_price__...
44,136
[ { "from": "human", "value": " 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 (socket VARCHAR, frequency VARCHAR, release_price___usd__ VARCHAR)\n\n Question: Frequency of 1.2 ghz, and a Release...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (mult VARCHAR, part_number_s_ VARCHAR, socket VARCHAR, voltage VARCHAR) Question: Socket of fcbga1088, and a Voltage of 1v, and a Part number(s) of nu80579ez...
Here is the SQLite query to answer the question: ```sql SELECT mult FROM table_name_3 WHERE socket = "fcbga1088" AND voltage = "1v" AND part_number_s_ = "nu80579ez600cnu80579ez600ct" ```
44,137
[ { "from": "human", "value": " 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 (mult VARCHAR, part_number_s_ VARCHAR, socket VARCHAR, voltage VARCHAR)\n\n Question: Socket of fcbga1088, and a Volt...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (mult VARCHAR, sspec_number VARCHAR) Question: Spec number of slj6d(b1)slj6f(b1) has what mult.? Here is the SQLite query to answer to the question: Spec n...
Your SQLite query is correctly formatted to retrieve the `mult` associated with the specified `sspec_number`. Here it is wrapped in the requested format: ``` SELECT mult FROM table_name_85 WHERE sspec_number = "slj6d(b1)slj6f(b1)"; ``` This query will return the `mult` value for the specified `sspec_number` from the...
44,138
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (mult VARCHAR, sspec_number VARCHAR)\n\n Question: Spec number of slj6d(b1)slj6f(b1) has what mult.?\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_63 (release_price___usd__ VARCHAR, socket VARCHAR) Question: Socket of without quickassist has what release price? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question regarding the release price for sockets "without quickassist": ```sql SELECT release_price___usd__ FROM table_name_63 WHERE socket = 'without quickassist'; ```
44,139
[ { "from": "human", "value": " 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 (release_price___usd__ VARCHAR, socket VARCHAR)\n\n Question: Socket of without quickassist has what release price?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR) Question: Release date of 2008 q3, and a Part number(s) of nu80579ez009c has wh...
Here is the SQLite query to obtain the release price in USD for the specified conditions: ``` SELECT release_price___usd__ FROM table_name_3 WHERE release_date = "2008 q3" AND part_number_s_ = "nu80579ez009c" ```
44,140
[ { "from": "human", "value": " 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 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)\n\n Question: Release date of 2008 q3, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (hong_kong INTEGER, brisbane VARCHAR, kuala_lumpur VARCHAR) Question: What is the lowest Hong Kong value with a 0 Brisbane value and a greater than 0 Kuala ...
Here is the SQLite query to answer the question regarding the lowest Hong Kong value with a 0 Brisbane value and a greater than 0 Kuala Lumpur value: ``` SELECT MIN(hong_kong) FROM table_name_52 WHERE brisbane = 0 AND kuala_lumpur > 0 ```
44,141
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (hong_kong INTEGER, brisbane VARCHAR, kuala_lumpur VARCHAR)\n\n Question: What is the lowest Hong Kong value with a ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR) Question: What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del...
Here's the SQLite query to answer the question you provided: ``` SELECT MAX(kuala_lumpur) FROM table_name_82 WHERE durban < 1 AND mar_del_plata > 0; ```
44,142
[ { "from": "human", "value": " 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 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR)\n\n Question: What is the highest Kuala Lumpur value w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (new_zealand INTEGER, hong_kong INTEGER) Question: What is the highest New Zealand value with a Hong Kong value less than 0? Here is the SQLite query to an...
Your SQL query is correct for retrieving the highest New Zealand value where the corresponding Hong Kong value is less than 0. Here it is wrapped in code formatting: ``` SELECT MAX(new_zealand) FROM table_name_47 WHERE hong_kong < 0 ```
44,143
[ { "from": "human", "value": " 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 (new_zealand INTEGER, hong_kong INTEGER)\n\n Question: What is the highest New Zealand value with a Hong Kong value ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (singapore INTEGER, london INTEGER) Question: What is the average Singapore value with a London value less than 0? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question about the average Singapore value with a London value less than 0: ``` SELECT AVG(singapore) FROM table_name_80 WHERE london < 0 ```
44,144
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (singapore INTEGER, london INTEGER)\n\n Question: What is the average Singapore value with a London value less than ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (position VARCHAR, country VARCHAR, pick VARCHAR) Question: What position was picked for Canada on Pick 8? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question about what position was picked for Canada on Pick 8: ``` SELECT position FROM table_name_61 WHERE country = "Canada" AND pick = "8"; ```
44,145
[ { "from": "human", "value": " 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 (position VARCHAR, country VARCHAR, pick VARCHAR)\n\n Question: What position was picked for Canada on Pick 8?\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_41 (position VARCHAR, year VARCHAR) Question: What is the position that is shown for 2011? Here is the SQLite query to answer to the question: What is the pos...
Here is the SQLite query to answer the question about the position shown for the year 2011: ``` SELECT position FROM table_name_41 WHERE year = '2011' ```
44,146
[ { "from": "human", "value": " 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 (position VARCHAR, year VARCHAR)\n\n Question: What is the position that is shown for 2011?\n\nHere is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (language VARCHAR, film_name VARCHAR) Question: what language is seethaiah in Here is the SQLite query to answer to the question: what language is seethaia...
Here is the SQLite query to answer the question: what language is seethaiah in: ``` SELECT language FROM table_name_27 WHERE film_name = "seethaiah" ```
44,147
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (language VARCHAR, film_name VARCHAR)\n\n Question: what language is seethaiah in\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_74 (producer VARCHAR, role VARCHAR) Question: Which Producer has a Role of rizzette? Here is the SQLite query to answer to the question: Which Producer has a ...
Here is the SQLite query to answer the question: Which Producer has a Role of rizzette?: ``` SELECT producer FROM table_name_74 WHERE role = 'rizzette'; ```
44,148
[ { "from": "human", "value": " 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 (producer VARCHAR, role VARCHAR)\n\n Question: Which Producer has a Role of rizzette?\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_39 (title VARCHAR, director VARCHAR) Question: Which Title has a Director of rowell santiago? Here is the SQLite query to answer to the question: Which Title ...
Here is the SQLite query to answer the question regarding the title associated with the director "rowell santiago": ```sql SELECT title FROM table_name_39 WHERE director = "rowell santiago"; ```
44,149
[ { "from": "human", "value": " 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 (title VARCHAR, director VARCHAR)\n\n Question: Which Title has a Director of rowell santiago?\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_41 (year VARCHAR, producer VARCHAR, title VARCHAR) Question: Which Year has a Producer of viva films, and a Title of magkapatid? Here is the SQLite query to a...
Your SQLite query to find the year where the producer is "viva films" and the title is "magkapatid" is correct. Here it is formatted appropriately: ``` SELECT year FROM table_name_41 WHERE producer = "viva films" AND title = "magkapatid"; ```
44,150
[ { "from": "human", "value": " 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 (year VARCHAR, producer VARCHAR, title VARCHAR)\n\n Question: Which Year has a Producer of viva films, and a Title o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (director VARCHAR, role VARCHAR) Question: Which Director has a Role of melissa? Here is the SQLite query to answer to the question: Which Director has a R...
Here's the SQLite query wrapped in code formatting: ``` SELECT director FROM table_name_80 WHERE role = "melissa"; ```
44,151
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (director VARCHAR, role VARCHAR)\n\n Question: Which Director has a Role of melissa?\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_34 (average VARCHAR) Question: Which 1990-91 has an average number of 1.035? Here is the SQLite query to answer to the question: Which 1990-91 has an average ...
It seems that there is a small misunderstanding in your initial SQL query. The SQL query you provided references the year 1990 and expects it to return as "_91", but it does not follow proper syntax for selecting years or fields. Additionally, since the `average` column is defined as a `VARCHAR`, you should quote the v...
44,152
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (average VARCHAR)\n\n Question: Which 1990-91 has an average number of 1.035?\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_90 (result VARCHAR, week INTEGER) Question: What results has a week larger than 13? Here is the SQLite query to answer to the question: What results has a wee...
Your provided SQLite query to retrieve results with a week larger than 13 is correct. Here it is wrapped again for clarity: ``` SELECT result FROM table_name_90 WHERE week > 13 ```
44,153
[ { "from": "human", "value": " 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 (result VARCHAR, week INTEGER)\n\n Question: What results has a week larger than 13?\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_79 (result VARCHAR, week INTEGER) Question: What results has a week smaller than 2? Here is the SQLite query to answer to the question: What results has a wee...
Here is the SQLite query to answer the question about the results with a week smaller than 2: ``` SELECT result FROM table_name_79 WHERE week < 2 ```
44,154
[ { "from": "human", "value": " 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 (result VARCHAR, week INTEGER)\n\n Question: What results has a week smaller than 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_71 (score VARCHAR, game VARCHAR) Question: What was the score for game number 30? Here is the SQLite query to answer to the question: What was the score for g...
Here's the SQLite query to answer the question regarding the score for game number 30: ``` SELECT score FROM table_name_71 WHERE game = '30' ``` Note: In SQL, if the `game` column is of type VARCHAR, it's best to compare it as a string, which is why '30' is enclosed in quotes.
44,155
[ { "from": "human", "value": " 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 (score VARCHAR, game VARCHAR)\n\n Question: What was the score for game number 30?\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_91 (game INTEGER, score VARCHAR) Question: What is the sum for the game with a score of 103–126? Here is the SQLite query to answer to the question: What is t...
Here is the SQLite query to find the sum for the game with a score of 103–126: ```sql SELECT SUM(game) FROM table_name_91 WHERE score = "103–126"; ```
44,156
[ { "from": "human", "value": " 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 (game INTEGER, score VARCHAR)\n\n Question: What is the sum for the game with a score of 103–126?\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_93 (game INTEGER, record VARCHAR) Question: What is the lowest game number that has a Record of 3–33? Here is the SQLite query to answer to the question: What...
Your SQLite query is correctly structured to find the lowest game number that has a record of "3–33". Here it is wrapped in the requested code format: ```sql SELECT MIN(game) FROM table_name_93 WHERE record = "3–33"; ```
44,157
[ { "from": "human", "value": " 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 (game INTEGER, record VARCHAR)\n\n Question: What is the lowest game number that has a Record of 3–33?\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_18 (score VARCHAR, february VARCHAR) Question: what score was on february 21 Here is the SQLite query to answer to the question: what score was on february 21...
Your SQL query has a small mistake in the condition for filtering the rows. If the `february` column contains dates in a string format, you would likely need to use a format that matches the stored data. Assuming the `february` column contains string representations of dates (like "21" for the 21st of February), here...
44,158
[ { "from": "human", "value": " 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 (score VARCHAR, february VARCHAR)\n\n Question: what score was on february 21\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_20 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR) Question: What is the nationality of the player from the Ohio State University (NCAA) Team?...
Here is the SQLite query to answer the question about the nationality of the player from the Ohio State University (NCAA) Team: ``` SELECT nationality FROM table_name_20 WHERE college_junior_club_team__league_ = "ohio state university (ncaa)"; ```
44,159
[ { "from": "human", "value": " 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 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)\n\n Question: What is the nationality of the player...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (round INTEGER, college_junior_club_team__league_ VARCHAR) Question: What is the lowest round of the Kitchener Rangers (OHA)? Here is the SQLite query to a...
Here is the SQLite query to find the lowest round of the Kitchener Rangers (OHA): ```sql SELECT MIN(round) FROM table_name_97 WHERE college_junior_club_team__league_ = "Kitchener Rangers (OHA)"; ```
44,160
[ { "from": "human", "value": " 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 (round INTEGER, college_junior_club_team__league_ VARCHAR)\n\n Question: What is the lowest round of the Kitchener R...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR) Question: What is the position of Pierre Daigneault? Here is the SQLite query to answer to the question: What is the pos...
Here is the SQLite query to answer the question about the position of Pierre Daigneault: ``` SELECT position FROM table_name_58 WHERE player = "Pierre Daigneault" ```
44,161
[ { "from": "human", "value": " 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 (position VARCHAR, player VARCHAR)\n\n Question: What is the position of Pierre Daigneault?\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_26 (Id VARCHAR) Question: What is the average 2006 value with a 2010 value of 417.9 and a 2011 value greater than 426.7? Here is the SQLite query to answer to...
The provided SQL query incorrectly attempts to use column names (like `2006`, `2010`, `2011`) that are not valid SQL identifiers because they begin with digits. Additionally, the `AVG` function needs valid column names from the schema. Assuming that the table `table_name_26` contains appropriate columns for the years ...
44,162
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (Id VARCHAR)\n\n Question: What is the average 2006 value with a 2010 value of 417.9 and a 2011 value 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_45 (Id VARCHAR) Question: What is the 2011 total with a 2008 value greater than 346.5, a 2009 value of 392, and a 2010 value bigger than 354.6? Here is the SQ...
It looks like you are trying to count instances based on specific conditions for the years 2008, 2009, 2010, and sum the values for 2011. However, the SQL syntax you've provided is incorrect, particularly the usage of `COUNT(2011)`. Instead, if you want to sum up the 2011 values based on the given conditions for the ot...
44,163
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (Id VARCHAR)\n\n Question: What is the 2011 total with a 2008 value greater than 346.5, a 2009 value of 392, and a 2...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (Id VARCHAR) Question: What is the total 2008 value with a 2006 value greater than 322.7, a 353.9 in 2011, and a 2009 less than 392? Here is the SQLite que...
It seems that there are a few issues with the provided SQL query. First, the `COUNT(2008)` function is incorrect for retrieving the total 2008 values; you should be using `SUM(2008)` if you are looking for the total of values in the column representing 2008. Also, table_name_53 only has an "Id" column based on the sche...
44,164
[ { "from": "human", "value": " 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 (Id VARCHAR)\n\n Question: What is the total 2008 value with a 2006 value greater than 322.7, a 353.9 in 2011, 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_10 (Id VARCHAR) Question: What is the highest 2009 value with a 2006 value smaller than 280.4, a 2007 less than 2.2, and a 2011 less than 3.5? Here is the SQL...
It looks like there is some inconsistency in the question and the SQL query you provided. Based on the schema you provided (`CREATE TABLE table_name_10 (Id VARCHAR)`), the table only contains a single column `Id`, which does not seem to contain numerical values for the years mentioned (2006, 2007, 2009, 2011). To addr...
44,165
[ { "from": "human", "value": " 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 (Id VARCHAR)\n\n Question: What is the highest 2009 value with a 2006 value smaller than 280.4, a 2007 less than 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_19 (Id VARCHAR) Question: What is the average 2007 value with a 2009 value greater than 2.8, a 4.9 in 2010, and a 2006 less than 2.5? Here is the SQLite query...
It appears there is a misunderstanding in the database schema provided. The schema only indicates a table with a single column named 'Id', which is of type VARCHAR. This does not match the requirement for querying values from years (2006, 2007, 2009, 2010). If there were numeric values for different years in separate ...
44,166
[ { "from": "human", "value": " 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 (Id VARCHAR)\n\n Question: What is the average 2007 value with a 2009 value greater than 2.8, a 4.9 in 2010, and a 2...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (Id VARCHAR) Question: What is the 2006 total with a 2010 value greater than 417.9? Here is the SQLite query to answer to the question: What is the 2006 to...
The provided SQLite query has issues and does not accurately correspond to the schema given in the prompt. Based on the schema `CREATE TABLE table_name_95 (Id VARCHAR)`, it appears that the table only contains one column named `Id`, which is not sufficient to answer the question regarding totals for different years. T...
44,167
[ { "from": "human", "value": " 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 (Id VARCHAR)\n\n Question: What is the 2006 total with a 2010 value greater than 417.9?\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_19 (date VARCHAR, opponent VARCHAR, attendance VARCHAR) Question: when has an Opponent of @ philadelphia phillies and an Attendance of 20,072? Here is the SQL...
Here is the SQLite query to answer the question regarding the opponent of "@ philadelphia phillies" and an attendance of "20,072": ``` SELECT date FROM table_name_19 WHERE opponent = "@ philadelphia phillies" AND attendance = "20,072" ```
44,168
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (date VARCHAR, opponent VARCHAR, attendance VARCHAR)\n\n Question: when has an Opponent of @ philadelphia phillies a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR) Question: Which Opponent is on april 28? Here is the SQLite query to answer to the question: Which Opponent is on april 28...
Here is the SQLite query to answer the question: Which Opponent is on April 28?: ``` SELECT opponent FROM table_name_19 WHERE date = "april 28"; ```
44,169
[ { "from": "human", "value": " 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 (opponent VARCHAR, date VARCHAR)\n\n Question: Which Opponent is on april 28?\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_62 (record VARCHAR, attendance VARCHAR) Question: Which Record has an Attendance of 24,597? Here is the SQLite query to answer to the question: Which Record h...
Here is the SQLite query to answer the question: Which Record has an Attendance of 24,597?: ``` SELECT record FROM table_name_62 WHERE attendance = "24,597" ```
44,170
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (record VARCHAR, attendance VARCHAR)\n\n Question: Which Record has an Attendance of 24,597?\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_44 (record VARCHAR, loss VARCHAR) Question: Which Record has a Loss of o'connor (0-1)? Here is the SQLite query to answer to the question: Which Record has a ...
Here is the SQLite query to answer the question: Which Record has a Loss of o'connor (0-1)?: ``` SELECT record FROM table_name_44 WHERE loss = "o'connor (0-1)" ```
44,171
[ { "from": "human", "value": " 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 (record VARCHAR, loss VARCHAR)\n\n Question: Which Record has a Loss of o'connor (0-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_24 (attendance VARCHAR, loss VARCHAR) Question: which attendance has a Loss of drese (0-2)? Here is the SQLite query to answer to the question: which attendan...
Here is the SQLite query to answer the question regarding which attendance has a Loss of "drese (0-2)": ``` SELECT attendance FROM table_name_24 WHERE loss = "drese (0-2)"; ```
44,172
[ { "from": "human", "value": " 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 (attendance VARCHAR, loss VARCHAR)\n\n Question: which attendance has a Loss of drese (0-2)?\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_14 (rank VARCHAR, points VARCHAR) Question: What is the highest 2nd in (m) that has a Rank more than 2 and Points more than 249.3 Here is the SQLite query to ...
Based on the provided schema and the question, it seems like you need to find the highest value for "2nd in (m)" while adhering to certain conditions regarding rank and points. However, the query you provided has some issues. You cannot directly select a constant value and apply a function like MAX() to it; instead, ...
44,173
[ { "from": "human", "value": " 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 (rank VARCHAR, points VARCHAR)\n\n Question: What is the highest 2nd in (m) that has a Rank more than 2 and Points m...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR) Question: What is the first date of election for the incumbent that was re-elected in the South Ca...
Here is the SQLite query to answer the question regarding the first date of election for the incumbent that was re-elected in the South Carolina 1 district: ``` SELECT first_elected FROM table_name_45 WHERE result = "re-elected" AND district = "south carolina 1" ```
44,174
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR)\n\n Question: What is the first date of election for the i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (incumbent VARCHAR, first_elected VARCHAR) Question: Who was the incumbent who was first elected in 1876? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question about the incumbent who was first elected in 1876: ``` SELECT incumbent FROM table_name_43 WHERE first_elected = '1876'; ```
44,175
[ { "from": "human", "value": " 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 (incumbent VARCHAR, first_elected VARCHAR)\n\n Question: Who was the incumbent who was first elected in 1876?\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_84 (incumbent VARCHAR, party VARCHAR, district VARCHAR) Question: Who was the Democratic incumbent in the South Carolina 5 District? Here is the SQLite query ...
Here is the SQLite query to answer the question about the Democratic incumbent in the South Carolina 5 District: ``` SELECT incumbent FROM table_name_84 WHERE party = "democratic" AND district = "south carolina 5"; ```
44,176
[ { "from": "human", "value": " 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 (incumbent VARCHAR, party VARCHAR, district VARCHAR)\n\n Question: Who was the Democratic incumbent in the South Car...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (first_elected VARCHAR, district VARCHAR) Question: What is the first elected date for the incumbent in the South Carolina 4 district? Here is the SQLite q...
Here is the SQLite query to answer the question regarding the first elected date for the incumbent in the South Carolina 4 district: ``` SELECT first_elected FROM table_name_98 WHERE district = "South Carolina 4"; ```
44,177
[ { "from": "human", "value": " 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 (first_elected VARCHAR, district VARCHAR)\n\n Question: What is the first elected date for the incumbent in the Sout...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (area__km_2__ VARCHAR, telephone__052_ VARCHAR) Question: Which area has a telephone of (052) of 3862279? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question regarding which area has a telephone of (052) of 3862279: ``` SELECT area__km_2__ FROM table_name_1 WHERE telephone__052_ = '3862279'; ```
44,178
[ { "from": "human", "value": " 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 (area__km_2__ VARCHAR, telephone__052_ VARCHAR)\n\n Question: Which area has a telephone of (052) of 3862279?\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_40 (driver VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, season VARCHAR) Question: Which driver had points over 252 in the season of 2012 wit...
Here is the SQLite query to answer the question regarding which driver had points over 252 in the season of 2012 with a percentage of possible points at 55.60%: ``` SELECT driver FROM table_name_40 WHERE points > 252 AND season = "2012" AND percentage_of_possible_points = "55.60%" ```
44,179
[ { "from": "human", "value": " 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 (driver VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, season VARCHAR)\n\n Question: Which driver h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (races INTEGER, points VARCHAR) Question: What is the number of races that took place with points of 257? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question about the number of races that took place with points of 257: ``` SELECT SUM(races) FROM table_name_28 WHERE points = '257'; ```
44,180
[ { "from": "human", "value": " 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 (races INTEGER, points VARCHAR)\n\n Question: What is the number of races that took place with points of 257?\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_72 (points INTEGER, races VARCHAR, driver VARCHAR) Question: What is the number of points that driver fernando alonso has in the season he had 20 races? Here ...
Here is the SQLite query to answer the question regarding the number of points that driver Fernando Alonso has in the season he had 20 races: ``` SELECT SUM(points) FROM table_name_72 WHERE races = '20' AND driver = 'fernando alonso'; ```
44,181
[ { "from": "human", "value": " 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 (points INTEGER, races VARCHAR, driver VARCHAR)\n\n Question: What is the number of points that driver fernando alon...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (points INTEGER, driver VARCHAR, percentage_of_possible_points VARCHAR) Question: What was the average Points of the season driver Fernando Alonso had a per...
Here is the SQLite query that answers the question regarding the average points of the season for driver Fernando Alonso with a percentage of possible points of 53.05%: ``` SELECT AVG(points) FROM table_name_15 WHERE driver = "Fernando Alonso" AND percentage_of_possible_points = "53.05%" ```
44,182
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (points INTEGER, driver VARCHAR, percentage_of_possible_points VARCHAR)\n\n Question: What was the average Points of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (position VARCHAR, pick VARCHAR) Question: What position has 217 as the pick? Here is the SQLite query to answer to the question: What position has 217 as ...
Here is the SQLite query to answer the question about what position has 217 as the pick: ``` SELECT position FROM table_name_93 WHERE pick = '217' ``` (Note: The pick value is enclosed in quotes assuming it is a VARCHAR type in the schema.)
44,183
[ { "from": "human", "value": " 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 (position VARCHAR, pick VARCHAR)\n\n Question: What position has 217 as the pick?\n\nHere is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR) Question: Which score has a record of 18-21-7? Here is the SQLite query to answer to the question: Which score has a record...
Here is the SQLite query to answer the question regarding which score has a record of 18-21-7: ``` SELECT score FROM table_name_36 WHERE record = '18-21-7'; ```
44,184
[ { "from": "human", "value": " 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 (score VARCHAR, record VARCHAR)\n\n Question: Which score has a record of 18-21-7?\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_86 (apps INTEGER, season VARCHAR, division VARCHAR) Question: What is the lowest value for apps in 2009 season in a division less than 1? Here is the SQLite q...
Here is the SQLite query to answer the question regarding the lowest value for apps in the 2009 season in a division less than 1: ``` SELECT MIN(apps) FROM table_name_86 WHERE season = "2009" AND division < 1 ```
44,185
[ { "from": "human", "value": " 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 (apps INTEGER, season VARCHAR, division VARCHAR)\n\n Question: What is the lowest value for apps in 2009 season 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_48 (goals INTEGER, apps VARCHAR, team VARCHAR, division VARCHAR) Question: What is the sum of goals for Torpedo Moscow in division 1 with an apps value less th...
Here is the SQLite query to answer your question: ``` SELECT SUM(goals) FROM table_name_48 WHERE team = "Torpedo Moscow" AND division = "1" AND apps < 29; ```
44,186
[ { "from": "human", "value": " 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 (goals INTEGER, apps VARCHAR, team VARCHAR, division VARCHAR)\n\n Question: What is the sum of goals for Torpedo Mos...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (remixed_by VARCHAR, version VARCHAR, album VARCHAR) Question: Which Remixed by has a Version of album version, and an Album of les mots? Here is the SQLit...
Here is the SQLite query to answer the question: ``` SELECT remixed_by FROM table_name_80 WHERE version = "album version" AND album = "les mots" ```
44,187
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (remixed_by VARCHAR, version VARCHAR, album VARCHAR)\n\n Question: Which Remixed by has a Version of album version, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (length VARCHAR, year VARCHAR, version VARCHAR) Question: How long was the instrumental version in 1986? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question: How long was the instrumental version in 1986?: ``` SELECT length FROM table_name_74 WHERE year = '1986' AND version = 'instrumental'; ```
44,188
[ { "from": "human", "value": " 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 (length VARCHAR, year VARCHAR, version VARCHAR)\n\n Question: How long was the instrumental version in 1986?\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_51 (remixed_by VARCHAR, year VARCHAR, version VARCHAR) Question: Which long version was remixed in 1986? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question of which long version was remixed in 1986: ``` SELECT remixed_by FROM table_name_51 WHERE year = '1986' AND version = 'long version'; ```
44,189
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (remixed_by VARCHAR, year VARCHAR, version VARCHAR)\n\n Question: Which long version was remixed in 1986?\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 (lead VARCHAR, country VARCHAR) Question: Who was Canada's lead? Here is the SQLite query to answer to the question: Who was Canada's lead?: ``` SELECT lea...
Here is the SQLite query to answer the question "Who was Canada's lead?": ``` SELECT lead FROM table_name_76 WHERE country = "canada"; ```
44,190
[ { "from": "human", "value": " 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 (lead VARCHAR, country VARCHAR)\n\n Question: Who was Canada's lead?\n\nHere is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (skip VARCHAR, country VARCHAR) Question: What was Canada's skip? Here is the SQLite query to answer to the question: What was Canada's skip?: ``` SELECT s...
Here is the SQLite query to answer the question about Canada's skip: ``` SELECT skip FROM table_name_68 WHERE country = 'canada'; ```
44,191
[ { "from": "human", "value": " 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 (skip VARCHAR, country VARCHAR)\n\n Question: What was Canada's skip?\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_50 (country VARCHAR, lead VARCHAR) Question: Which country has a Lead of sarah wazney? Here is the SQLite query to answer to the question: Which country has a...
Here is the SQLite query to answer the question "Which country has a Lead of sarah wazney?": ```sql SELECT country FROM table_name_50 WHERE lead = "sarah wazney" ```
44,192
[ { "from": "human", "value": " 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 (country VARCHAR, lead VARCHAR)\n\n Question: Which country has a Lead of sarah wazney?\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_56 (lead VARCHAR, third VARCHAR) Question: Which Lead has a Third of jeanne ellegaard? Here is the SQLite query to answer to the question: Which Lead has a Th...
Here is the SQLite query to answer the question: Which Lead has a Third of jeanne ellegaard?: ``` SELECT lead FROM table_name_56 WHERE third = "jeanne ellegaard"; ```
44,193
[ { "from": "human", "value": " 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 (lead VARCHAR, third VARCHAR)\n\n Question: Which Lead has a Third of jeanne ellegaard?\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_39 (skip VARCHAR, third VARCHAR) Question: Which Skip has a Third of sara carlsson? Here is the SQLite query to answer to the question: Which Skip has a Third...
Here is the SQLite query to answer the question "Which Skip has a Third of sara carlsson?": ``` SELECT skip FROM table_name_39 WHERE third = "sara carlsson" ```
44,194
[ { "from": "human", "value": " 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 (skip VARCHAR, third VARCHAR)\n\n Question: Which Skip has a Third of sara carlsson?\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_21 (skip VARCHAR, second VARCHAR) Question: Which Skip has a Second of vicki adams? Here is the SQLite query to answer to the question: Which Skip has a Secon...
Here is the SQLite query to answer the question: Which Skip has a Second of vicki adams?: ``` SELECT skip FROM table_name_21 WHERE second = "vicki adams" ```
44,195
[ { "from": "human", "value": " 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 (skip VARCHAR, second VARCHAR)\n\n Question: Which Skip has a Second of vicki adams?\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 (enrollment INTEGER, school VARCHAR) Question: Enrollment that has a School of south central (union mills) has what sum? Here is the SQLite query to answer...
Here is the SQLite query to answer the question regarding the sum of enrollment for the school "south central (union mills)": ``` SELECT SUM(enrollment) FROM table_name_72 WHERE school = "south central (union mills)" ```
44,196
[ { "from": "human", "value": " 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 (enrollment INTEGER, school VARCHAR)\n\n Question: Enrollment that has a School of south central (union mills) has w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (city VARCHAR, mascot VARCHAR) Question: Mascot of blazers involves what city? Here is the SQLite query to answer to the question: Mascot of blazers involv...
Here is the SQLite query to answer the question about the city associated with the mascot "blazers": ```sql SELECT city FROM table_name_17 WHERE mascot = "blazers"; ```
44,197
[ { "from": "human", "value": " 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 (city VARCHAR, mascot VARCHAR)\n\n Question: Mascot of blazers involves what city?\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_83 (school VARCHAR, county VARCHAR) Question: County of 46 laporte is what school? Here is the SQLite query to answer to the question: County of 46 laporte is...
Here is the SQLite query to answer the question about which school corresponds to the county of 46 laporte: ``` SELECT school FROM table_name_83 WHERE county = "46 laporte"; ```
44,198
[ { "from": "human", "value": " 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 (school VARCHAR, county VARCHAR)\n\n Question: County of 46 laporte is what school?\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_56 (laps INTEGER, time VARCHAR) Question: What is the average Laps that shows spun off for time? Here is the SQLite query to answer to the question: What is t...
Here is the SQLite query to answer the question regarding the average laps for the "spun off" time: ``` SELECT AVG(laps) FROM table_name_56 WHERE time = "spun off" ```
44,199
[ { "from": "human", "value": " 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 (laps INTEGER, time VARCHAR)\n\n Question: What is the average Laps that shows spun off for time?\n\nHere is the SQL...