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_42 (result VARCHAR, road_team VARCHAR, date VARCHAR) Question: What is the result of the game on April 17 against Los Angeles? Here is the SQLite query to ans...
Here is the SQLite query to answer the question regarding the result of the game on April 17 against Los Angeles: ``` SELECT result FROM table_name_42 WHERE road_team = "Los Angeles" AND date = "April 17"; ```
12,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_42 (result VARCHAR, road_team VARCHAR, date VARCHAR)\n\n Question: What is the result of the game on April 17 against L...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (date VARCHAR, road_team VARCHAR, game VARCHAR) Question: What is the date of game 3 with Boston as the road team? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question about the date of game 3 with Boston as the road team: ``` SELECT date FROM table_name_56 WHERE road_team = "boston" AND game = "game 3" ```
12,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_56 (date VARCHAR, road_team VARCHAR, game VARCHAR)\n\n Question: What is the date of game 3 with Boston as the road tea...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (iata VARCHAR, airportname VARCHAR) Question: What is the IATA for Esperadinha Airport? Here is the SQLite query to answer to the question: What is the IATA...
Here's the SQLite query wrapped in code formatting as you requested: ``` SELECT iata FROM table_name_3 WHERE airportname = "Esperadinha Airport"; ```
12,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_3 (iata VARCHAR, airportname VARCHAR)\n\n Question: What is the IATA for Esperadinha Airport?\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_3 (airportname VARCHAR, city___town VARCHAR, iata VARCHAR) Question: What is the name of the airport in São Filipe that has an IATA of sfl? Here is the SQLite...
Here is the SQLite query to answer the question about the airport in São Filipe with an IATA of sfl: ``` SELECT airportname FROM table_name_3 WHERE city___town = "São Filipe" AND iata = "sfl"; ```
12,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_3 (airportname VARCHAR, city___town VARCHAR, iata VARCHAR)\n\n Question: What is the name of the airport in São Filipe ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (city___town VARCHAR, icao VARCHAR) Question: In which city is the ICAO gvma? Here is the SQLite query to answer to the question: In which city is the ICAO...
Here is the SQLite query to answer the question "In which city is the ICAO gvma?": ``` SELECT city___town FROM table_name_36 WHERE icao = "gvma" ```
12,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_36 (city___town VARCHAR, icao VARCHAR)\n\n Question: In which city is the ICAO gvma?\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_88 (icao VARCHAR, iata VARCHAR) Question: What is the ICAO for the IATA bvc? Here is the SQLite query to answer to the question: What is the ICAO for the IATA...
Here is the SQLite query to answer the question: What is the ICAO for the IATA bvc?: ``` SELECT icao FROM table_name_88 WHERE iata = 'bvc'; ```
12,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_88 (icao VARCHAR, iata VARCHAR)\n\n Question: What is the ICAO for the IATA bvc?\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_53 (island VARCHAR, airportname VARCHAR) Question: On which island is Esperadinha airport located? Here is the SQLite query to answer to the question: On whic...
Here is the SQLite query to answer the question regarding the location of Esperadinha airport: ``` SELECT island FROM table_name_53 WHERE airportname = "Esperadinha airport"; ```
12,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_53 (island VARCHAR, airportname VARCHAR)\n\n Question: On which island is Esperadinha airport located?\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_53 (city___town VARCHAR, icao VARCHAR) Question: Which city has an ICAO of gvsf? Here is the SQLite query to answer to the question: Which city has an ICAO of...
Here is the SQLite query to answer the question: Which city has an ICAO of gvsf?: ``` SELECT city___town FROM table_name_53 WHERE icao = "gvsf"; ```
12,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_53 (city___town VARCHAR, icao VARCHAR)\n\n Question: Which city has an ICAO of gvsf?\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_17 (gold INTEGER, overall VARCHAR, silver VARCHAR, bronze VARCHAR) Question: How many gold when silver is less than 32, bronze is 25, and overall is less than ...
Here is the SQLite query to answer the question you provided: ```sql SELECT SUM(gold) FROM table_name_17 WHERE silver < 32 AND bronze = 25 AND overall < 67; ```
12,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_17 (gold INTEGER, overall VARCHAR, silver VARCHAR, bronze VARCHAR)\n\n Question: How many gold when silver is 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_97 (silver INTEGER, bronze VARCHAR, overall VARCHAR) Question: How many silver when bronze is 25 and overall is less than 67? Here is the SQLite query to answ...
Your SQLite query has a small issue with the data type used in the `bronze` column. Since `bronze` is defined as a `VARCHAR`, comparison with an integer like `25` might not yield the expected results. You should ensure the comparison is done with a string representation. Here's the corrected query: ``` SELECT SUM(si...
12,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_97 (silver INTEGER, bronze VARCHAR, overall VARCHAR)\n\n Question: How many silver when bronze is 25 and overall is les...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, overall VARCHAR, team VARCHAR) Question: what is the least silver when overall is less than 67, team is saami and gold is less...
Here is the SQLite query to answer the question: ```sql SELECT MIN(silver) FROM table_name_2 WHERE overall < 67 AND team = "saami" AND gold < 5; ```
12,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_2 (silver INTEGER, gold VARCHAR, overall VARCHAR, team VARCHAR)\n\n Question: what is the least silver when overall is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (bronze INTEGER, team VARCHAR, gold VARCHAR) Question: what is the average bronze when the team is northwest territories and gold is more than 34? Here is ...
Here is the SQLite query to answer the question regarding the average bronze for the team "northwest territories" when gold is greater than 34: ``` SELECT AVG(bronze) FROM table_name_23 WHERE team = "northwest territories" AND gold > 34 ```
12,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_23 (bronze INTEGER, team VARCHAR, gold VARCHAR)\n\n Question: what is the average bronze when the team is northwest ter...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (silver VARCHAR, team VARCHAR, gold VARCHAR) Question: How many silver when the team is northwest territories and gold is less than 34? Here is the SQLite ...
The SQLite query to answer the question "How many silver when the team is northwest territories and gold is less than 34?" is as follows: ``` SELECT COUNT(silver) FROM table_name_14 WHERE team = "northwest territories" AND gold < 34; ```
12,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_14 (silver VARCHAR, team VARCHAR, gold VARCHAR)\n\n Question: How many silver when the team is northwest territories an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (away_team VARCHAR, home_team VARCHAR) Question: What is the away team with West Ham United as the home team? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about the away team with West Ham United as the home team: ``` SELECT away_team FROM table_name_73 WHERE home_team = "West Ham United"; ```
12,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_73 (away_team VARCHAR, home_team VARCHAR)\n\n Question: What is the away team with West Ham United as the home team?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (attendance VARCHAR, tie_no VARCHAR) Question: What is the attendance of tie no. 23? Here is the SQLite query to answer to the question: What is the attend...
Your provided SQLite query is correct. Here it is properly wrapped in code formatting: ``` SELECT attendance FROM table_name_34 WHERE tie_no = "23" ```
12,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_34 (attendance VARCHAR, tie_no VARCHAR)\n\n Question: What is the attendance of tie no. 23?\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 (attendance VARCHAR, home_team VARCHAR) Question: What is the attendance of the match with Carlisle united as the home team? Here is the SQLite query to an...
Here is the SQLite query to answer the question about the attendance of the match with Carlisle United as the home team: ``` SELECT attendance FROM table_name_64 WHERE home_team = "carlisle united"; ```
12,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_64 (attendance VARCHAR, home_team VARCHAR)\n\n Question: What is the attendance of the match with Carlisle 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_55 (total INTEGER, year_s__won VARCHAR) Question: what is the sum of total when year(s) won is 1985? Here is the SQLite query to answer to the question: what ...
Here is the SQLite query to answer the question regarding the sum of total when the year(s) won is 1985: ``` SELECT SUM(total) FROM table_name_55 WHERE year_s__won = '1985'; ```
12,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_55 (total INTEGER, year_s__won VARCHAR)\n\n Question: what is the sum of total when year(s) won is 1985?\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_51 (finish VARCHAR, country VARCHAR, player VARCHAR) Question: what is the finish when the country is united states and the player is tiger woods? Here is the...
Here is the SQLite query to answer the question about the finish for the player Tiger Woods from the United States: ``` SELECT finish FROM table_name_51 WHERE country = "united states" AND player = "tiger woods" ```
12,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_51 (finish VARCHAR, country VARCHAR, player VARCHAR)\n\n Question: what is the finish when the country is united states...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (total VARCHAR, finish VARCHAR) Question: How many times was the finish t32? Here is the SQLite query to answer to the question: How many times was the fin...
Here is the SQLite query to answer the question regarding how many times the finish was "t32": ```sql SELECT COUNT(total) FROM table_name_92 WHERE finish = "t32"; ```
12,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_92 (total VARCHAR, finish VARCHAR)\n\n Question: How many times was the finish t32?\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_71 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR) Question: Who was the home team on 8 January 1946 with a tie no of 4? Here is the SQLite query to answer ...
Certainly! Here's the SQLite query wrapped in code formatting: ``` SELECT home_team FROM table_name_71 WHERE date = "8 January 1946" AND tie_no = "4" ```
12,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_71 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)\n\n Question: Who was the home team on 8 January 1946 with a tie n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (score VARCHAR, home_team VARCHAR, date VARCHAR) Question: What is the score of the game where Wrexham is the home team and the date is Blackpool? Here is t...
Here's the SQLite query to answer the question regarding the score of the game where Wrexham is the home team and the date is Blackpool: ``` SELECT score FROM table_name_1 WHERE home_team = "Wrexham" AND date = "Blackpool"; ```
12,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_1 (score VARCHAR, home_team VARCHAR, date VARCHAR)\n\n Question: What is the score of the game where Wrexham is the hom...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR) Question: Name the Programming which has an Aspect of 4:3, and a PSIP Short Name of ibc-tv? ...
Here is the SQLite query to answer the question: ``` SELECT programming FROM table_name_18 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv" ```
12,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_18 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)\n\n Question: Name the Programming which has an Aspec...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (channel INTEGER, aspect VARCHAR, psip_short_name VARCHAR) Question: Name the highest Channel with an Aspect of 4:3, and a PSIP Short Name of ibc-tv? Here ...
Your SQLite query to find the highest channel with an aspect of 4:3 and a PSIP short name of "ibc-tv" is correct. Here it is wrapped as requested: ``` SELECT MAX(channel) FROM table_name_12 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv"; ```
12,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_12 (channel INTEGER, aspect VARCHAR, psip_short_name VARCHAR)\n\n Question: Name the highest Channel with an Aspect of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (video VARCHAR, channel INTEGER) Question: WHich Video has a Channel larger than 56.4? Here is the SQLite query to answer to the question: WHich Video has ...
Here is the SQLite query to answer the question "Which Video has a Channel larger than 56.4?": ``` SELECT video FROM table_name_17 WHERE channel > 56.4; ```
12,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_17 (video VARCHAR, channel INTEGER)\n\n Question: WHich Video has a Channel larger than 56.4?\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_98 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR) Question: Which Programming has an Aspect of 4:3 and a PSIP Short Name of metvla? Here is th...
Here is the SQLite query to answer the question about which programming has an aspect of 4:3 and a PSIP short name of metvla: ```sql SELECT programming FROM table_name_98 WHERE aspect = "4:3" AND psip_short_name = "metvla"; ```
12,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_98 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)\n\n Question: Which Programming has an Aspect of 4:3 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (channel VARCHAR, aspect VARCHAR, programming VARCHAR) Question: Which Channel has an Aspect of 4:3 and a Programming of me-tv? Here is the SQLite query to...
Here is the SQLite query to answer the question about which channel has an aspect of 4:3 and a programming of me-tv: ```sql SELECT channel FROM table_name_10 WHERE aspect = "4:3" AND programming = "me-tv" ```
12,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_10 (channel VARCHAR, aspect VARCHAR, programming VARCHAR)\n\n Question: Which Channel has an Aspect of 4:3 and a Progra...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (opponent VARCHAR, game VARCHAR, april VARCHAR) Question: Who is the opponent in a game higher than 76 on April 6? Here is the SQLite query to answer to th...
Your SQL query is almost correct, but it appears that there is a minor logical error regarding the date format in the `april` field. Assuming `april` is intended to represent a date or possibly a specific identifier related to games in April (but it's not clear if it's actually representing a date format), you typicall...
12,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_52 (opponent VARCHAR, game VARCHAR, april VARCHAR)\n\n Question: Who is the opponent in a game higher than 76 on April ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (april INTEGER, game INTEGER) Question: What is the earliest April date with a game less than 76? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question about the earliest April date with a game less than 76: ```sql SELECT MIN(april) FROM table_name_10 WHERE game < 76; ```
12,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_10 (april INTEGER, game INTEGER)\n\n Question: What is the earliest April date with a game less than 76?\n\nHere is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (tracking_method VARCHAR, latest_stable_release VARCHAR, price_in_usd VARCHAR) Question: Which Tracking Method has a Latest stable release of n/a, and a Pri...
Here is the SQLite query to answer the question regarding the tracking method with a latest stable release of "n/a" and a price in USD of "from $202/month": ``` SELECT tracking_method FROM table_name_25 WHERE latest_stable_release = "n/a" AND price_in_usd = "from $202/month" ```
12,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_25 (tracking_method VARCHAR, latest_stable_release VARCHAR, price_in_usd VARCHAR)\n\n Question: Which Tracking Method h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (name VARCHAR, company VARCHAR) Question: Which Name has a Company of quantcast corporation? Here is the SQLite query to answer to the question: Which Name...
Here is the SQLite query to answer the question: Which Name has a Company of quantcast corporation?: ``` SELECT name FROM table_name_77 WHERE company = "quantcast corporation" ```
12,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_77 (name VARCHAR, company VARCHAR)\n\n Question: Which Name has a Company of quantcast corporation?\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_36 (latest_stable_release VARCHAR, price_in_usd VARCHAR) Question: Name the Latest stable release that has a Price in USD of free / negotiable? Here is the SQ...
Here is the SQLite query to find the latest stable release that has a price in USD of "free / negotiable": ``` SELECT latest_stable_release FROM table_name_36 WHERE price_in_usd = "free / negotiable"; ```
12,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_36 (latest_stable_release VARCHAR, price_in_usd VARCHAR)\n\n Question: Name the Latest stable release that has a Price ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (company VARCHAR, price_in_usd VARCHAR) Question: Name the Company which has a Price in USD of free / negotiable? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question about naming the company that has a price in USD of "free / negotiable": ```sql SELECT company FROM table_name_69 WHERE price_in_usd = 'free / negotiable'; ```
12,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_69 (company VARCHAR, price_in_usd VARCHAR)\n\n Question: Name the Company which has a Price in USD of free / negotiable...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (company VARCHAR, name VARCHAR, tracking_method VARCHAR, latest_stable_release VARCHAR) Question: Name the Company which has a Tracking Method of cookies vi...
Here is the SQLite query to answer your question: ``` SELECT company FROM table_name_61 WHERE tracking_method = "cookies via javascript" AND latest_stable_release = "n/a" AND name = "clicktale" ```
12,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_61 (company VARCHAR, name VARCHAR, tracking_method VARCHAR, latest_stable_release VARCHAR)\n\n Question: Name the Compa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (tracking_method VARCHAR, company VARCHAR) Question: Name the Tracking Method which has a Company of mapmyuser, llc? Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question: ```sql SELECT tracking_method FROM table_name_24 WHERE company = "mapmyuser, llc"; ```
12,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_24 (tracking_method VARCHAR, company VARCHAR)\n\n Question: Name the Tracking Method which has a Company of mapmyuser, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (tie_no VARCHAR, home_team VARCHAR) Question: What was the tie number of the game when the queens park rangers were the home team? Here is the SQLite query ...
Here is the SQLite query to answer the question about the tie number of the game when the Queens Park Rangers were the home team: ``` SELECT tie_no FROM table_name_7 WHERE home_team = 'queens park rangers'; ```
12,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_7 (tie_no VARCHAR, home_team VARCHAR)\n\n Question: What was the tie number of the game when the queens park rangers we...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (tie_no VARCHAR, away_team VARCHAR) Question: What was the tie number when the away team was Wrexham? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question about the tie number when the away team was Wrexham: ``` SELECT tie_no FROM table_name_91 WHERE away_team = "Wrexham"; ```
12,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_91 (tie_no VARCHAR, away_team VARCHAR)\n\n Question: What was the tie number when the away team was Wrexham?\n\nHere is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (brigade VARCHAR, population VARCHAR) Question: Which brigade has a population of 190? Here is the SQLite query to answer to the question: Which brigade ha...
Your SQLite query is correct. Here it is wrapped in code formatting for clarity: ``` SELECT brigade FROM table_name_44 WHERE population = "190"; ```
12,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_44 (brigade VARCHAR, population VARCHAR)\n\n Question: Which brigade has a population of 190?\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_22 (defending_forces VARCHAR, population VARCHAR) Question: What defending forces have a population of 650? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question regarding what defending forces have a population of 650: ``` SELECT defending_forces FROM table_name_22 WHERE population = "650" ```
12,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_22 (defending_forces VARCHAR, population VARCHAR)\n\n Question: What defending forces have a population of 650?\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_77 (defending_forces VARCHAR, name VARCHAR) Question: Which defending forces have the name Danna? Here is the SQLite query to answer to the question: Which de...
Here is the SQLite query to answer the question regarding which defending forces have the name Danna: ``` SELECT defending_forces FROM table_name_77 WHERE name = "Danna"; ```
12,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_77 (defending_forces VARCHAR, name VARCHAR)\n\n Question: Which defending forces have the name Danna?\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_13 (name VARCHAR, population VARCHAR) Question: What name has a population of 810? Here is the SQLite query to answer to the question: What name has a populat...
Here is the SQLite query to answer the question about which name has a population of 810: ``` SELECT name FROM table_name_13 WHERE population = "810"; ```
12,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_13 (name VARCHAR, population VARCHAR)\n\n Question: What name has a population of 810?\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_62 (defending_forces VARCHAR, population VARCHAR) Question: Which defending forces has a population of 230? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question regarding which defending forces has a population of 230: ``` SELECT defending_forces FROM table_name_62 WHERE population = "230"; ```
12,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_62 (defending_forces VARCHAR, population VARCHAR)\n\n Question: Which defending forces has a population of 230?\n\nHere...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (region VARCHAR, format VARCHAR, date VARCHAR) Question: In what region was Degeneration released in digital format on 19 July 2008? Here is the SQLite que...
Here is the SQLite query to answer the question regarding the release of Degeneration in digital format on 19 July 2008: ``` SELECT region FROM table_name_41 WHERE format = "digital" AND date = "19 July 2008" AND region = "Degeneration"; ``` Make sure to check if the movie title "Degeneration" needs to be included i...
12,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_41 (region VARCHAR, format VARCHAR, date VARCHAR)\n\n Question: In what region was Degeneration released in digital for...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (catalog VARCHAR, date VARCHAR) Question: What was the name of the catalog released on 19 July 2008? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about the catalog released on 19 July 2008: ``` SELECT catalog FROM table_name_55 WHERE date = "19 July 2008"; ```
12,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_55 (catalog VARCHAR, date VARCHAR)\n\n Question: What was the name of the catalog released on 19 July 2008?\n\nHere is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (away_team VARCHAR, home_team VARCHAR) Question: who is the away team when the home team is luton town? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question: who is the away team when the home team is luton town?: ``` SELECT away_team FROM table_name_11 WHERE home_team = "luton town"; ```
12,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_11 (away_team VARCHAR, home_team VARCHAR)\n\n Question: who is the away team when the home team is luton town?\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 (attendance VARCHAR, home_team VARCHAR) Question: what is the attendance when the home team is chester city? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question regarding attendance when the home team is Chester City: ``` SELECT attendance FROM table_name_51 WHERE home_team = "chester city" ```
12,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_51 (attendance VARCHAR, home_team VARCHAR)\n\n Question: what is the attendance when the home team is chester city?\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_82 (home_team VARCHAR, attendance VARCHAR, away_team VARCHAR) Question: who is the home team when attendance is 25 november 1997 and the away team is exeter ci...
Here is the SQLite query to answer the question you provided: ``` SELECT home_team FROM table_name_82 WHERE attendance = "25 november 1997" AND away_team = "exeter city" ```
12,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_82 (home_team VARCHAR, attendance VARCHAR, away_team VARCHAR)\n\n Question: who is the home team when attendance is 25 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (semifinalists VARCHAR, finalist VARCHAR) Question: Who are the semifinalists of the tournament with magnus gustafsson as the finalist? Here is the SQLite ...
Here is the SQLite query to answer the question regarding the semifinalists of the tournament with Magnus Gustafsson as the finalist: ``` SELECT semifinalists FROM table_name_90 WHERE finalist = "magnus gustafsson" ```
12,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_90 (semifinalists VARCHAR, finalist VARCHAR)\n\n Question: Who are the semifinalists of the tournament with magnus gust...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (winner_and_score VARCHAR, semifinalists VARCHAR) Question: Who is the winner and score of the tournament with semifinalists goran prpić sergi bruguera? He...
Here is the SQLite query to answer the question about the winner and score of the tournament with semifinalists goran prpić sergi bruguera: ``` SELECT winner_and_score FROM table_name_43 WHERE semifinalists = "goran prpić sergi bruguera"; ```
12,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_43 (winner_and_score VARCHAR, semifinalists VARCHAR)\n\n Question: Who is the winner and score of the tournament with s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (winner_and_score VARCHAR, week VARCHAR) Question: Who is the winner and score during the week of April 22? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question regarding the winner and score during the week of April 22: ```sql SELECT winner_and_score FROM table_name_54 WHERE week = "April 22"; ```
12,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_54 (winner_and_score VARCHAR, week VARCHAR)\n\n Question: Who is the winner and score during the week of April 22?\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_76 (week VARCHAR, tournament VARCHAR) Question: What week was the tournament of paris? Here is the SQLite query to answer to the question: What week was the t...
Here is the SQLite query to answer the question about the week of the tournament of Paris: ``` SELECT week FROM table_name_76 WHERE tournament = "paris" ```
12,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_76 (week VARCHAR, tournament VARCHAR)\n\n Question: What week was the tournament of paris?\n\nHere is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (Champions INTEGER, league INTEGER) Question: What is the average Champions League assists for the players with League assists under 4? Here is the SQLite ...
Your SQLite query is almost correct, but it seems that you want to calculate the average of the "Champions" column where the "league" value is less than 4. Here's the query properly formatted: ```sql SELECT AVG(Champions) AS average_champions_assists FROM table_name_38 WHERE league < 4; ``` This query selects the ...
12,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_38 (Champions INTEGER, league INTEGER)\n\n Question: What is the average Champions League assists for the players with ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (Champions INTEGER, total VARCHAR, position VARCHAR) Question: What is the most Champions League assists for those with a total of 6 and position of Midfiel...
Your SQLite query is almost correct, but there is a small issue with the data types and values compared. Assuming `total` is stored as a string (VARCHAR) in the database, you need to ensure you compare against a string value. In this case, "6" (as a string) should be compared instead of 6 (as an integer). Also, the cas...
12,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_48 (Champions INTEGER, total VARCHAR, position VARCHAR)\n\n Question: What is the most Champions League assists for tho...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (fac___lc_g INTEGER, UEfa_yc VARCHAR, cl_g VARCHAR, total_apps VARCHAR) Question: What is the sum of the FAC/LC G with a CL G less than 2, less than 5 total...
Here is the SQLite query to answer the question considering the specified conditions: ``` SELECT SUM(fac___lc_g) FROM table_name_30 WHERE cl_g < 2 AND total_apps < 5 AND UEfa_yc > 0 ```
12,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_30 (fac___lc_g INTEGER, UEfa_yc VARCHAR, cl_g VARCHAR, total_apps VARCHAR)\n\n Question: What is the sum of the FAC/LC ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (fac___lc_apps INTEGER, fa_yc VARCHAR, fac___lc_g VARCHAR, cl_g VARCHAR, pl_apps VARCHAR) Question: What is the average FAC/LC apps with a CL G greater than...
Here is the SQLite query to answer the question: ``` SELECT AVG(fac___lc_apps) FROM table_name_46 WHERE cl_g > 0 AND pl_apps < 33 AND fac___lc_g = 0 AND fa_yc < 2; ```
12,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_46 (fac___lc_apps INTEGER, fa_yc VARCHAR, fac___lc_g VARCHAR, cl_g VARCHAR, pl_apps VARCHAR)\n\n Question: What is the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (fac___lc_apps INTEGER, pl_apps VARCHAR, UEfa_yc VARCHAR) Question: What is the sum of the FAC/LC apps with less than 25 PC apps and a UEFA YC less than 0? ...
Here is the corrected SQLite query to answer the question regarding the sum of FAC/LC apps with less than 25 PC apps and a UEFA YC less than 0: ```sql SELECT SUM(fac___lc_apps) FROM table_name_11 WHERE pl_apps < '25' AND UEfa_yc < '0'; ``` Note: If `pl_apps` and `UEfa_yc` are numerical fields, the comparison can b...
12,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_11 (fac___lc_apps INTEGER, pl_apps VARCHAR, UEfa_yc VARCHAR)\n\n Question: What is the sum of the FAC/LC apps with less...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (total_apps INTEGER, cl_apps VARCHAR, pl_g VARCHAR, player VARCHAR) Question: What is the sum of the total apps of player benayoun, who has a PL G greater t...
Your query is almost correct, but there's a slight issue with the condition for `cl_apps`. Since `cl_apps` is of type `VARCHAR`, you should convert it to an integer before comparing it to 9. Here's the revised query: ```sql SELECT SUM(total_apps) FROM table_name_28 WHERE pl_g > 0 AND player = "benayoun" AND CAST(c...
12,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_28 (total_apps INTEGER, cl_apps VARCHAR, pl_g VARCHAR, player VARCHAR)\n\n Question: What is the sum of the total apps ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR) Question: What is the total PL G of player pennant, who has less than 7 CL G, l...
Your query is almost correct, but there is a small mistake. You should sum the values of `pl_g`, not count the number of records. Additionally, ensure that the `pl_g` field is treated as a numeric value if necessary. Here’s the corrected query: ```sql SELECT SUM(pl_g) FROM table_name_74 WHERE cl_g < 7 AND cl_apps < 7 ...
12,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_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR)\n\n Question: What is the total PL G of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (tournament VARCHAR, opponents VARCHAR) Question: Which tournament had an opponent of petra krejsová tereza smitková? Here is the SQLite query to answer to...
Here is the SQLite query to answer the question regarding which tournament had an opponent of "petra krejsová tereza smitková": ``` SELECT tournament FROM table_name_59 WHERE opponents = "petra krejsová tereza smitková"; ```
12,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_59 (tournament VARCHAR, opponents VARCHAR)\n\n Question: Which tournament had an opponent of petra krejsová tereza smit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (outcome VARCHAR, opponents VARCHAR) Question: What was the outcome when darija jurak anaïs laurendon was the opponent? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question regarding the outcome when darija jurak anaïs laurendon was the opponent: ``` SELECT outcome FROM table_name_34 WHERE opponents = "darija jurak anaïs laurendon" ```
12,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_34 (outcome VARCHAR, opponents VARCHAR)\n\n Question: What was the outcome when darija jurak anaïs laurendon was the op...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (date VARCHAR, outcome VARCHAR, score VARCHAR) Question: When was the outcome runner-up with a score of 4–6, 3–6? Here is the SQLite query to answer to the...
Here is the SQLite query wrapped as you requested: ``` SELECT date FROM table_name_49 WHERE outcome = "runner-up" AND score = "4–6, 3–6" ```
12,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_49 (date VARCHAR, outcome VARCHAR, score VARCHAR)\n\n Question: When was the outcome runner-up with a score of 4–6, 3–6...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (game INTEGER, record VARCHAR) Question: What is the highest game with a 47-21-3 record? Here is the SQLite query to answer to the question: What is the hi...
Your SQLite query to find the highest game with a record of "47-21-3" is correct. Here it is wrapped properly in code format: ``` SELECT MAX(game) FROM table_name_77 WHERE record = "47-21-3"; ```
12,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_77 (game INTEGER, record VARCHAR)\n\n Question: What is the highest game with a 47-21-3 record?\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_91 (sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR) Question: what is the s.r. number when lb&sc number is 34? Here is the SQLite query to answer to the que...
It looks like there may be a misunderstanding in the question regarding the SQL syntax for checking the combined condition of `lb` and `sc_number`. To clarify, if you want to find the `sr_number` where the combination of the values from the `lb` and `sc_number` fields equals 34, you would first need to express how `lb`...
12,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_91 (sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR)\n\n Question: what is the s.r. number when lb&sc number is 34?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (withdrawal VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR) Question: what is the withdrawal when the lb&sc number is less than 16 and the s.r. n...
The SQLite query you provided has a logical issue when it comes to combining the `lb` and `sc_number` values. In SQL, the `&` operator is typically used for bitwise AND operations on integers, not for concatenating or combining strings. If `lb` and `sc_number` are string types, you would need to first convert them to i...
12,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_95 (withdrawal VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR)\n\n Question: what is the withdrawal when the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (built VARCHAR, withdrawal VARCHAR, notes VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR) Question: what is the built when s.r. number is less th...
```sql SELECT built FROM table_name_48 WHERE sr_number < 2033 AND (lb + sc_number) < 18 AND notes = 'i2' AND withdrawal = 'cannot handle non-empty timestamp argument! 1935'; ```
12,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_48 (built VARCHAR, withdrawal VARCHAR, notes VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR)\n\n Question: w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (wkts INTEGER, player VARCHAR, ovrs VARCHAR) Question: What is the average Wkts, when Player is Beau Casson, and when Ovrs is greater than 32? Here is the ...
Here is the SQLite query to answer the question: ``` SELECT AVG(wkts) FROM table_name_61 WHERE player = "Beau Casson" AND ovrs > 32 ```
12,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_61 (wkts INTEGER, player VARCHAR, ovrs VARCHAR)\n\n Question: What is the average Wkts, when Player is Beau Casson, and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (ovrs INTEGER, econ VARCHAR) Question: What is the highest Ovrs, when Econ is 2.02? Here is the SQLite query to answer to the question: What is the highest...
Here is the SQLite query to answer the question about the highest Ovrs when Econ is 2.02: ``` SELECT MAX(ovrs) FROM table_name_20 WHERE econ = '2.02'; ```
12,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_20 (ovrs INTEGER, econ VARCHAR)\n\n Question: What is the highest Ovrs, when Econ is 2.02?\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_68 (ovrs INTEGER, wkts VARCHAR, econ VARCHAR) Question: What is the lowest Ovrs, when Wkts is greater than 13, and when Econ is less than 3.21? Here is the SQ...
Here is the SQLite query to answer the question regarding the lowest Ovrs when Wkts is greater than 13 and Econ is less than 3.21: ``` SELECT MIN(ovrs) FROM table_name_68 WHERE wkts > 13 AND econ < 3.21 ```
12,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_68 (ovrs INTEGER, wkts VARCHAR, econ VARCHAR)\n\n Question: What is the lowest Ovrs, when Wkts is greater than 13, and ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent with the record of 4-0-0? Here is the SQLite query to answer to the question: Who was the...
Here is the SQLite query to answer the question: ``` SELECT opponent FROM table_name_46 WHERE record = "4-0-0"; ```
12,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_46 (opponent VARCHAR, record VARCHAR)\n\n Question: Who was the opponent with the record of 4-0-0?\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_42 (score VARCHAR, decision VARCHAR, october VARCHAR) Question: What was the score of the game on October 20 with a decision of Lundqvist? Here is the SQLite ...
Here is the SQLite query to answer the question about the score of the game on October 20 with a decision of Lundqvist: ``` SELECT score FROM table_name_42 WHERE decision = "Lundqvist" AND october = "20"; ```
12,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_42 (score VARCHAR, decision VARCHAR, october VARCHAR)\n\n Question: What was the score of the game on October 20 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_49 (game INTEGER, opponent VARCHAR) Question: What game is the first with the Pittsburgh Penguins the opponent? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about the first game with the Pittsburgh Penguins as the opponent: ``` SELECT MIN(game) FROM table_name_49 WHERE opponent = "Pittsburgh Penguins" ```
12,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_49 (game INTEGER, opponent VARCHAR)\n\n Question: What game is the first with the Pittsburgh Penguins the opponent?\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_14 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR) Question: What is the average gold medals of the nation with 2 total medals, more than 1 bronz...
The SQLite query you provided is mostly correct, but there are a couple of adjustments needed for the conditions on the `silver` and `bronze` columns. Since `bronze` and `silver` are defined as `VARCHAR`, we should use the proper string comparison for the values. Here’s the corrected query: ```sql SELECT AVG(gold) FR...
12,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_14 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR)\n\n Question: What is the average gold medals of the n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (total INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the highest total medals of russia, which has more than 1 silver and more ...
Here is the corrected SQLite query to answer your question: ```sql SELECT MAX(total) FROM table_name_83 WHERE silver > "1" AND nation = "russia" AND bronze > "6"; ``` Please note that since the columns `silver` and `bronze` are defined as `VARCHAR`, you should compare them as strings, which is why the values `1` an...
12,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_83 (total INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR)\n\n Question: What is the highest total medals of ru...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (gold VARCHAR, bronze VARCHAR, total VARCHAR) Question: What is the total number of gold medals of the nation with 1 bronze and less than 1 total medal? He...
It looks like you are trying to get the count of gold medals for a specific condition in your SQLite database. However, please note that `COUNT(gold)` will count the number of non-null instances of gold medals, and varchar comparisons might not work as expected for numeric values. If you need to count the number of g...
12,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_49 (gold VARCHAR, bronze VARCHAR, total VARCHAR)\n\n Question: What is the total number of gold medals of the nation wi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (silver VARCHAR, total INTEGER) Question: What is the total number of silver medals of the nation with more than 16 total medals? Here is the SQLite query ...
Your SQL query is almost correct, but it counts the number of non-null values in the `silver` column rather than summing the total number of silver medals. To get the total number of silver medals for nations with more than 16 total medals, you would need to use `SUM` instead of `COUNT`. Here's the corrected query: ``...
12,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_40 (silver VARCHAR, total INTEGER)\n\n Question: What is the total number of silver medals of the nation with more than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (total INTEGER, bronze VARCHAR, silver VARCHAR) Question: What is the average total medals of the nation with 4 bronze and more than 1 silver medals? Here ...
The SQLite query you provided has a minor issue with the comparison of the `bronze` column. Since `bronze` is defined as a VARCHAR, you should compare it as a string instead of as an integer. Here’s the corrected SQL query: ```sql SELECT AVG(total) FROM table_name_94 WHERE bronze = '4' AND silver > '1' ``` This quer...
12,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_94 (total INTEGER, bronze VARCHAR, silver VARCHAR)\n\n Question: What is the average total medals of the nation with 4 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (gold VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the total number of gold medals of slovakia, which has less than 1 silver medal? Here is t...
The provided query has a small logical mistake since the `silver` column is VARCHAR, and you're trying to compare it to an integer (1). Instead, you'll need to convert the silver medal count to a number to perform the comparison correctly. Here’s the correct SQLite query: ```sql SELECT SUM(CASE WHEN nation = 'slovak...
12,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_61 (gold VARCHAR, silver VARCHAR, nation VARCHAR)\n\n Question: What is the total number of gold medals of slovakia, wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (score VARCHAR, country VARCHAR) Question: What was the score when the match was in the country of Scotland? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question: What was the score when the match was in the country of Scotland?: ``` SELECT score FROM table_name_58 WHERE country = 'Scotland'; ```
12,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_58 (score VARCHAR, country VARCHAR)\n\n Question: What was the score when the match was in the country of Scotland?\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_27 (player VARCHAR, to_par VARCHAR) Question: What is the name of the player that has a To par of –1? Here is the SQLite query to answer to the question: What...
```sql SELECT player FROM table_name_27 WHERE to_par = '-1'; ```
12,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_27 (player VARCHAR, to_par VARCHAR)\n\n Question: What is the name of the player that has a To par of –1?\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_20 (country VARCHAR, player VARCHAR) Question: What country was the game in when the player was Craig Stadler? Here is the SQLite query to answer to the quest...
Here's the SQLite query to answer the question regarding the country where the game was held when the player was Craig Stadler: ``` SELECT country FROM table_name_20 WHERE player = "Craig Stadler"; ```
12,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_20 (country VARCHAR, player VARCHAR)\n\n Question: What country was the game in when the player was Craig Stadler?\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_10 (player VARCHAR, score VARCHAR) Question: What is the name of the player when the Score was 72-73-67-72=284? Here is the SQLite query to answer to the ques...
The query you provided is not correctly formatted for the desired SQL syntax and does not correctly compute the score. The correct SQL expression should compare the score properly to the calculated total. Since the score is represented as a VARCHAR, we need to ensure we are comparing the total score in the right format...
12,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_10 (player VARCHAR, score VARCHAR)\n\n Question: What is the name of the player when the Score was 72-73-67-72=284?\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_22 (height__m_ INTEGER, height__ft_ INTEGER) Question: What is the total height in meters for the building that has a less than 380.6 feet height? Here is the...
Here is the SQLite query to answer the question regarding the total height in meters for buildings that have a height of less than 380.6 feet: ```sql SELECT SUM(height__m_) FROM table_name_22 WHERE height__ft_ < 380.6; ```
12,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_22 (height__m_ INTEGER, height__ft_ INTEGER)\n\n Question: What is the total height in meters for the building that has...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (floors INTEGER, height__m_ VARCHAR) Question: What are the fewest floors for the building that has a height of 116 meters? Here is the SQLite query to ans...
The SQLite query you provided has a small issue regarding the comparison with the height value, which is stored as a VARCHAR. Since the height is a string, you should use quotes around the height value in the WHERE clause. Here is the corrected query: ``` SELECT MIN(floors) FROM table_name_42 WHERE height__m_ = '116';...
12,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_42 (floors INTEGER, height__m_ VARCHAR)\n\n Question: What are the fewest floors for the building that has a height of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR) Question: What was the Attendance in Week 2? Here is the SQLite query to answer to the question: What was the Attendance...
Here is the SQLite query to answer the question about Attendance in Week 2: ``` SELECT attendance FROM table_name_25 WHERE week = '2'; ``` Note: The week is stored as a VARCHAR, so it should be enclosed in quotes.
12,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_25 (attendance VARCHAR, week VARCHAR)\n\n Question: What was the Attendance in Week 2?\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_65 (attendance VARCHAR, date VARCHAR) Question: What was the Attendance on November 6, 1960? Here is the SQLite query to answer to the question: What was the ...
Here is the SQLite query to answer the question about attendance on November 6, 1960: ```sql SELECT attendance FROM table_name_65 WHERE date = "November 6, 1960"; ```
12,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_65 (attendance VARCHAR, date VARCHAR)\n\n Question: What was the Attendance on November 6, 1960?\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_33 (attendance VARCHAR, result VARCHAR) Question: What was the Attendance when the Result was L 31–23? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question regarding attendance when the result was "L 31–23": ``` SELECT attendance FROM table_name_33 WHERE result = "L 31–23"; ```
12,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_33 (attendance VARCHAR, result VARCHAR)\n\n Question: What was the Attendance when the Result was L 31–23?\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_15 (opponent VARCHAR, week VARCHAR) Question: What was the Opponent in Week 9? Here is the SQLite query to answer to the question: What was the Opponent in We...
Here is the SQLite query to answer the question: What was the Opponent in Week 9?: ``` SELECT opponent FROM table_name_15 WHERE week = '9' ```
12,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_15 (opponent VARCHAR, week VARCHAR)\n\n Question: What was the Opponent in Week 9?\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_94 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) Question: What was the Opponent before Week 11 with an Attendance of 63,571? Here is the SQLite query ...
Here is the SQLite query to answer the question about the opponent before week 11 with an attendance of 63,571: ``` SELECT opponent FROM table_name_94 WHERE week < '11' AND attendance = '63,571'; ```
12,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_94 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)\n\n Question: What was the Opponent before Week 11 with an Atte...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (position VARCHAR, school_club_team VARCHAR) Question: What is Michigan State's position? Here is the SQLite query to answer to the question: What is Michi...
Here is the SQLite query to answer the question: What is Michigan State's position?: ``` SELECT position FROM table_name_59 WHERE school_club_team = "Michigan State"; ```
12,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_59 (position VARCHAR, school_club_team VARCHAR)\n\n Question: What is Michigan State's position?\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_62 (nationality VARCHAR, years_in_new_jersey VARCHAR) Question: What is the nationality of the play for New Jersey from 2007-2009? Here is the SQLite query to...
Your provided SQLite query appears to be looking for a specific range of years in the `years_in_new_jersey` column. However, based on the schema you provided, `years_in_new_jersey` is defined as a `VARCHAR`, which may not be suitable for range queries directly. If the `years_in_new_jersey` column contains values forma...
12,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_62 (nationality VARCHAR, years_in_new_jersey VARCHAR)\n\n Question: What is the nationality of the play for New Jersey ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (attendance VARCHAR, opponent VARCHAR) Question: What was the attendance when they played the New Orleans Saints? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question about attendance when they played the New Orleans Saints: ``` SELECT attendance FROM table_name_93 WHERE opponent = "New Orleans Saints"; ```
12,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_93 (attendance VARCHAR, opponent VARCHAR)\n\n Question: What was the attendance when they played the New Orleans Saints...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (outgoing_manager VARCHAR, team VARCHAR) Question: Who was the outgoing manager of the Heart of Midlothian? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question about the outgoing manager of the Heart of Midlothian: ```sql SELECT outgoing_manager FROM table_name_55 WHERE team = "Heart of Midlothian"; ```
12,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_55 (outgoing_manager VARCHAR, team VARCHAR)\n\n Question: Who was the outgoing manager of the Heart of Midlothian?\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_75 (date_of_vacancy VARCHAR, team VARCHAR) Question: What is the vacancy date of Dundee? Here is the SQLite query to answer to the question: What is the vacan...
Here is the SQLite query to answer the question regarding the vacancy date of Dundee: ``` SELECT date_of_vacancy FROM table_name_75 WHERE team = "Dundee" ```
12,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_75 (date_of_vacancy VARCHAR, team VARCHAR)\n\n Question: What is the vacancy date of Dundee?\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_92 (outgoing_manager VARCHAR, replaced_by VARCHAR) Question: Who was the outgoing manager that was replaced by Tony Mowbray? Here is the SQLite query to answe...
Here is the SQLite query to answer the question: Who was the outgoing manager that was replaced by Tony Mowbray?: ``` SELECT outgoing_manager FROM table_name_92 WHERE replaced_by = "Tony Mowbray" ```
12,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_92 (outgoing_manager VARCHAR, replaced_by VARCHAR)\n\n Question: Who was the outgoing manager that was replaced by Tony...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (date_of_appointment VARCHAR, team VARCHAR) Question: What date was Dundee appointed? Here is the SQLite query to answer to the question: What date was Dun...
Here is the SQLite query to answer the question: What date was Dundee appointed?: ``` SELECT date_of_appointment FROM table_name_96 WHERE team = "dundee" ```
12,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_96 (date_of_appointment VARCHAR, team VARCHAR)\n\n Question: What date was Dundee appointed?\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_71 (race_1 VARCHAR, team VARCHAR, race_3 VARCHAR) Question: What is Race 1, when Team is "Dick Johnson Racing", and when Race 3 is "DNF"? Here is the SQLite q...
Here is the SQLite query formatted as you requested: ``` SELECT race_1 FROM table_name_71 WHERE team = "Dick Johnson Racing" AND race_3 = "DNF"; ```
12,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_71 (race_1 VARCHAR, team VARCHAR, race_3 VARCHAR)\n\n Question: What is Race 1, when Team is \"Dick Johnson Racing\", a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (race_2 VARCHAR, race_1 VARCHAR) Question: What is Race 2, when Race 1 is "18"? Here is the SQLite query to answer to the question: What is Race 2, when Ra...
Here is the SQLite query to answer the question of what Race 2 is when Race 1 is "18": ``` SELECT race_2 FROM table_name_42 WHERE race_1 = "18" ```
12,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_42 (race_2 VARCHAR, race_1 VARCHAR)\n\n Question: What is Race 2, when Race 1 is \"18\"?\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_41 (team VARCHAR, race_2 VARCHAR) Question: What is Team, when Race 2 is "5"? Here is the SQLite query to answer to the question: What is Team, when Race 2 is...
Here is the SQLite query to answer the question "What is Team, when Race 2 is '5'?": ``` SELECT team FROM table_name_41 WHERE race_2 = "5"; ```
12,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_41 (team VARCHAR, race_2 VARCHAR)\n\n Question: What is Team, when Race 2 is \"5\"?\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_12 (driver VARCHAR, race_3 VARCHAR) Question: What is Driver, when Race 2 is "10"? Here is the SQLite query to answer to the question: What is Driver, when Ra...
The SQLite query provided in your question is almost correct, but it seems that the reference to "Race 2" might be misleading, as the column in the schema is named "race_3". If you meant to search for "race_3" being "10", then your query is correct. Here’s the corrected SQL query wrapped in code formatting: ``` SELE...
12,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_12 (driver VARCHAR, race_3 VARCHAR)\n\n Question: What is Driver, when Race 2 is \"10\"?\n\nHere is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (race_2 VARCHAR, driver VARCHAR) Question: What is Race 2, when Driver is "Paul Radisich"? Here is the SQLite query to answer to the question: What is Race ...
Here is the SQLite query to answer the question about what Race 2 is when the Driver is "Paul Radisich": ``` SELECT race_2 FROM table_name_5 WHERE driver = "Paul Radisich"; ```
12,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_5 (race_2 VARCHAR, driver VARCHAR)\n\n Question: What is Race 2, when Driver is \"Paul Radisich\"?\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_88 (driver VARCHAR, team VARCHAR) Question: What is Driver, when Team is "Romano Racing"? Here is the SQLite query to answer to the question: What is Driver, ...
Here is the SQLite query to answer the question: ``` SELECT driver FROM table_name_88 WHERE team = "Romano Racing"; ```
12,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_88 (driver VARCHAR, team VARCHAR)\n\n Question: What is Driver, when Team is \"Romano Racing\"?\n\nHere is the SQLite q...