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_66 (date VARCHAR, partner VARCHAR) Question: Which Date has a Partner of daniella dominikovic? Here is the SQLite query to answer to the question: Which Date ...
```sql SELECT date FROM table_name_66 WHERE partner = "daniella dominikovic"; ```
48,300
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (date VARCHAR, partner VARCHAR)\n\n Question: Which Date has a Partner of daniella dominikovic?\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_5 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR) Question: Nationality of england, and a Matches smaller than 510...
Your SQLite query is almost correct, but there is a small detail to address regarding the comparison of the `win__percentage`, which is stored as a `VARCHAR`. Since it's stored as text, you need to ensure that the comparison is made correctly. A better way to handle this may be to convert the string to a real number. ...
48,301
[ { "from": "human", "value": " 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 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR)\n\n Question: Nationalit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (lost INTEGER, win__percentage VARCHAR, matches VARCHAR) Question: Win % larger than 47.1, and a Matches smaller than 145 had what lowest lost? Here is the...
Your query is almost correct, but there's a small adjustment needed to ensure the `win__percentage` is treated as a numeric value for comparison. Since `win__percentage` is defined as a `VARCHAR`, it should be cast to a numeric type. Here's the corrected query: ``` SELECT MIN(lost) FROM table_name_47 WHERE CAST(win_...
48,302
[ { "from": "human", "value": " 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 (lost INTEGER, win__percentage VARCHAR, matches VARCHAR)\n\n Question: Win % larger than 47.1, and a Matches smaller...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (lost INTEGER, matches VARCHAR, win__percentage VARCHAR) Question: Matches of 15, and a Win % smaller than 20 had what highest lost? Here is the SQLite que...
Here is the SQLite query to answer the question about the highest lost for matches of 15 and a win percentage smaller than 20: ``` SELECT MAX(lost) FROM table_name_83 WHERE matches = 15 AND win__percentage < 20 ```
48,303
[ { "from": "human", "value": " 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 (lost INTEGER, matches VARCHAR, win__percentage VARCHAR)\n\n Question: Matches of 15, and a Win % smaller than 20 ha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR) Question: Nationality of england, and a Lost larger than 39, and...
Here is the SQLite query wrapped as per your request: ``` SELECT SUM(matches) FROM table_name_1 WHERE nationality = "england" AND lost > 39 AND win__percentage = "28.7" AND drawn < 37; ```
48,304
[ { "from": "human", "value": " 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 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR)\n\n Question: Nationalit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (matches VARCHAR, win__percentage VARCHAR, drawn VARCHAR, lost VARCHAR) Question: Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than...
Your query looks correct, but there is a small issue with the `win__percentage` field, as it is defined as VARCHAR (a string type) rather than a numeric type. To properly compare string values numerically, you may need to convert the `win__percentage` column to a number. Here’s how you can write the query with type con...
48,305
[ { "from": "human", "value": " 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 (matches VARCHAR, win__percentage VARCHAR, drawn VARCHAR, lost VARCHAR)\n\n Question: Drawn smaller than 24, and a Lo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (win__percentage INTEGER, lost VARCHAR) Question: Lost of 18 had what sum of win %? Here is the SQLite query to answer to the question: Lost of 18 had what...
The query you've provided is mostly correct, but it has a small issue regarding the data type for the `lost` column. Since `lost` is defined as a `VARCHAR`, you should compare it as a string. Here's the corrected query: ```sql SELECT SUM(win__percentage) FROM table_name_52 WHERE lost = '18'; ``` This ensures that yo...
48,306
[ { "from": "human", "value": " 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 (win__percentage INTEGER, lost VARCHAR)\n\n Question: Lost of 18 had what sum of win %?\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_20 (date VARCHAR, record VARCHAR) Question: When was the score 5-31? Here is the SQLite query to answer to the question: When was the score 5-31?: ``` SELECT ...
Here is the SQLite query to answer the question: When was the score 5-31?: ``` SELECT date FROM table_name_20 WHERE record = "5-31"; ```
48,307
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR)\n\n Question: When was the score 5-31?\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_49 (team__number1 VARCHAR) Question: What is the second leg that has kk bosna? Here is the SQLite query to answer to the question: What is the second leg that...
Here is the SQLite query that answers the question about the second leg that has "kk bosna": ```sql SELECT 2 AS nd_leg FROM table_name_49 WHERE team__number1 = "kk bosna" ```
48,308
[ { "from": "human", "value": " 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 (team__number1 VARCHAR)\n\n Question: What is the second leg that has kk bosna?\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_75 (team__number1 VARCHAR) Question: What is the 1st leg that has hapoel jerusalem? Here is the SQLite query to answer to the question: What is the 1st leg t...
Your SQLite query is almost correct, but it seems you are looking for a specific "leg" related to "hapoel jerusalem." However, based on the schema you've provided, there is only the team name and no specific column relating to legs or matches. If you are looking for the first occurrence of "hapoel jerusalem," you might...
48,309
[ { "from": "human", "value": " 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 (team__number1 VARCHAR)\n\n Question: What is the 1st leg that has hapoel jerusalem?\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_12 (team__number1 VARCHAR) Question: Which 1st leg that has hemofarm? Here is the SQLite query to answer to the question: Which 1st leg that has hemofarm?: ``...
Here is the SQLite query to answer the question: Which 1st leg that has hemofarm?: ``` SELECT 1 AS st_leg FROM table_name_12 WHERE team__number1 = "hemofarm" ```
48,310
[ { "from": "human", "value": " 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 (team__number1 VARCHAR)\n\n Question: Which 1st leg that has hemofarm?\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_6 (name VARCHAR, avg_g VARCHAR) Question: Who averaged 201.3 yards passing per game? Here is the SQLite query to answer to the question: Who averaged 201.3 ya...
Here is the SQLite query to answer the question: Who averaged 201.3 yards passing per game?: ``` SELECT name FROM table_name_6 WHERE avg_g = '201.3'; ```
48,311
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (name VARCHAR, avg_g VARCHAR)\n\n Question: Who averaged 201.3 yards passing per game?\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_88 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR) Question: How many players had an Att-Cmp-Int of 143–269–16, and an efficiency of less than 116.9? Here...
Here is the SQLite query to answer the question regarding the number of players with the specified conditions: ``` SELECT COUNT(avg_g) FROM table_name_88 WHERE att_cmp_int = '143–269–16' AND effic < '116.9'; ``` Make sure to use single quotes for string literals in SQLite.
48,312
[ { "from": "human", "value": " 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 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)\n\n Question: How many players had an Att-Cmp-Int of 143–269–16,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (att_cmp_int VARCHAR, effic VARCHAR) Question: What is the Att-Cmp-Int for the player with a efficiency of 117.4? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question about the Att-Cmp-Int for the player with an efficiency of 117.4: ```sql SELECT att_cmp_int FROM table_name_72 WHERE effic = '117.4'; ```
48,313
[ { "from": "human", "value": " 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 (att_cmp_int VARCHAR, effic VARCHAR)\n\n Question: What is the Att-Cmp-Int for the player with a efficiency of 117.4...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (legs_lost VARCHAR, high_checkout VARCHAR, played VARCHAR) Question: What is the total number of legs lost of the player with a high checkout less than 76 an...
Your query is almost correct, but to calculate the total number of legs lost for the specified conditions, you should sum the `legs_lost` instead of using `COUNT()`. However, since `legs_lost` is a VARCHAR type, you will first need to cast it to an integer for summation. Here is the corrected SQLite query: ``` SELEC...
48,314
[ { "from": "human", "value": " 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 (legs_lost VARCHAR, high_checkout VARCHAR, played VARCHAR)\n\n Question: What is the total number of legs lost of the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (ch_1 VARCHAR, region_served VARCHAR) Question: What is the Ch1 in the region served by Central Tablelands? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question about the Ch1 in the region served by Central Tablelands: ``` SELECT ch_1 FROM table_name_73 WHERE region_served = "Central Tablelands"; ```
48,315
[ { "from": "human", "value": " 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 (ch_1 VARCHAR, region_served VARCHAR)\n\n Question: What is the Ch1 in the region served by Central Tablelands?\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_62 (transmitter_location VARCHAR, digital_power VARCHAR) Question: What transmitter location has digital power of 570kw? Here is the SQLite query to answer to...
Here is the SQLite query to answer the question about the transmitter location with a digital power of 570kw: ``` SELECT transmitter_location FROM table_name_62 WHERE digital_power = "570kw"; ```
48,316
[ { "from": "human", "value": " 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 (transmitter_location VARCHAR, digital_power VARCHAR)\n\n Question: What transmitter location has digital power of 5...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (year VARCHAR, points VARCHAR, rank VARCHAR, team VARCHAR, wins VARCHAR) Question: What year did team Yamaha have 0 wins, a rank of 8th, and more than 22 po...
The provided SQL query seems to contain an error in terms of using `COUNT(year)` when the requirement is to find the specific year instead of counting entries. You would typically want to select the year directly. Here is the corrected version of the query: ```sql SELECT year FROM table_name_96 WHERE team = "Yamaha" ...
48,317
[ { "from": "human", "value": " 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 (year VARCHAR, points VARCHAR, rank VARCHAR, team VARCHAR, wins VARCHAR)\n\n Question: What year did team Yamaha hav...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (round VARCHAR, opponent VARCHAR) Question: Name the total number of rounds for gina carano Here is the SQLite query to answer to the question: Name the tot...
Your provided SQLite query is almost correct, but it counts the rounds where "gina carano" is the opponent. If you want to count the total rounds for "gina carano" regardless of whether she is the opponent or not, you may want to update the query to reflect that. Assuming she could also be the one in the `round` column...
48,318
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (round VARCHAR, opponent VARCHAR)\n\n Question: Name the total number of rounds for gina carano\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_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR) Question: What is the difference related to 2 losses and fewer than 10 points? Here is the SQLite...
Here is the SQLite query that answers the question regarding the difference related to 2 losses and fewer than 10 points: ``` SELECT points_difference FROM table_name_51 WHERE lost = '2' AND CAST(points AS INTEGER) < 10 ``` In this query, I have used `CAST` to convert the `points` column to an integer, as it is defi...
48,319
[ { "from": "human", "value": " 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 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)\n\n Question: What is the difference related to 2 losses a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (site VARCHAR, opponent VARCHAR) Question: Where did the game(s) against Iowa take place? Here is the SQLite query to answer to the question: Where did the...
Here is the SQLite query to answer the question "Where did the game(s) against Iowa take place?": ``` SELECT site FROM table_name_94 WHERE opponent = "Iowa" ```
48,320
[ { "from": "human", "value": " 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 (site VARCHAR, opponent VARCHAR)\n\n Question: Where did the game(s) against Iowa take place?\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_35 (outcome VARCHAR, surface VARCHAR) Question: What is the Outcome of the Doubles played on Carpet? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question regarding the Outcome of the Doubles played on Carpet: ``` SELECT outcome FROM table_name_35 WHERE surface = 'carpet'; ```
48,321
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (outcome VARCHAR, surface VARCHAR)\n\n Question: What is the Outcome of the Doubles played on Carpet?\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_26 (surface VARCHAR, partner VARCHAR) Question: What was the Surface during the match with Partner Debbie Graham? Here is the SQLite query to answer to the qu...
Your SQLite query is correctly structured to retrieve the surface during the match with the partner "Debbie Graham". Here it is wrapped in code formatting: ``` SELECT surface FROM table_name_26 WHERE partner = "Debbie Graham"; ``` Make sure to match the case of "Debbie Graham" as it appears in your database entries.
48,322
[ { "from": "human", "value": " 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 (surface VARCHAR, partner VARCHAR)\n\n Question: What was the Surface during the match with Partner Debbie Graham?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (partner VARCHAR, date VARCHAR) Question: What was the Partner on February 23, 1997? Here is the SQLite query to answer to the question: What was the Partn...
Here is the SQLite query to answer the question about the partner on February 23, 1997: ```sql SELECT partner FROM table_name_91 WHERE date = 'February 23, 1997'; ```
48,323
[ { "from": "human", "value": " 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 (partner VARCHAR, date VARCHAR)\n\n Question: What was the Partner on February 23, 1997?\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 (tournament VARCHAR, surface VARCHAR, date VARCHAR) Question: What was the Tournament on May 24, 1992 played on a Clay Surface? Here is the SQLite query to...
Here is the SQLite query to answer the question regarding the tournament played on May 24, 1992, on a Clay surface: ``` SELECT tournament FROM table_name_64 WHERE surface = "clay" AND date = "may 24, 1992"; ```
48,324
[ { "from": "human", "value": " 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 (tournament VARCHAR, surface VARCHAR, date VARCHAR)\n\n Question: What was the Tournament on May 24, 1992 played on ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR) Question: What was the Surface in the match with a Score of 7–5, 6–7, 4–6? Here is the SQLite query to answer to the quest...
Here is the SQLite query to get the Surface for the match with the specified Score: ``` SELECT surface FROM table_name_40 WHERE score = "7–5, 6–7, 4–6" ```
48,325
[ { "from": "human", "value": " 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 (surface VARCHAR, score VARCHAR)\n\n Question: What was the Surface in the match with a Score of 7–5, 6–7, 4–6?\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_50 (frequency_mhz VARCHAR, erp_w VARCHAR, city_of_license VARCHAR) Question: What is the frequency MHz in tremonton, utah with a ERP W larger than 30? Here is...
Here is the SQLite query wrapped in code as you requested: ``` SELECT frequency_mhz FROM table_name_50 WHERE erp_w > 30 AND city_of_license = "tremonton, utah" ```
48,326
[ { "from": "human", "value": " 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 (frequency_mhz VARCHAR, erp_w VARCHAR, city_of_license VARCHAR)\n\n Question: What is the frequency MHz in tremonton...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (erp_w INTEGER, call_sign VARCHAR) Question: What is k275av call sign's highest erp w? Here is the SQLite query to answer to the question: What is k275av c...
Your query to find the highest ERP (Effective Radiated Power) for the call sign "k275av" is correct. Here it is wrapped in code block formatting: ``` SELECT MAX(erp_w) FROM table_name_59 WHERE call_sign = "k275av"; ```
48,327
[ { "from": "human", "value": " 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 (erp_w INTEGER, call_sign VARCHAR)\n\n Question: What is k275av call sign's highest erp w?\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_96 (year VARCHAR, playoffs VARCHAR) Question: Name the year for american conference semifinals Here is the SQLite query to answer to the question: Name the ye...
Here is the SQLite query to answer the question: Name the year for american conference semifinals: ``` SELECT year FROM table_name_96 WHERE playoffs = "american conference semifinals" ```
48,328
[ { "from": "human", "value": " 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 (year VARCHAR, playoffs VARCHAR)\n\n Question: Name the year for american conference semifinals\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_35 (year VARCHAR, playoffs VARCHAR) Question: Name the total number of years for quarterfinals Here is the SQLite query to answer to the question: Name the to...
Your provided SQLite query is correct for counting the total number of years corresponding to "quarterfinals" in the `playoffs` column. Here it is wrapped as requested: ``` SELECT COUNT(year) FROM table_name_35 WHERE playoffs = "quarterfinals"; ```
48,329
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (year VARCHAR, playoffs VARCHAR)\n\n Question: Name the total number of years for quarterfinals\n\nHere is the SQLit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (runner_up VARCHAR, season INTEGER) Question: Who is the Runner-up that has a Season less than 2005? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about the Runner-up that has a Season less than 2005: ``` SELECT runner_up FROM table_name_54 WHERE season < 2005; ```
48,330
[ { "from": "human", "value": " 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 (runner_up VARCHAR, season INTEGER)\n\n Question: Who is the Runner-up that has a Season less than 2005?\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_52 (season INTEGER, score VARCHAR) Question: Which Seasonhas a Score of 3 – 3 aet , 4–3 pen? Here is the SQLite query to answer to the question: Which Seasonh...
Here is the SQLite query to answer the question regarding which season has a score of "3 – 3 aet, 4–3 pen": ``` SELECT MAX(season) FROM table_name_52 WHERE score = "3 – 3 aet , 4–3 pen"; ```
48,331
[ { "from": "human", "value": " 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 (season INTEGER, score VARCHAR)\n\n Question: Which Seasonhas a Score of 3 – 3 aet , 4–3 pen?\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_31 (season VARCHAR, score VARCHAR) Question: Which Season has a Score of 3 – 3 aet , 4–3 pen Here is the SQLite query to answer to the question: Which Season ...
Here is the SQLite query to answer the question about which season has a score of "3 – 3 aet , 4–3 pen": ``` SELECT season FROM table_name_31 WHERE score = "3 – 3 aet , 4–3 pen"; ```
48,332
[ { "from": "human", "value": " 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 (season VARCHAR, score VARCHAR)\n\n Question: Which Season has a Score of 3 – 3 aet , 4–3 pen\n\nHere is the SQLite ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (round VARCHAR, overall VARCHAR) Question: How many rounds had an overall of 211? Here is the SQLite query to answer to the question: How many rounds had a...
Your SQLite query is almost correct, but since the column `overall` is declared as `VARCHAR`, the value `211` should be enclosed in quotes to denote it as a string. Here is the corrected query: ``` SELECT COUNT(round) FROM table_name_24 WHERE overall = '211' ``` This will count the number of rounds where the overall...
48,333
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (round VARCHAR, overall VARCHAR)\n\n Question: How many rounds had an overall of 211?\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_60 (pick__number INTEGER, position VARCHAR, overall VARCHAR) Question: What is the mean pick number for the cornerback position when the overall is less than 1...
Here is the SQLite query to answer the question about the mean pick number for the cornerback position when the overall is less than 134: ``` SELECT AVG(pick__number) FROM table_name_60 WHERE position = "cornerback" AND overall < 134 ```
48,334
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (pick__number INTEGER, position VARCHAR, overall VARCHAR)\n\n Question: What is the mean pick number for the cornerb...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (county VARCHAR) Question: Which 1956 has a County of vâlcea, and a 2011 smaller than 371714? Here is the SQLite query to answer to the question: Which 195...
It looks like you're trying to write a query that filters based on certain conditions related to the values from the years 1956 and 2011, assuming those years represent some columns in your table; however, there seems to be a misconception in the schema provided since the schema only defines a single column `county`. ...
48,335
[ { "from": "human", "value": " 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 (county VARCHAR)\n\n Question: Which 1956 has a County of vâlcea, and a 2011 smaller than 371714?\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_81 (Id VARCHAR) Question: Which 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103, and a 1992 larger than 266308? Here is the...
The SQLite query you provided is correctly structured to find the lowest 2011 value from the specified criteria in the `table_name_81`. However, please note that the query must properly focus on the columns that contain the year data, which is implicit in your original request. Assuming that the table contains approp...
48,336
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (Id VARCHAR)\n\n Question: Which 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (Id VARCHAR) Question: Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a...
Here is the corrected SQLite query wrapped as per your request: ``` SELECT MIN(1992) FROM table_name_12 WHERE 1977 < 385577 AND 2011 > 340310 AND 2002 > 300123 AND 1948 > 280524; ``` Please ensure that the appropriate context for columns 1992, 1977, 2011, 2002, and 1948 is considered, as these should represent valid...
48,337
[ { "from": "human", "value": " 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 (Id VARCHAR)\n\n Question: Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (county VARCHAR) Question: Which 1977 is the lowest one that has a County of zzz bucharest, and a 2011 smaller than 1883425? Here is the SQLite query to an...
Here is the corrected SQLite query to answer your question: ```sql SELECT MIN("1977") FROM table_name_23 WHERE county = "zzz bucharest" AND "2011" < 1883425; ``` Make sure that the column names (1977 and 2011) are correctly referenced in the quotes as they may not be valid identifiers without quotes in SQL syntax.
48,338
[ { "from": "human", "value": " 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 (county VARCHAR)\n\n Question: Which 1977 is the lowest one that has a County of zzz bucharest, and a 2011 smaller t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (game_site VARCHAR, attendance VARCHAR) Question: What is the site of the game that had an attendance of 54,040? Here is the SQLite query to answer to the ...
Here is the SQLite query to answer the question about the site of the game that had an attendance of 54,040: ``` SELECT game_site FROM table_name_23 WHERE attendance = "54,040" ```
48,339
[ { "from": "human", "value": " 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 (game_site VARCHAR, attendance VARCHAR)\n\n Question: What is the site of the game that had an attendance of 54,040?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (attendance VARCHAR, opponent VARCHAR) Question: What is the attendance of the game against the houston oilers? Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question regarding the attendance of the game against the Houston Oilers: ``` SELECT attendance FROM table_name_6 WHERE opponent = "houston oilers" ```
48,340
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (attendance VARCHAR, opponent VARCHAR)\n\n Question: What is the attendance of the game against the houston oilers?\n...
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, week VARCHAR) Question: What was the date of the game on week 7? Here is the SQLite query to answer to the question: What was the date of th...
Here is the SQLite query to answer the question about the date of the game on week 7: ``` SELECT date FROM table_name_49 WHERE week = '7' ```
48,341
[ { "from": "human", "value": " 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, week VARCHAR)\n\n Question: What was the date of the game on week 7?\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_53 (attendance VARCHAR, game_site VARCHAR) Question: How many fans attended the game at Bye? Here is the SQLite query to answer to the question: How many fans...
To answer the question "How many fans attended the game at Bye?", you need to count the attendance for the specified game site. Here's the corrected SQLite query: ``` SELECT COUNT(attendance) AS number_of_fans FROM table_name_53 WHERE game_site = "Bye"; ``` This query counts the number of entries in the `attendance`...
48,342
[ { "from": "human", "value": " 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 (attendance VARCHAR, game_site VARCHAR)\n\n Question: How many fans attended the game at Bye?\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_12 (winner VARCHAR, location VARCHAR) Question: Which winner had a location of Iowa? Here is the SQLite query to answer to the question: Which winner had a lo...
Here is the SQLite query to answer the question about which winner had a location of Iowa: ``` SELECT winner FROM table_name_12 WHERE location = "Iowa"; ```
48,343
[ { "from": "human", "value": " 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 (winner VARCHAR, location VARCHAR)\n\n Question: Which winner had a location of Iowa?\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_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR) Question: Which opponent in the final had a partner of Katarina Srebotnik and a cham...
Here is the SQLite query to answer the question: ``` SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "Katarina Srebotnik" AND championship = "Wimbledon (4)" ```
48,344
[ { "from": "human", "value": " 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 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR)\n\n Question: Which opponent in the final ha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (partner VARCHAR, surface VARCHAR, championship VARCHAR) Question: Who was the partner when the championship was us open on a hard surface? Here is the SQL...
Your SQLite query is correctly structured to find the partner when the championship was the US Open on a hard surface. Here it is, wrapped in the required code formatting: ``` SELECT partner FROM table_name_30 WHERE surface = "hard" AND championship = "us open"; ```
48,345
[ { "from": "human", "value": " 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 (partner VARCHAR, surface VARCHAR, championship VARCHAR)\n\n Question: Who was the partner when the championship was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (surface VARCHAR, partner VARCHAR, score_in_the_final VARCHAR) Question: What was the surface for Julie Halard when the final score was 6–3, 6–2? Here is t...
Here is the SQLite query to answer the question: ``` SELECT surface FROM table_name_55 WHERE partner = "Julie Halard" AND score_in_the_final = "6–3, 6–2" ```
48,346
[ { "from": "human", "value": " 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 (surface VARCHAR, partner VARCHAR, score_in_the_final VARCHAR)\n\n Question: What was the surface for Julie Halard w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR, surface VARCHAR) Question: What was the outcome when the oppenent was serena williams venus williams and h...
Here is the SQLite query to answer the question: ``` SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "serena williams venus williams" AND surface = "hard" ```
48,347
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR, surface VARCHAR)\n\n Question: What was the outcome when the oppen...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (played VARCHAR, points VARCHAR, drawn VARCHAR, position VARCHAR) Question: How much Played has Drawn of 2, and a Position larger than 3, and Points smaller ...
Here is the SQLite query to answer the question: ``` SELECT COUNT(played) FROM table_name_1 WHERE drawn = '2' AND position > '3' AND points < '10' ``` Please note that I’ve included quotes around the numeric values because the values are stored as VARCHAR. Adjust the conditions depending on whether you expect numeri...
48,348
[ { "from": "human", "value": " 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 (played VARCHAR, points VARCHAR, drawn VARCHAR, position VARCHAR)\n\n Question: How much Played has Drawn of 2, 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_24 (against INTEGER, difference VARCHAR, lost VARCHAR) Question: Which average Against has a Difference of 10, and a Lost smaller than 2? Here is the SQLite q...
Your SQLite query looks mostly correct. However, note that the `lost` column is of type `VARCHAR`, so you should either ensure that the values stored are numerical and can be compared as integers or cast the values appropriately in the query. Here is a refined version of your query: ``` SELECT AVG(against) FROM tabl...
48,349
[ { "from": "human", "value": " 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 (against INTEGER, difference VARCHAR, lost VARCHAR)\n\n Question: Which average Against has a Difference of 10, and ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (attendance INTEGER, result_f___a VARCHAR, date VARCHAR) Question: How many Attendances have a Result F – A of 0 – 2, and a Date of 31 january 1903? Here i...
It looks like you want to count the number of attendances that meet specific criteria rather than calculate the average of attendance values. The correct query to count the number of Attendances with a Result F – A of "0 – 2" and a Date of "31 January 1903" should use the `COUNT` function instead of `AVG`. Here is the...
48,350
[ { "from": "human", "value": " 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 (attendance INTEGER, result_f___a VARCHAR, date VARCHAR)\n\n Question: How many Attendances have a Result F – A of 0...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (attendance VARCHAR, date VARCHAR) Question: How many Attendances on 13 april 1903? Here is the SQLite query to answer to the question: How many Attendance...
To count the number of attendances on 13 April 1903, you should use the `COUNT()` function in your SQL query. Here’s the updated query: ``` SELECT COUNT(attendance) AS total_attendance FROM table_name_37 WHERE date = "13 april 1903"; ```
48,351
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (attendance VARCHAR, date VARCHAR)\n\n Question: How many Attendances on 13 april 1903?\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_47 (attendance INTEGER, h___a VARCHAR, date VARCHAR) Question: How many Attendances have a H / A of h on 7 march 1903? Here is the SQLite query to answer to t...
The provided query incorrectly uses the `MIN` function when the question asks for the count of attendances. To count the number of attendances with a "H / A" of 'h' on the specified date, you should use the `COUNT` function instead. Here's the corrected SQLite query: ``` SELECT COUNT(attendance) FROM table_name_47 WHE...
48,352
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (attendance INTEGER, h___a VARCHAR, date VARCHAR)\n\n Question: How many Attendances have a H / A of h on 7 march 19...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (opponents VARCHAR, attendance VARCHAR, h___a VARCHAR, result_f___a VARCHAR) Question: Which Opponent has a H / A of a, and a Result F – A of 2 – 0, and a A...
It looks like you've provided a good start for your SQLite query. However, there are a couple of adjustments needed for the query to work correctly, particularly with respect to the formatting of the query and the use of comparison operators. Here's the corrected version of the SQLite query: ```sql SELECT opponents ...
48,353
[ { "from": "human", "value": " 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 (opponents VARCHAR, attendance VARCHAR, h___a VARCHAR, result_f___a VARCHAR)\n\n Question: Which Opponent has a H / ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (date VARCHAR, opponents VARCHAR, h___a VARCHAR) Question: When is The Opponents of lincoln city and a H / A of a? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question "When is The Opponents of lincoln city and a H / A of a?": ``` SELECT date FROM table_name_31 WHERE opponents = "lincoln city" AND h___a = "a" ```
48,354
[ { "from": "human", "value": " 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 (date VARCHAR, opponents VARCHAR, h___a VARCHAR)\n\n Question: When is The Opponents of lincoln city and a H / A of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (score VARCHAR, december VARCHAR) Question: What is the score for the Dec 11 game? Here is the SQLite query to answer to the question: What is the score fo...
It looks like the `december` column is of type VARCHAR, which suggests that the dates might be stored as strings. If the dates include the month and day as strings, we need to ensure we match the correct format. Assuming the format is something like 'Dec 11', here is the corrected SQLite query to retrieve the score for...
48,355
[ { "from": "human", "value": " 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 (score VARCHAR, december VARCHAR)\n\n Question: What is the score for the Dec 11 game?\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_96 (game INTEGER, opponent VARCHAR, december VARCHAR) Question: Which game has an opponent of Phoenix Coyotes and was before Dec 9? Here is the SQLite query t...
It seems like you want an SQL query to find games against the Phoenix Coyotes that occurred before December 9, but the query you've provided calculates the average of the game numbers instead of selecting the specific games. Here's the correct query that retrieves the games that match your criteria: ```sql SELECT ga...
48,356
[ { "from": "human", "value": " 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 (game INTEGER, opponent VARCHAR, december VARCHAR)\n\n Question: Which game has an opponent of Phoenix Coyotes and w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (december INTEGER, record VARCHAR) Question: What is the December game that led to an 11-13-5 record? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about the December game that led to an 11-13-5 record: ``` SELECT december FROM table_name_9 WHERE record = '11-13-5'; ``` This query selects the `december` value from `table_name_9` where the `record` matches '11-13-5'.
48,357
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (december INTEGER, record VARCHAR)\n\n Question: What is the December game that led to an 11-13-5 record?\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_1 (record VARCHAR, game VARCHAR) Question: What was the record after game 41? Here is the SQLite query to answer to the question: What was the record after ga...
To find the record after game 41, you need to select the record from the table where the game number is greater than 41. Here’s the correct SQLite query to answer the question: ``` SELECT record FROM table_name_1 WHERE game > 41 LIMIT 1; ``` This query will return the record immediately following game 41. If you wan...
48,358
[ { "from": "human", "value": " 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 (record VARCHAR, game VARCHAR)\n\n Question: What was the record after game 41?\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_76 (overall INTEGER, college VARCHAR, round VARCHAR) Question: Which Overall has a College of florida state, and a Round larger than 2? Here is the SQLite que...
The provided SQLite query correctly identifies the sum of the `overall` values for records where the `college` is "florida state" and the `round` is greater than 2. Here it is, wrapped as requested: ``` SELECT SUM(overall) FROM table_name_76 WHERE college = "florida state" AND round > 2; ```
48,359
[ { "from": "human", "value": " 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 (overall INTEGER, college VARCHAR, round VARCHAR)\n\n Question: Which Overall has a College of florida state, 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_59 (pick__number INTEGER, position VARCHAR, overall VARCHAR) Question: How many Picks have a Position of kicker, and an Overall smaller than 137? Here is the ...
The query you provided is almost correct but the use of `SUM(pick__number)` does not achieve the goal of counting the number of picks. Instead, you should use the `COUNT()` function to count the rows that match the criteria. Here is the corrected query: ``` SELECT COUNT(*) FROM table_name_59 WHERE position = "kicker" ...
48,360
[ { "from": "human", "value": " 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 (pick__number INTEGER, position VARCHAR, overall VARCHAR)\n\n Question: How many Picks have a Position of kicker, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (position VARCHAR, pick__number VARCHAR) Question: Which Position has a Pick # of 18? Here is the SQLite query to answer to the question: Which Position ha...
Here is the SQLite query to answer the question: Which Position has a Pick # of 18?: ``` SELECT position FROM table_name_99 WHERE pick__number = '18' ```
48,361
[ { "from": "human", "value": " 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 (position VARCHAR, pick__number VARCHAR)\n\n Question: Which Position has a Pick # of 18?\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_37 (college VARCHAR, name VARCHAR, round VARCHAR, pick__number VARCHAR) Question: Which College has a Round smaller than 7, and a Pick # smaller than 27, and a...
Here is the SQLite query to answer the question: ``` SELECT college FROM table_name_37 WHERE round < 7 AND pick__number < 27 AND name = "anthony maddox"; ```
48,362
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (college VARCHAR, name VARCHAR, round VARCHAR, pick__number VARCHAR)\n\n Question: Which College has a Round smaller...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (overall VARCHAR, pick__number VARCHAR, round VARCHAR) Question: How much Overall has a Pick # larger than 9, and a Round larger than 5? Here is the SQLite...
Your SQL query is almost correct, but it would be good to clarify the data types and conditions being used. Here are a few considerations: 1. Since `pick__number` and `round` are stored as `VARCHAR`, they should be compared as strings. However, if these fields contain numeric values (but are stored as strings), you ma...
48,363
[ { "from": "human", "value": " 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 (overall VARCHAR, pick__number VARCHAR, round VARCHAR)\n\n Question: How much Overall has a Pick # larger than 9, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (score VARCHAR, visitor VARCHAR, record VARCHAR) Question: Which score was for the Spurs as visitors with record of 35–16? Here is the SQLite query to answ...
Here is the SQLite query to find the score for the Spurs as visitors with a record of 35–16: ``` SELECT score FROM table_name_60 WHERE visitor = "spurs" AND record = "35–16" ```
48,364
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (score VARCHAR, visitor VARCHAR, record VARCHAR)\n\n Question: Which score was for the Spurs as visitors with record...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (record VARCHAR, home VARCHAR) Question: Which record was for Warriors at home? Here is the SQLite query to answer to the question: Which record was for Wa...
Here's the SQLite query to answer the question regarding which record was for Warriors at home: ``` SELECT record FROM table_name_67 WHERE home = "Warriors"; ```
48,365
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (record VARCHAR, home VARCHAR)\n\n Question: Which record was for Warriors at home?\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_9 (original_title VARCHAR, english_title VARCHAR) Question: English title of malèna had what original title? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question: English title of malèna had what original title?: ``` SELECT original_title FROM table_name_9 WHERE english_title = "malèna"; ```
48,366
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (original_title VARCHAR, english_title VARCHAR)\n\n Question: English title of malèna had what original title?\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_79 (english_title VARCHAR, original_title VARCHAR) Question: Original title of возвращение / vozvrashcheniye had what English title? Here is the SQLite query ...
Here is the SQLite query to answer the question: ``` SELECT english_title FROM table_name_79 WHERE original_title = "возвращение / vozvrashcheniye" ```
48,367
[ { "from": "human", "value": " 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 (english_title VARCHAR, original_title VARCHAR)\n\n Question: Original title of возвращение / vozvrashcheniye had wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (year INTEGER, director VARCHAR) Question: Director of christophe barratier had what highest year? Here is the SQLite query to answer to the question: Direc...
Here is the SQLite query to answer the question about the highest year for the director Christophe Barratier: ``` SELECT MAX(year) FROM table_name_3 WHERE director = "christophe barratier"; ```
48,368
[ { "from": "human", "value": " 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 (year INTEGER, director VARCHAR)\n\n Question: Director of christophe barratier had what highest year?\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_87 (year VARCHAR, english_title VARCHAR) Question: English title of amélie had what year? Here is the SQLite query to answer to the question: English title of...
Here is the SQLite query to answer the question about the year of the English title "amélie": ``` SELECT year FROM table_name_87 WHERE english_title = "amélie" ```
48,369
[ { "from": "human", "value": " 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 (year VARCHAR, english_title VARCHAR)\n\n Question: English title of amélie had what year?\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_28 (director VARCHAR, original_title VARCHAR) Question: Original title of das leben der anderen had what director? Here is the SQLite query to answer to the q...
Here's the SQLite query to find the director of the original title "das leben der anderen": ```sql SELECT director FROM table_name_28 WHERE original_title = "das leben der anderen"; ```
48,370
[ { "from": "human", "value": " 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 (director VARCHAR, original_title VARCHAR)\n\n Question: Original title of das leben der anderen had what director?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (director VARCHAR, role VARCHAR) Question: Who was the director where the role was Fred Ayres? Here is the SQLite query to answer to the question: Who was ...
Your SQLite query is almost correct, but keep in mind that SQL is case-sensitive for string comparisons depending on the settings and collation. To ensure the query works regardless of the letter case, I recommend using the `LOWER()` function to standardize the case when comparing strings. Here’s the modified query: `...
48,371
[ { "from": "human", "value": " 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 (director VARCHAR, role VARCHAR)\n\n Question: Who was the director where the role was Fred Ayres?\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_8 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, role VARCHAR) Question: What was the theatre where Peter P. Peters is the role? Here is the SQLite q...
Your SQLite query is almost correct, but it seems like there might be a minor issue with the case sensitivity of the role value. In SQL, string comparisons are case-sensitive by default in SQLite, so if the actual data has a different case (e.g., "Peter P. Peters" instead of "peter p. peters"), you may not get any resu...
48,372
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, role VARCHAR)\n\n Question: What was the theatre where Peter ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (runner_s__up VARCHAR, margin VARCHAR) Question: Who are the Runner(s)-up with a Margin of 1 stroke? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about the Runner(s)-up with a Margin of 1 stroke: ```sql SELECT runner_s__up FROM table_name_12 WHERE margin = "1 stroke" ```
48,373
[ { "from": "human", "value": " 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 (runner_s__up VARCHAR, margin VARCHAR)\n\n Question: Who are the Runner(s)-up with a Margin of 1 stroke?\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_49 (runner_s__up VARCHAR, margin VARCHAR) Question: Who are the Runner(s)-up with a Margin of 3 strokes? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question about who the Runner(s)-up are with a Margin of 3 strokes: ```sql SELECT runner_s__up FROM table_name_49 WHERE margin = "3 strokes"; ```
48,374
[ { "from": "human", "value": " 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 (runner_s__up VARCHAR, margin VARCHAR)\n\n Question: Who are the Runner(s)-up with a Margin of 3 strokes?\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_14 (year INTEGER, championship VARCHAR) Question: What is the highest Year with of the open championship? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question about the highest year of the open championship: ``` SELECT MAX(year) FROM table_name_14 WHERE championship = "the open championship" ```
48,375
[ { "from": "human", "value": " 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 (year INTEGER, championship VARCHAR)\n\n Question: What is the highest Year with of the open championship?\n\nHere i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (winning_score VARCHAR, year VARCHAR) Question: What is the Winning score in 1956? Here is the SQLite query to answer to the question: What is the Winning ...
Here is the SQLite query to answer the question: What is the Winning score in 1956?: ``` SELECT winning_score FROM table_name_57 WHERE year = '1956' ```
48,376
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (winning_score VARCHAR, year VARCHAR)\n\n Question: What is the Winning score in 1956?\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_90 (winning_score VARCHAR, year VARCHAR) Question: What is the Winning score in 1965? Here is the SQLite query to answer to the question: What is the Winning ...
Here is the SQLite query to answer the question about the winning score in 1965: ``` SELECT winning_score FROM table_name_90 WHERE year = '1965' ```
48,377
[ { "from": "human", "value": " 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 (winning_score VARCHAR, year VARCHAR)\n\n Question: What is the Winning score in 1965?\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_64 (year VARCHAR, runner_s__up VARCHAR) Question: What Year had a Runner(s)-up of flory van donck? Here is the SQLite query to answer to the question: What Ye...
Here is the SQLite query to answer the question "What Year had a Runner(s)-up of flory van donck?": ```sql SELECT year FROM table_name_64 WHERE runner_s__up = "flory van donck"; ```
48,378
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (year VARCHAR, runner_s__up VARCHAR)\n\n Question: What Year had a Runner(s)-up of flory van donck?\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_72 (date VARCHAR, region VARCHAR) Question: What is the release Date for the Region in New Zealand ? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query you requested: ``` SELECT date FROM table_name_72 WHERE region = "New Zealand"; ```
48,379
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (date VARCHAR, region VARCHAR)\n\n Question: What is the release Date for the Region in New Zealand ?\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_16 (date VARCHAR, region VARCHAR) Question: What is the release Date for the New Zealand Region? Here is the SQLite query to answer to the question: What is t...
Here is the SQLite query to answer the question about the release date for the New Zealand region: ``` SELECT date FROM table_name_16 WHERE region = "New Zealand"; ```
48,380
[ { "from": "human", "value": " 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 (date VARCHAR, region VARCHAR)\n\n Question: What is the release Date for the New Zealand Region?\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_90 (date VARCHAR, catalogue VARCHAR) Question: What is the Date of Catalogue number 602517739468? Here is the SQLite query to answer to the question: What is ...
Here is the SQLite query to answer the question about the Date of Catalogue number 602517739468: ``` SELECT date FROM table_name_90 WHERE catalogue = "602517739468"; ```
48,381
[ { "from": "human", "value": " 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 (date VARCHAR, catalogue VARCHAR)\n\n Question: What is the Date of Catalogue number 602517739468?\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_16 (region VARCHAR, catalogue VARCHAR) Question: In what Region was the Catalogue number 1785089 released? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question: In what Region was the Catalogue number 1785089 released?: ``` SELECT region FROM table_name_16 WHERE catalogue = '1785089'; ```
48,382
[ { "from": "human", "value": " 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 (region VARCHAR, catalogue VARCHAR)\n\n Question: In what Region was the Catalogue number 1785089 released?\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_5 (city_of_license VARCHAR, frequency_mhz INTEGER) Question: Which city of license has a frequency less than 100.1? Here is the SQLite query to answer to the ...
Here is the SQLite query to answer the question regarding which city of license has a frequency less than 100.1: ``` SELECT city_of_license FROM table_name_5 WHERE frequency_mhz < 100.1; ```
48,383
[ { "from": "human", "value": " 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 (city_of_license VARCHAR, frequency_mhz INTEGER)\n\n Question: Which city of license has a frequency less than 100.1?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (erp_w VARCHAR, call_sign VARCHAR) Question: What is the ERP W with a call sign at w261cq? Here is the SQLite query to answer to the question: What is the ...
Certainly! Here is the SQLite query wrapped in code formatting: ``` SELECT erp_w FROM table_name_19 WHERE call_sign = "w261cq" ```
48,384
[ { "from": "human", "value": " 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 (erp_w VARCHAR, call_sign VARCHAR)\n\n Question: What is the ERP W with a call sign at w261cq?\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_6 (erp_w INTEGER, frequency_mhz INTEGER) Question: What is the average value for ERP W when frequency is more than 100.1? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question regarding the average value for ERP W when the frequency is more than 100.1: ``` SELECT AVG(erp_w) FROM table_name_6 WHERE frequency_mhz > 100.1 ```
48,385
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER)\n\n Question: What is the average value for ERP W when frequency is 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_45 (frequency_mhz VARCHAR, call_sign VARCHAR) Question: What frequency has call sign w228bg? Here is the SQLite query to answer to the question: What frequenc...
Here is the SQLite query to answer the question regarding the frequency for the call sign w228bg: ``` SELECT frequency_mhz FROM table_name_45 WHERE call_sign = "w228bg" ```
48,386
[ { "from": "human", "value": " 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 (frequency_mhz VARCHAR, call_sign VARCHAR)\n\n Question: What frequency has call sign w228bg?\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_70 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR) Question: What is the average value of ERP W in Beardstown, Illinois for a frequency greater...
Here is the SQLite query to answer the question about the average value of ERP W in Beardstown, Illinois for a frequency greater than 93.5: ``` SELECT AVG(erp_w) FROM table_name_70 WHERE city_of_license = "beardstown, illinois" AND frequency_mhz > 93.5 ```
48,387
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR)\n\n Question: What is the average value of ERP W in ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (score VARCHAR, year VARCHAR) Question: What was the winning score in 2000? Here is the SQLite query to answer to the question: What was the winning score ...
Here is the SQLite query to answer the question about the winning score in 2000: ```sql SELECT score FROM table_name_30 WHERE year = '2000'; ```
48,388
[ { "from": "human", "value": " 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 (score VARCHAR, year VARCHAR)\n\n Question: What was the winning score in 2000?\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_43 (weekly_rank VARCHAR, airdate VARCHAR) Question: Name the weekly rank for sunday, june 14, 2009 Here is the SQLite query to answer to the question: Name th...
Here is the SQLite query that answers the question: ``` SELECT weekly_rank FROM table_name_43 WHERE airdate = "sunday, june 14, 2009" ```
48,389
[ { "from": "human", "value": " 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 (weekly_rank VARCHAR, airdate VARCHAR)\n\n Question: Name the weekly rank for sunday, june 14, 2009\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_25 (pick__number INTEGER, overall VARCHAR, round VARCHAR) Question: Which Pick # is the highest one that has an Overall of 184, and a Round larger than 6? Her...
Your SQLite query looks correct for the given question. Here's the formatted query again for clarity: ``` SELECT MAX(pick__number) FROM table_name_25 WHERE overall = 184 AND round > 6; ``` This query will return the highest `pick__number` from the `table_name_25` table where the `overall` is 184 and the `round` is g...
48,390
[ { "from": "human", "value": " 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 (pick__number INTEGER, overall VARCHAR, round VARCHAR)\n\n Question: Which Pick # is the highest one that has an Ove...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (pick__number VARCHAR, overall VARCHAR) Question: How many picks have an Overall of 114? Here is the SQLite query to answer to the question: How many picks...
Here is the SQLite query to answer the question about how many picks have an Overall of 114: ``` SELECT COUNT(pick__number) FROM table_name_75 WHERE overall = '114'; ```
48,391
[ { "from": "human", "value": " 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 (pick__number VARCHAR, overall VARCHAR)\n\n Question: How many picks have an Overall of 114?\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_26 (overall INTEGER, name VARCHAR, round VARCHAR) Question: Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6? Her...
Here is the SQLite query to answer the question: ``` SELECT MAX(overall) FROM table_name_26 WHERE name = "daimon shelton" AND round > 6 ```
48,392
[ { "from": "human", "value": " 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 (overall INTEGER, name VARCHAR, round VARCHAR)\n\n Question: Which Overall is the highest one that has a Name of dai...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (pick__number INTEGER, round VARCHAR, overall VARCHAR, college VARCHAR) Question: Which Pick # is the highest one that has an Overall larger than 21, and a ...
Here is the SQLite query to answer the question about the highest Pick # given the specified conditions: ``` SELECT MAX(pick__number) FROM table_name_14 WHERE overall > 21 AND college = 'north carolina' AND round < '3' ```
48,393
[ { "from": "human", "value": " 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 (pick__number INTEGER, round VARCHAR, overall VARCHAR, college VARCHAR)\n\n Question: Which Pick # is the highest on...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, pick__number VARCHAR) Question: Which Position has an Overall larger than 147, and a Pick # of 21? Here is the SQLite q...
Here is the SQLite query to answer the question: ``` SELECT position FROM table_name_45 WHERE overall > 147 AND pick__number = 21 ```
48,394
[ { "from": "human", "value": " 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 (position VARCHAR, overall VARCHAR, pick__number VARCHAR)\n\n Question: Which Position has an Overall larger than 14...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (pick__number INTEGER, college VARCHAR) Question: What is cornell's lowest pick number? Here is the SQLite query to answer to the question: What is cornell...
Here is the SQLite query to answer the question: What is Cornell's lowest pick number?: ``` SELECT MIN(pick__number) FROM table_name_13 WHERE college = "cornell" ```
48,395
[ { "from": "human", "value": " 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 (pick__number INTEGER, college VARCHAR)\n\n Question: What is cornell's lowest pick number?\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_10 (eviction_result VARCHAR, net_vote VARCHAR) Question: Which Eviction result has a Net vote of 31.86%? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question: Which Eviction result has a Net vote of 31.86%?: ``` SELECT eviction_result FROM table_name_10 WHERE net_vote = '31.86%'; ```
48,396
[ { "from": "human", "value": " 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 (eviction_result VARCHAR, net_vote VARCHAR)\n\n Question: Which Eviction result has a Net vote of 31.86%?\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_36 (nominee VARCHAR, vote_to_save VARCHAR) Question: Which Nominee has a Vote to Save of 1.98%? Here is the SQLite query to answer to the question: Which Nomi...
Here is the SQLite query to answer the question about which nominee has a Vote to Save of 1.98%: ``` SELECT nominee FROM table_name_36 WHERE vote_to_save = '1.98%'; ```
48,397
[ { "from": "human", "value": " 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 (nominee VARCHAR, vote_to_save VARCHAR)\n\n Question: Which Nominee has a Vote to Save of 1.98%?\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_27 (vote_to_evict VARCHAR, vote_to_save VARCHAR) Question: Which Vote to Evict has a Vote to Save of 21.22%? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question regarding which Vote to Evict has a Vote to Save of 21.22%: ```sql SELECT vote_to_evict FROM table_name_27 WHERE vote_to_save = "21.22%"; ```
48,398
[ { "from": "human", "value": " 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 (vote_to_evict VARCHAR, vote_to_save VARCHAR)\n\n Question: Which Vote to Evict has a Vote to Save of 21.22%?\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_3 (vote_to_save VARCHAR, eviction_no VARCHAR, vote_to_evict VARCHAR) Question: Which Vote to Save has an Eviction # smaller than 14, and a Vote to Evict of 5.4...
Here is the SQLite query to answer the question regarding the Vote to Save with specific conditions: ``` SELECT vote_to_save FROM table_name_3 WHERE eviction_no < 14 AND vote_to_evict = "5.42%" ```
48,399
[ { "from": "human", "value": " 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 (vote_to_save VARCHAR, eviction_no VARCHAR, vote_to_evict VARCHAR)\n\n Question: Which Vote to Save has an Eviction #...