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_15 (wins INTEGER, byes INTEGER) Question: What is the lowest wins with less than 2 Byes? Here is the SQLite query to answer to the question: What is the lowes...
Your SQLite query is correct for retrieving the lowest number of wins where there are less than 2 byes. Here it is wrapped properly for clarity: ``` SELECT MIN(wins) FROM table_name_15 WHERE byes < 2 ```
48,900
[ { "from": "human", "value": " 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 (wins INTEGER, byes INTEGER)\n\n Question: What is the lowest wins with less than 2 Byes?\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_4 (against INTEGER, wins VARCHAR, byes VARCHAR) Question: What is the highest score with 0 wins and more than 2 Byes? Here is the SQLite query to answer to th...
The query provided has a small issue with the type for the `wins` column, which is a `VARCHAR`. To check for zero wins, you would need to match the string '0' instead of the integer 0. Here is the corrected SQLite query: ``` SELECT MAX(against) FROM table_name_4 WHERE wins = '0' AND byes > '2' ``` This query retriev...
48,901
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (against INTEGER, wins VARCHAR, byes VARCHAR)\n\n Question: What is the highest score with 0 wins and more than 2 Bye...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (wins INTEGER, against INTEGER) Question: What is the sum of wins against the smaller score 1148? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question about the sum of wins against the smaller score: ``` SELECT SUM(wins) FROM table_name_80 WHERE against < 1148; ```
48,902
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (wins INTEGER, against INTEGER)\n\n Question: What is the sum of wins against the smaller score 1148?\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_36 (name VARCHAR, matches VARCHAR, rank VARCHAR, goals VARCHAR) Question: Who had a rank larger than 7, less than 305 goals, and 418 matches? Here is the SQLi...
Here is the SQLite query to answer the question you specified: ``` SELECT name FROM table_name_36 WHERE rank > 7 AND goals < 305 AND matches = '418'; ```
48,903
[ { "from": "human", "value": " 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 (name VARCHAR, matches VARCHAR, rank VARCHAR, goals VARCHAR)\n\n Question: Who had a rank larger than 7, less than 3...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (goals VARCHAR, rank VARCHAR) Question: How many goals ranked 6? Here is the SQLite query to answer to the question: How many goals ranked 6?: ``` SELECT C...
```sql SELECT COUNT(goals) FROM table_name_36 WHERE rank = '6' ```
48,904
[ { "from": "human", "value": " 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 (goals VARCHAR, rank VARCHAR)\n\n Question: How many goals ranked 6?\n\nHere is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (matches VARCHAR, goals VARCHAR) Question: How many matches had 360 goals? Here is the SQLite query to answer to the question: How many matches had 360 goa...
Your query is almost correct, but you need to count the number of matches that had 360 goals instead of just selecting the matches. Here’s how you can do that: ```sql SELECT COUNT(*) FROM table_name_31 WHERE goals = '360'; ``` This query counts the number of rows where the `goals` column has a value of '360'. Note th...
48,905
[ { "from": "human", "value": " 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 (matches VARCHAR, goals VARCHAR)\n\n Question: How many matches had 360 goals?\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_64 (nominee VARCHAR, category VARCHAR) Question: What is the Nominee from the Category that is best costume design? Here is the SQLite query to answer to the ...
Here is the SQLite query to find the nominee from the category that is "best costume design": ``` SELECT nominee FROM table_name_64 WHERE category = "best costume design"; ```
48,906
[ { "from": "human", "value": " 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 (nominee VARCHAR, category VARCHAR)\n\n Question: What is the Nominee from the Category that is best costume design?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (total INTEGER, country VARCHAR, bronze VARCHAR, silver VARCHAR) Question: Which Total has a Bronze larger than 12, and a Silver larger than 772, and a Coun...
Here is the SQLite query to answer the question based on the given schema: ``` SELECT SUM(total) FROM table_name_70 WHERE bronze > 12 AND silver > 772 AND country = "thailand"; ```
48,907
[ { "from": "human", "value": " 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 (total INTEGER, country VARCHAR, bronze VARCHAR, silver VARCHAR)\n\n Question: Which Total has a Bronze 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_68 (gold INTEGER, total VARCHAR, bronze VARCHAR) Question: Which Gold has a Total of 2998, and a Bronze smaller than 1191? Here is the SQLite query to answer ...
The provided SQLite query is correct in structure for the question asked, but it specifies an aggregate function (AVG) that may not be necessary if you are simply looking to retrieve specific gold values that meet the criteria. If you want to get all gold values that satisfy the conditions, the query should be using `S...
48,908
[ { "from": "human", "value": " 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 (gold INTEGER, total VARCHAR, bronze VARCHAR)\n\n Question: Which Gold has a Total of 2998, and a Bronze smaller tha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (bronze INTEGER, country VARCHAR, total VARCHAR) Question: Which Bronze has a Country of malaysia, and a Total smaller than 2644? Here is the SQLite query ...
Your query is almost correct, but since the `total` column is defined as a `VARCHAR`, you'll need to convert it to an integer for comparison. Here's the corrected version of your query: ``` SELECT SUM(bronze) FROM table_name_75 WHERE country = "malaysia" AND CAST(total AS INTEGER) < 2644 ```
48,909
[ { "from": "human", "value": " 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 (bronze INTEGER, country VARCHAR, total VARCHAR)\n\n Question: Which Bronze has a Country of malaysia, and a Total s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (silver VARCHAR, bronze VARCHAR, country VARCHAR) Question: Which Silver has a Bronze smaller than 618, and a Country of laos? Here is the SQLite query to ...
Your SQLite query looks correct for the question asked. Here's the code wrapped in the requested format: ``` SELECT silver FROM table_name_65 WHERE bronze < 618 AND country = "laos" ```
48,910
[ { "from": "human", "value": " 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 (silver VARCHAR, bronze VARCHAR, country VARCHAR)\n\n Question: Which Silver has a Bronze smaller than 618, and a Co...
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, team VARCHAR) Question: What is the Score with a Team that is @ portland? Here is the SQLite query to answer to the question: What is the Sc...
Here is the SQLite query to answer the question regarding the score for the team that is "@ portland": ``` SELECT score FROM table_name_1 WHERE team = '@ portland'; ``` Make sure to use single quotes around the team name as required by SQL syntax.
48,911
[ { "from": "human", "value": " 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, team VARCHAR)\n\n Question: What is the Score with a Team that is @ portland?\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_35 (high_points VARCHAR, date VARCHAR) Question: What is the High points with a Date that is january 20? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question regarding the high points with a date of January 20: ``` SELECT high_points FROM table_name_35 WHERE date = "january 20"; ```
48,912
[ { "from": "human", "value": " 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 (high_points VARCHAR, date VARCHAR)\n\n Question: What is the High points with a Date that is january 20?\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_64 (home VARCHAR, visitor VARCHAR) Question: Who was the home team that the Clippers played? Here is the SQLite query to answer to the question: Who was the h...
Your query is almost correct, but to ensure we account for both cases where the Clippers could either be the home team or the visiting team, we might also consider the scenario where the Clippers are at home. However, since you specifically asked for the home team that the Clippers played against, your query is suitabl...
48,913
[ { "from": "human", "value": " 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 (home VARCHAR, visitor VARCHAR)\n\n Question: Who was the home team that the Clippers played?\n\nHere is the SQLite ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (record VARCHAR, leading_scorer VARCHAR) Question: What's the record of the game where Lebron James (16) was the leading scorer? Here is the SQLite query t...
Here is the SQLite query to answer the question regarding the record of the game where LeBron James was the leading scorer: ```sql SELECT record FROM table_name_69 WHERE leading_scorer = "lebron james (16)"; ```
48,914
[ { "from": "human", "value": " 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 (record VARCHAR, leading_scorer VARCHAR)\n\n Question: What's the record of the game where Lebron James (16) was the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (attendance INTEGER, venue VARCHAR, date VARCHAR) Question: When the venue was A and the date was 2 january 2008, what was the average attendance? Here is ...
Here is the SQLite query to calculate the average attendance for the specified venue and date: ``` SELECT AVG(attendance) FROM table_name_61 WHERE venue = 'A' AND date = '2 january 2008'; ```
48,915
[ { "from": "human", "value": " 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 (attendance INTEGER, venue VARCHAR, date VARCHAR)\n\n Question: When the venue was A and the date was 2 january 2008...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR) Question: On 10 November 2007, what was the venue? Here is the SQLite query to answer to the question: On 10 November 2007, w...
Here is the SQLite query to answer the question about the venue on 10 November 2007: ``` SELECT venue FROM table_name_60 WHERE date = "10 November 2007"; ```
48,916
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR)\n\n Question: On 10 November 2007, what was the venue?\n\nHere is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (date VARCHAR, opponent VARCHAR, result VARCHAR, attendance VARCHAR) Question: On what date was the opponent Ayr United, the result 1–0, and the attendance ...
Here is the SQLite query to answer the question: ``` SELECT date FROM table_name_17 WHERE opponent = "Ayr United" AND result = "1–0" AND attendance > "668"; ```
48,917
[ { "from": "human", "value": " 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 (date VARCHAR, opponent VARCHAR, result VARCHAR, attendance VARCHAR)\n\n Question: On what date was the opponent Ayr...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (result VARCHAR, opponent VARCHAR, attendance VARCHAR) Question: When the opponent was Brechin City and the attendance was 656, what was the Result? Here i...
Here's the SQLite query to answer the question regarding the result when the opponent was Brechin City and the attendance was 656: ``` SELECT result FROM table_name_47 WHERE opponent = "Brechin City" AND attendance = "656" ```
48,918
[ { "from": "human", "value": " 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 (result VARCHAR, opponent VARCHAR, attendance VARCHAR)\n\n Question: When the opponent was Brechin City and the atte...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (attendance INTEGER, venue VARCHAR, date VARCHAR) Question: On 1 september 2007, at the Venue A, what was the average attendance? Here is the SQLite query ...
Your SQLite query is almost correct. However, you need to ensure that the venue is matched correctly. Assuming that "Venue A" should be compared as "Venue A" (with a capital 'V' and 'A'), here is the corrected SQL query: ``` SELECT AVG(attendance) FROM table_name_45 WHERE venue = "Venue A" AND date = "1 september 2007...
48,919
[ { "from": "human", "value": " 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 (attendance INTEGER, venue VARCHAR, date VARCHAR)\n\n Question: On 1 september 2007, at the Venue A, what was the av...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (score VARCHAR, country VARCHAR, year VARCHAR) Question: Which Score has a Country of england, and a Year larger than 1971? Here is the SQLite query to ans...
Here is the SQLite query to answer the question about which score has a country of England and a year larger than 1971: ``` SELECT score FROM table_name_77 WHERE country = "england" AND year > '1971' ``` Note: Make sure that the `year` column is treated as a string since it is defined as VARCHAR in your schema. Ther...
48,920
[ { "from": "human", "value": " 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 (score VARCHAR, country VARCHAR, year VARCHAR)\n\n Question: Which Score has a Country of england, and a Year larger...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (winner VARCHAR, country VARCHAR) Question: What is Scotland's winner? Here is the SQLite query to answer to the question: What is Scotland's winner?: ``` ...
Here is the SQLite query to answer the question: What is Scotland's winner?: ```sql SELECT winner FROM table_name_37 WHERE country = "Scotland"; ```
48,921
[ { "from": "human", "value": " 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 (winner VARCHAR, country VARCHAR)\n\n Question: What is Scotland's winner?\n\nHere is the SQLite query to answer to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (time VARCHAR, week VARCHAR) Question: What time was the game in week 2? Here is the SQLite query to answer to the question: What time was the game in week...
Here is the SQLite query to answer the question "What time was the game in week 2?": ``` SELECT time FROM table_name_15 WHERE week = '2' ```
48,922
[ { "from": "human", "value": " 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 (time VARCHAR, week VARCHAR)\n\n Question: What time was the game in week 2?\n\nHere is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (result VARCHAR, date VARCHAR) Question: What was the score of the game on September 14, 2008? Here is the SQLite query to answer to the question: What was...
Here is the SQLite query to answer the question about the score of the game on September 14, 2008: ```sql SELECT result FROM table_name_88 WHERE date = "September 14, 2008"; ```
48,923
[ { "from": "human", "value": " 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 (result VARCHAR, date VARCHAR)\n\n Question: What was the score of the game on September 14, 2008?\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_66 (result VARCHAR, date VARCHAR) Question: What was the final score of the game on November 23, 2008? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question about the final score of the game on November 23, 2008: ``` SELECT result FROM table_name_66 WHERE date = "november 23, 2008"; ```
48,924
[ { "from": "human", "value": " 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 (result VARCHAR, date VARCHAR)\n\n Question: What was the final score of the game on November 23, 2008?\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_43 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR) Question: Which species has a Voges-Proskauer reading of negative and an indole reading of negati...
Here is the SQLite query you can use to find the species that have a Voges-Proskauer reading of negative and an indole reading of negative: ``` SELECT species FROM table_name_43 WHERE voges_proskauer = "negative" AND indole = "negative" ```
48,925
[ { "from": "human", "value": " 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 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)\n\n Question: Which species has a Voges-Proskauer reading...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (voges_proskauer VARCHAR, species VARCHAR) Question: What is the Voges-Proskauer reading for proteus mirabilis? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question about the Voges-Proskauer reading for *Proteus mirabilis*: ``` SELECT voges_proskauer FROM table_name_70 WHERE species = "proteus mirabilis" ```
48,926
[ { "from": "human", "value": " 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 (voges_proskauer VARCHAR, species VARCHAR)\n\n Question: What is the Voges-Proskauer reading for proteus mirabilis?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (methyl_red VARCHAR, indole VARCHAR) Question: What is the methyl red reading for the species that tests positive for indole? Here is the SQLite query to a...
You have correctly formulated the SQLite query to retrieve the methyl red reading for species that test positive for indole. Here is your query wrapped properly in code format: ``` SELECT methyl_red FROM table_name_98 WHERE indole = "positive"; ```
48,927
[ { "from": "human", "value": " 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 (methyl_red VARCHAR, indole VARCHAR)\n\n Question: What is the methyl red reading for the species that tests positiv...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (methyl_red VARCHAR, species VARCHAR) Question: What is the methyl red reading for proteus mirabilis? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question about the methyl red reading for Proteus mirabilis: ``` SELECT methyl_red FROM table_name_77 WHERE species = "proteus mirabilis" ```
48,928
[ { "from": "human", "value": " 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 (methyl_red VARCHAR, species VARCHAR)\n\n Question: What is the methyl red reading for proteus mirabilis?\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_15 (silver INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the highest silver medals for Russia with more than 5 bronze medals? Here is the SQLite ...
Your provided query is almost correct, but there is an issue with how the `bronze` column is defined and used. Since the `bronze` column is defined as `VARCHAR`, you should ensure you are comparing it as an integer. Assuming that `bronze` contains numeric values as strings, you need to convert them to integers to per...
48,929
[ { "from": "human", "value": " 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 (silver INTEGER, nation VARCHAR, bronze VARCHAR)\n\n Question: What is the highest silver medals for Russia with mor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (package_option VARCHAR, television_service VARCHAR) Question: What package/option has sky arte hd as the television service? Here is the SQLite query to a...
Here is the SQLite query to answer the question: What package/option has sky arte hd as the television service?: ``` SELECT package_option FROM table_name_51 WHERE television_service = "sky arte hd"; ```
48,930
[ { "from": "human", "value": " 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 (package_option VARCHAR, television_service VARCHAR)\n\n Question: What package/option has sky arte hd as the televi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (language VARCHAR, television_service VARCHAR, hdtv VARCHAR, package_option VARCHAR) Question: What language has NO, as the HDTV, sky famiglia as the packag...
Here is the SQLite query to answer the question regarding which language has "NO" for HDTV, "sky famiglia" as the package/option, and "national geographic channel" as the television service: ``` SELECT language FROM table_name_23 WHERE hdtv = "no" AND package_option = "sky famiglia" AND television_service = "national ...
48,931
[ { "from": "human", "value": " 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 (language VARCHAR, television_service VARCHAR, hdtv VARCHAR, package_option VARCHAR)\n\n Question: What language has...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (language VARCHAR, package_option VARCHAR) Question: What language has sky famiglia as the package/option? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question about which language has "sky famiglia" as the package option: ``` SELECT language FROM table_name_82 WHERE package_option = "sky famiglia"; ```
48,932
[ { "from": "human", "value": " 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 (language VARCHAR, package_option VARCHAR)\n\n Question: What language has sky famiglia as the package/option?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (language VARCHAR, content VARCHAR) Question: What language has viaggi as the content? Here is the SQLite query to answer to the question: What language ha...
Your SQL query is correctly structured for the given schema. Here it is wrapped in code format as requested: ``` SELECT language FROM table_name_65 WHERE content = "viaggi"; ```
48,933
[ { "from": "human", "value": " 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 (language VARCHAR, content VARCHAR)\n\n Question: What language has viaggi as the content?\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_20 (television_service VARCHAR, language VARCHAR, package_option VARCHAR) Question: What television service has italian as the language, and sky famiglia as th...
Here's the SQLite query to answer the question about which television service has Italian as the language and "sky famiglia" as the package option: ``` SELECT television_service FROM table_name_20 WHERE language = "italian" AND package_option = "sky famiglia"; ```
48,934
[ { "from": "human", "value": " 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 (television_service VARCHAR, language VARCHAR, package_option VARCHAR)\n\n Question: What television service has ita...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (package_option VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR) Question: What package/option has documentaries as the content, yes as t...
Here is the SQLite query to answer the question regarding the package option with the specified conditions: ``` SELECT package_option FROM table_name_56 WHERE content = "documentaries" AND hdtv = "yes" AND television_service = "history hd" ```
48,935
[ { "from": "human", "value": " 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 (package_option VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR)\n\n Question: What package/optio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (res VARCHAR, method VARCHAR) Question: What was the resolution for the match that ended by Submission (armbar)? Here is the SQLite query to answer to the ...
Here is the SQLite query to answer the question regarding the resolution for the match that ended by Submission (armbar): ``` SELECT res FROM table_name_91 WHERE method = 'Submission (armbar)'; ```
48,936
[ { "from": "human", "value": " 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 (res VARCHAR, method VARCHAR)\n\n Question: What was the resolution for the match that ended by Submission (armbar)?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (time VARCHAR, round VARCHAR, opponent VARCHAR) Question: What was the total time for the match that ocurred in Round 3 with opponent Keith Wisniewski? Her...
The query you provided retrieves the time for matches that occurred in Round 3 against Keith Wisniewski, but it doesn't calculate the total time. To calculate the total time, you need to sum the `time` values. However, since `time` is defined as a `VARCHAR`, you may need to convert it to an appropriate format (assuming...
48,937
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (time VARCHAR, round VARCHAR, opponent VARCHAR)\n\n Question: What was the total time for the match that ocurred in ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (location VARCHAR, opponent VARCHAR) Question: Where did the match with opponent Laverne Clark occur? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question "Where did the match with opponent Laverne Clark occur?": ``` SELECT location FROM table_name_14 WHERE opponent = "Laverne Clark"; ```
48,938
[ { "from": "human", "value": " 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 (location VARCHAR, opponent VARCHAR)\n\n Question: Where did the match with opponent Laverne Clark occur?\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_65 (diameter__mi_ VARCHAR, longitude VARCHAR) Question: What is the Diameter (mi) when the Longitude is 79.8° e? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about the diameter when the longitude is 79.8° e: ```sql SELECT diameter__mi_ FROM table_name_65 WHERE longitude = "79.8° e"; ```
48,939
[ { "from": "human", "value": " 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 (diameter__mi_ VARCHAR, longitude VARCHAR)\n\n Question: What is the Diameter (mi) when the Longitude is 79.8° e?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (latitude VARCHAR, diameter__km_ VARCHAR, longitude VARCHAR) Question: What is the Latitude when the Diameter (km) is 13km, and the Longitude is 72.9° e? H...
Here is the SQLite query to answer the question regarding the Latitude when the Diameter is 13km and the Longitude is 72.9° e: ``` SELECT latitude FROM table_name_94 WHERE diameter__km_ = "13km" AND longitude = "72.9° e" ```
48,940
[ { "from": "human", "value": " 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 (latitude VARCHAR, diameter__km_ VARCHAR, longitude VARCHAR)\n\n Question: What is the Latitude when the Diameter (k...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (longitude VARCHAR, diameter__km_ VARCHAR) Question: What shows for the Longitude when there is a Diameter (km) of 31km? Here is the SQLite query to answer...
Here is the SQLite query wrapped in the requested formatting: ``` SELECT longitude FROM table_name_54 WHERE diameter__km_ = "31km" ```
48,941
[ { "from": "human", "value": " 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 (longitude VARCHAR, diameter__km_ VARCHAR)\n\n Question: What shows for the Longitude when there is a Diameter (km) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (diameter__km_ VARCHAR, diameter__mi_ VARCHAR, gill VARCHAR) Question: What shows for the Diameter (km) when the Diameter (mi) is 8mi, and a Gill is e? Her...
Sure! Here is the SQLite query formatted as you requested: ``` SELECT diameter__km_ FROM table_name_66 WHERE diameter__mi_ = "8mi" AND gill = "e" ```
48,942
[ { "from": "human", "value": " 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 (diameter__km_ VARCHAR, diameter__mi_ VARCHAR, gill VARCHAR)\n\n Question: What shows for the Diameter (km) 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_5 (diameter__km_ VARCHAR, diameter__mi_ VARCHAR) Question: What shows as the Diameter (km) when the Diameter (mi) is 5mi? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about the Diameter (km) when the Diameter (mi) is 5mi: ``` SELECT diameter__km_ FROM table_name_5 WHERE diameter__mi_ = "5mi" ```
48,943
[ { "from": "human", "value": " 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 (diameter__km_ VARCHAR, diameter__mi_ VARCHAR)\n\n Question: What shows as the Diameter (km) when the Diameter (mi) i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (squad_no INTEGER, goals INTEGER) Question: What was the lowest squad with 0 goals? Here is the SQLite query to answer to the question: What was the lowest...
It seems there is a small mistake in your query; you are trying to find the lowest squad number with 0 goals, but the condition in your WHERE clause is checking for goals less than 0. Here's the corrected query: ``` SELECT MIN(squad_no) FROM table_name_81 WHERE goals = 0 ``` This query will return the lowest squad...
48,944
[ { "from": "human", "value": " 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 (squad_no INTEGER, goals INTEGER)\n\n Question: What was the lowest squad with 0 goals?\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_30 (overall VARCHAR, player VARCHAR) Question: What is the number for overall for angelo craig? Here is the SQLite query to answer to the question: What is th...
The query you've provided is close, but it seems like you're trying to retrieve the value of `overall` for the player "angelo craig" rather than counting the number of records. Here's the corrected query to fetch the `overall` value: ```sql SELECT overall FROM table_name_30 WHERE player = "angelo craig" ``` This will...
48,945
[ { "from": "human", "value": " 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 (overall VARCHAR, player VARCHAR)\n\n Question: What is the number for overall for angelo craig?\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_85 (round VARCHAR, overall VARCHAR) Question: What is the Round when there is an overall of 246? Here is the SQLite query to answer to the question: What is t...
Sure! Here is the SQLite query to find the Round when there is an overall of 246, wrapped in code formatting: ``` SELECT round FROM table_name_85 WHERE overall = '246'; ``` (Note: Ensure that the value '246' is treated as a string since the overall column is of type VARCHAR.)
48,946
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (round VARCHAR, overall VARCHAR)\n\n Question: What is the Round when there is an overall of 246?\n\nHere is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (overall INTEGER, position VARCHAR, round VARCHAR) Question: What is the lowest Overall for the wide receiver in a round less than 2? Here is the SQLite qu...
Here is the SQLite query to answer the question about the lowest Overall for the wide receiver in a round less than 2: ``` SELECT MIN(overall) FROM table_name_93 WHERE position = 'wide receiver' AND round < '2'; ```
48,947
[ { "from": "human", "value": " 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 (overall INTEGER, position VARCHAR, round VARCHAR)\n\n Question: What is the lowest Overall for the wide receiver in...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (player VARCHAR, college VARCHAR) Question: What is the Player from appalachian state? Here is the SQLite query to answer to the question: What is the Play...
Here is the SQLite query to answer the question regarding the player from Appalachian State: ``` SELECT player FROM table_name_73 WHERE college = "appalachian state"; ```
48,948
[ { "from": "human", "value": " 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 (player VARCHAR, college VARCHAR)\n\n Question: What is the Player from appalachian state?\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_34 (production_cost VARCHAR, date VARCHAR) Question: What is the Production Cost with a Date that is february 2000? Here is the SQLite query to answer to the ...
Here is the SQLite query to answer the question about the production cost with a date in February 2000, wrapped in code format: ``` SELECT production_cost FROM table_name_34 WHERE date = "february 2000"; ```
48,949
[ { "from": "human", "value": " 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 (production_cost VARCHAR, date VARCHAR)\n\n Question: What is the Production Cost with a Date that is february 2000?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (singapore_gross VARCHAR, title VARCHAR) Question: What is the Singapore Gross with a Title that is 2000? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question about what the Singapore Gross is with a Title that is 2000: ``` SELECT singapore_gross FROM table_name_74 WHERE title = '2000'; ```
48,950
[ { "from": "human", "value": " 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 (singapore_gross VARCHAR, title VARCHAR)\n\n Question: What is the Singapore Gross with a Title that is 2000?\n\nHer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (singapore_gross VARCHAR, producer VARCHAR) Question: What is the Singapore Gross with a Producer that is 2000? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question regarding the Singapore Gross with a Producer that is 2000: ```sql SELECT singapore_gross FROM table_name_72 WHERE producer = '2000'; ```
48,951
[ { "from": "human", "value": " 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 (singapore_gross VARCHAR, producer VARCHAR)\n\n Question: What is the Singapore Gross with a Producer that is 2000?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR) Question: What is Average Height, when Weight is less than 93, when Spike is less than 336, a...
Here is the SQLite query to answer the question about the average height given the specified conditions: ``` SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = '305' ``` Note: Since "block" is defined as a VARCHAR in the schema, I added single quotes around the value '305' for the st...
48,952
[ { "from": "human", "value": " 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 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR)\n\n Question: What is Average Height, when Weight is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (name VARCHAR, date_of_birth VARCHAR, block VARCHAR, spike VARCHAR) Question: What is Name, when Block is 320, when Spike is more than 336, and when Date of...
Here is the SQLite query to answer the question you asked: ``` SELECT name FROM table_name_39 WHERE block = 320 AND spike > 336 AND date_of_birth = "12.10.1978" ```
48,953
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (name VARCHAR, date_of_birth VARCHAR, block VARCHAR, spike VARCHAR)\n\n Question: What is Name, when Block is 320, w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR) Question: What is the total number of Block(s), when Spike is less than 341, when Weight is gre...
Here is the SQLite query to answer the specified question: ``` SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = "Theodoros Baev" ```
48,954
[ { "from": "human", "value": " 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 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)\n\n Question: What is the total number of Block(s), whe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (name VARCHAR, spike VARCHAR, date_of_birth VARCHAR) Question: What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973? Here is ...
Here is the SQLite query wrapped in code format: ``` SELECT name FROM table_name_98 WHERE spike > 343 AND date_of_birth = "02.03.1973" ```
48,955
[ { "from": "human", "value": " 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 (name VARCHAR, spike VARCHAR, date_of_birth VARCHAR)\n\n Question: What is Name, when Spike is greater than 343, and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR) Question: What was the date of the Paco Rabanne Open de France? Here is the SQLite query to answer to the question: What...
Here is the SQLite query to answer the question about the date of the Paco Rabanne Open de France: ``` SELECT date FROM table_name_95 WHERE tournament = "Paco Rabanne Open de France" ```
48,956
[ { "from": "human", "value": " 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 (date VARCHAR, tournament VARCHAR)\n\n Question: What was the date of the Paco Rabanne Open de France?\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_49 (date VARCHAR, runner_s__up VARCHAR) Question: On which date did Ian Mosey finish runner-up? Here is the SQLite query to answer to the question: On which d...
Here is the SQLite query to answer the question regarding the date Ian Mosey finished runner-up: ``` SELECT date FROM table_name_49 WHERE runner_s__up = "ian mosey"; ```
48,957
[ { "from": "human", "value": " 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, runner_s__up VARCHAR)\n\n Question: On which date did Ian Mosey finish runner-up?\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_74 (set_2 VARCHAR, set_4 VARCHAR) Question: What set 2 has a set 4 of 21-25? Here is the SQLite query to answer to the question: What set 2 has a set 4 of 21-...
Here is the SQLite query to answer the question "What set 2 has a set 4 of 21-25?": ```sql SELECT set_2 FROM table_name_74 WHERE set_4 = '21-25'; ```
48,958
[ { "from": "human", "value": " 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 (set_2 VARCHAR, set_4 VARCHAR)\n\n Question: What set 2 has a set 4 of 21-25?\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_78 (score VARCHAR, set_3 VARCHAR) Question: What was the score when set 3 was 26-28? Here is the SQLite query to answer to the question: What was the score wh...
Here is the SQLite query to answer the question: What was the score when set 3 was 26-28?: ``` SELECT score FROM table_name_78 WHERE set_3 = "26-28" ```
48,959
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (score VARCHAR, set_3 VARCHAR)\n\n Question: What was the score when set 3 was 26-28?\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_2 (date VARCHAR, set_3 VARCHAR) Question: When was set 3 of 18-25? Here is the SQLite query to answer to the question: When was set 3 of 18-25?: ``` SELECT da...
Here is the SQLite query to answer the question: When was set 3 of 18-25?: ``` SELECT date FROM table_name_2 WHERE set_3 = "set 3" AND date = "18-25"; ```
48,960
[ { "from": "human", "value": " 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 (date VARCHAR, set_3 VARCHAR)\n\n Question: When was set 3 of 18-25?\n\nHere is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (away_captain VARCHAR, result VARCHAR) Question: Who was the away captain with a result of Eng by 1 wkt? Here is the SQLite query to answer to the question...
Your SQLite query is correct. It retrieves the away captain from the specified table where the result matches "Eng by 1 wkt". Here is the wrapped code for clarity: ``` SELECT away_captain FROM table_name_43 WHERE result = "Eng by 1 wkt"; ```
48,961
[ { "from": "human", "value": " 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 (away_captain VARCHAR, result VARCHAR)\n\n Question: Who was the away captain with a result of Eng by 1 wkt?\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_79 (date VARCHAR, result VARCHAR) Question: On what date was the result Eng by 1 wkt? Here is the SQLite query to answer to the question: On what date was the...
Here is the SQLite query to answer the question "On what date was the result Eng by 1 wkt?": ``` SELECT date FROM table_name_79 WHERE result = 'Eng by 1 wkt'; ```
48,962
[ { "from": "human", "value": " 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 (date VARCHAR, result VARCHAR)\n\n Question: On what date was the result Eng by 1 wkt?\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_33 (date VARCHAR, away_captain VARCHAR, venue VARCHAR) Question: On what date was Arthur Jones the away captain at Sydney Cricket Ground? Here is the SQLite q...
Here is the SQLite query you can use to find out the date when Arthur Jones was the away captain at Sydney Cricket Ground: ``` SELECT date FROM table_name_33 WHERE away_captain = "Arthur Jones" AND venue = "Sydney Cricket Ground"; ```
48,963
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (date VARCHAR, away_captain VARCHAR, venue VARCHAR)\n\n Question: On what date was Arthur Jones the away captain at ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (place INTEGER, draw VARCHAR) Question: What is the highest place for song that was draw number 6? Here is the SQLite query to answer to the question: What...
Your query is almost correct but it needs a small adjustment. The value for `draw` is of type `VARCHAR`, so it should be wrapped in quotes to match the data type. Here’s the corrected query: ``` SELECT MAX(place) FROM table_name_83 WHERE draw = '6' ```
48,964
[ { "from": "human", "value": " 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 (place INTEGER, draw VARCHAR)\n\n Question: What is the highest place for song that was draw number 6?\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_61 (result VARCHAR, date VARCHAR) Question: What was the result of the game on November 6, 1988? Here is the SQLite query to answer to the question: What was ...
Here is the SQLite query to answer the question regarding the result of the game on November 6, 1988: ``` SELECT result FROM table_name_61 WHERE date = "November 6, 1988"; ```
48,965
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR)\n\n Question: What was the result of the game on November 6, 1988?\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_60 (date VARCHAR, opponent VARCHAR) Question: What was the date of the game against the Los Angeles Rams? Here is the SQLite query to answer to the question: ...
Here's the SQLite query to find the date of the game against the Los Angeles Rams: ``` SELECT date FROM table_name_60 WHERE opponent = "los angeles rams"; ```
48,966
[ { "from": "human", "value": " 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 (date VARCHAR, opponent VARCHAR)\n\n Question: What was the date of the game against the Los Angeles Rams?\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 (total VARCHAR, set_2 VARCHAR, date VARCHAR) Question: What is the total with a 25-19 set 2 on Jun 17? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question about finding the total with a 25-19 set 2 on Jun 17: ``` SELECT total FROM table_name_57 WHERE set_2 = "25-19" AND date = "jun 17" ```
48,967
[ { "from": "human", "value": " 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 (total VARCHAR, set_2 VARCHAR, date VARCHAR)\n\n Question: What is the total with a 25-19 set 2 on Jun 17?\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_73 (set_4 VARCHAR, score VARCHAR) Question: What is the set 4 with a 2-3 score? Here is the SQLite query to answer to the question: What is the set 4 with a 2...
Your SQLite query is correct for retrieving the `set_4` value with a score of "2-3" from the specified table. Here’s how the query is structured: ``` SELECT set_4 FROM table_name_73 WHERE score = "2-3"; ``` This will select all rows where the `score` is "2-3" and return the corresponding `set_4` values. If you need ...
48,968
[ { "from": "human", "value": " 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 (set_4 VARCHAR, score VARCHAR)\n\n Question: What is the set 4 with a 2-3 score?\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_44 (set_5 VARCHAR, set_1 VARCHAR) Question: What is the set 5 with a 19-25 set 1? Here is the SQLite query to answer to the question: What is the set 5 with a...
Here is the SQLite query to answer the question about what is the set 5 with a 19-25 set 1: ```sql SELECT set_5 FROM table_name_44 WHERE set_1 = '19-25'; ```
48,969
[ { "from": "human", "value": " 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 (set_5 VARCHAR, set_1 VARCHAR)\n\n Question: What is the set 5 with a 19-25 set 1?\n\nHere is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (set_1 VARCHAR, set_4 VARCHAR) Question: What is the set 1 with a 28-30 set 4? Here is the SQLite query to answer to the question: What is the set 1 with a...
Your query is almost correct, but it appears that you want to filter results based on a range of values for `set_4`, specifically for values "28-30". The condition you provided seems to treat "28-30" as a specific value rather than a range. If you want to capture rows where `set_4` could be treated as a range involving...
48,970
[ { "from": "human", "value": " 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 (set_1 VARCHAR, set_4 VARCHAR)\n\n Question: What is the set 1 with a 28-30 set 4?\n\nHere is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (result VARCHAR, goal INTEGER) Question: What is the result when there's less than 2 goals? Here is the SQLite query to answer to the question: What is the...
Here is the SQLite query to answer the question regarding the result when there are less than 2 goals: ``` SELECT result FROM table_name_46 WHERE goal < 2 ```
48,971
[ { "from": "human", "value": " 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 (result VARCHAR, goal INTEGER)\n\n Question: What is the result when there's less than 2 goals?\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_18 (score VARCHAR, goal INTEGER) Question: What is the score when there are less than 2 goals? Here is the SQLite query to answer to the question: What is the...
Here is the SQLite query to answer the question: What is the score when there are less than 2 goals?: ``` SELECT score FROM table_name_18 WHERE goal < 2 ```
48,972
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (score VARCHAR, goal INTEGER)\n\n Question: What is the score when there are less than 2 goals?\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_20 (points INTEGER, lost VARCHAR, position VARCHAR, played VARCHAR) Question: How many points on average had a position smaller than 8, 16 plays, and a lost la...
Your SQLite query is almost correct, but you need to ensure that the `played` field is being compared correctly in terms of its data type. Assuming `played` is stored as a string (VARCHAR), you should compare it as a string rather than a number. Here's the revised query wrapped in code formatting: ```sql SELECT AVG(p...
48,973
[ { "from": "human", "value": " 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 (points INTEGER, lost VARCHAR, position VARCHAR, played VARCHAR)\n\n Question: How many points on average had a posi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (attendance INTEGER, opponent VARCHAR) Question: What was the lowest Attendance when the Opponent was Maryland? Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question about the lowest attendance when the opponent was Maryland: ``` SELECT MIN(attendance) FROM table_name_4 WHERE opponent = "Maryland" ```
48,974
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (attendance INTEGER, opponent VARCHAR)\n\n Question: What was the lowest Attendance when the Opponent was Maryland?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (network VARCHAR, local_name VARCHAR) Question: Which Network has a Local name of moj tata je bolji od tvog tate? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question: ``` SELECT network FROM table_name_56 WHERE local_name = "moj tata je bolji od tvog tate"; ```
48,975
[ { "from": "human", "value": " 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 (network VARCHAR, local_name VARCHAR)\n\n Question: Which Network has a Local name of moj tata je bolji od tvog tate...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (country VARCHAR, network VARCHAR) Question: Which Country has a Network of channel 1? Here is the SQLite query to answer to the question: Which Country ha...
Here is the SQLite query to answer the question: Which Country has a Network of channel 1?: ``` SELECT country FROM table_name_97 WHERE network = "channel 1"; ```
48,976
[ { "from": "human", "value": " 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 (country VARCHAR, network VARCHAR)\n\n Question: Which Country has a Network of channel 1?\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_61 (country VARCHAR, network VARCHAR) Question: Which Country has a Network of nelonen? Here is the SQLite query to answer to the question: Which Country has ...
Here is the SQLite query to answer the question: Which Country has a Network of nelonen?: ``` SELECT country FROM table_name_61 WHERE network = "nelonen"; ```
48,977
[ { "from": "human", "value": " 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 (country VARCHAR, network VARCHAR)\n\n Question: Which Country has a Network of nelonen?\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_60 (local_name VARCHAR, network VARCHAR) Question: Which Local name has a Network of nova tv? Here is the SQLite query to answer to the question: Which Local ...
Here is the SQLite query to answer the question: Which Local name has a Network of nova tv?: ``` SELECT local_name FROM table_name_60 WHERE network = "nova tv"; ```
48,978
[ { "from": "human", "value": " 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 (local_name VARCHAR, network VARCHAR)\n\n Question: Which Local name has a Network of nova tv?\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_36 (local_name VARCHAR, network VARCHAR) Question: Which Local name has a Network of tvn? Here is the SQLite query to answer to the question: Which Local name...
Here is the SQLite query to answer the question regarding which local name has a network of 'tvn': ``` SELECT local_name FROM table_name_36 WHERE network = 'tvn'; ```
48,979
[ { "from": "human", "value": " 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 (local_name VARCHAR, network VARCHAR)\n\n Question: Which Local name has a Network of tvn?\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_18 (country VARCHAR, host VARCHAR) Question: Which Country has a Host of miguel esteban? Here is the SQLite query to answer to the question: Which Country has...
Here is the SQLite query to answer the question: Which Country has a Host of miguel esteban?: ``` SELECT country FROM table_name_18 WHERE host = "miguel esteban"; ```
48,980
[ { "from": "human", "value": " 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 (country VARCHAR, host VARCHAR)\n\n Question: Which Country has a Host of miguel esteban?\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_54 (chapter INTEGER, pinyin VARCHAR, articles VARCHAR) Question: Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than...
Here is the SQLite query to answer your question: ``` SELECT MIN(chapter) FROM table_name_54 WHERE pinyin = 'dehua' AND articles < 16; ```
48,981
[ { "from": "human", "value": " 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 (chapter INTEGER, pinyin VARCHAR, articles VARCHAR)\n\n Question: Can you tell me the lowest Chapter that has the Pi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (chapter INTEGER, articles INTEGER) Question: Can you tell me the average Chapter that has Articles smaller than 15? Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question about the average Chapter that has Articles smaller than 15: ``` SELECT AVG(chapter) FROM table_name_48 WHERE articles < 15 ```
48,982
[ { "from": "human", "value": " 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 (chapter INTEGER, articles INTEGER)\n\n Question: Can you tell me the average Chapter that has Articles smaller than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (chinese VARCHAR, chapter VARCHAR, english_translation VARCHAR) Question: Can you tell me the Chinese that has the Chapter larger than 4, and the English Tra...
```sql SELECT chinese FROM table_name_7 WHERE chapter > 4 AND english_translation = 'food transformations'; ```
48,983
[ { "from": "human", "value": " 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 (chinese VARCHAR, chapter VARCHAR, english_translation VARCHAR)\n\n Question: Can you tell me the Chinese that has th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (english_translation VARCHAR, articles VARCHAR) Question: Can you tell me the English Translation that has the Articles of 24? Here is the SQLite query to ...
Your query has a small issue regarding the comparison of the `articles` column. Since `articles` is defined as a `VARCHAR`, the value `24` should be enclosed in quotes. Here's the corrected version of your query: ``` SELECT english_translation FROM table_name_44 WHERE articles = '24' ```
48,984
[ { "from": "human", "value": " 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 (english_translation VARCHAR, articles VARCHAR)\n\n Question: Can you tell me the English Translation that has the A...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (icao VARCHAR, iata VARCHAR) Question: What shows for ICAO when the IATA is sin? Here is the SQLite query to answer to the question: What shows for ICAO wh...
Here is the SQLite query to answer the question about what shows for ICAO when the IATA is 'sin': ``` SELECT icao FROM table_name_83 WHERE iata = 'sin'; ```
48,985
[ { "from": "human", "value": " 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 (icao VARCHAR, iata VARCHAR)\n\n Question: What shows for ICAO when the IATA is sin?\n\nHere is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (iata VARCHAR, country VARCHAR, icao VARCHAR) Question: What is the IATA when France was the country, and the ICAO was lfrn? Here is the SQLite query to an...
Here is the SQLite query to answer the question: ``` SELECT iata FROM table_name_72 WHERE country = "france" AND icao = "lfrn"; ```
48,986
[ { "from": "human", "value": " 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 (iata VARCHAR, country VARCHAR, icao VARCHAR)\n\n Question: What is the IATA when France was the country, and the IC...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (airport VARCHAR, country VARCHAR, city VARCHAR) Question: What is the Airport when France was the country, and Montpellier was the city? Here is the SQLit...
Here is the SQLite query to answer the question regarding the airport in Montpellier, France: ``` SELECT airport FROM table_name_82 WHERE country = "France" AND city = "Montpellier"; ```
48,987
[ { "from": "human", "value": " 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 (airport VARCHAR, country VARCHAR, city VARCHAR)\n\n Question: What is the Airport when France was the country, and ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (icao VARCHAR, airport VARCHAR) Question: What is the ICAO for luqa airport? Here is the SQLite query to answer to the question: What is the ICAO for luqa ...
Here is the SQLite query to answer the question about the ICAO for Luqa airport: ``` SELECT icao FROM table_name_66 WHERE airport = "luqa airport" ```
48,988
[ { "from": "human", "value": " 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 (icao VARCHAR, airport VARCHAR)\n\n Question: What is the ICAO for luqa airport?\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_30 (airport VARCHAR, city VARCHAR) Question: What is the Airport for New York City? Here is the SQLite query to answer to the question: What is the Airport fo...
Here is the SQLite query to answer the question: What is the Airport for New York City?: ``` SELECT airport FROM table_name_30 WHERE city = "New York City"; ```
48,989
[ { "from": "human", "value": " 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 (airport VARCHAR, city VARCHAR)\n\n Question: What is the Airport for New York City?\n\nHere is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (country VARCHAR, iata VARCHAR) Question: What is the Country when the IATA was osl? Here is the SQLite query to answer to the question: What is the Countr...
Here is the SQLite query to answer the question regarding the country when the IATA was "osl": ```sql SELECT country FROM table_name_94 WHERE iata = "osl"; ```
48,990
[ { "from": "human", "value": " 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 (country VARCHAR, iata VARCHAR)\n\n Question: What is the Country when the IATA was osl?\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_76 (division VARCHAR, playoffs VARCHAR, year VARCHAR, regular_season VARCHAR) Question: Which Division has a Year larger than 1996,a Regular Season of 4th, and...
Here is the SQLite query to answer the question: ``` SELECT division FROM table_name_76 WHERE year > 1996 AND regular_season = "4th" AND playoffs = "final"; ```
48,991
[ { "from": "human", "value": " 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 (division VARCHAR, playoffs VARCHAR, year VARCHAR, regular_season VARCHAR)\n\n Question: Which Division has a Year l...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (league VARCHAR, open_cup VARCHAR, year VARCHAR) Question: Which League that has a Open Cup of 1st round, and a Year of 2009? Here is the SQLite query to a...
Here is the SQLite query to answer the question regarding which League has an Open Cup of "1st round" and a Year of 2009: ``` SELECT league FROM table_name_99 WHERE open_cup = '1st round' AND year = '2009' ```
48,992
[ { "from": "human", "value": " 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 (league VARCHAR, open_cup VARCHAR, year VARCHAR)\n\n Question: Which League that has a Open Cup of 1st round, 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_50 (playoffs VARCHAR, division VARCHAR, regular_season VARCHAR) Question: Which Playoffs has a Division of 2 and a Regular Season of 4th, southeast? Here is t...
Here is the SQLite query to answer the question: ``` SELECT playoffs FROM table_name_50 WHERE division = "2" AND regular_season = "4th, southeast" ```
48,993
[ { "from": "human", "value": " 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 (playoffs VARCHAR, division VARCHAR, regular_season VARCHAR)\n\n Question: Which Playoffs has a Division 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_6 (points INTEGER, points_for VARCHAR, points_against VARCHAR) Question: What are the least amount of points that have points for greater than 438, and points ...
Here is the SQLite query to find the least amount of points that have points for greater than 438 and points against greater than 943: ``` SELECT MIN(points) FROM table_name_6 WHERE points_for > 438 AND points_against > 943 ```
48,994
[ { "from": "human", "value": " 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 (points INTEGER, points_for VARCHAR, points_against VARCHAR)\n\n Question: What are the least amount of points that h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (loses INTEGER, points VARCHAR, points_against VARCHAR, club VARCHAR) Question: What are the highest losses that have points agaisnt less than 956, high par...
Your SQLite query looks great for the specified task. Here it is wrapped in code formatting: ``` SELECT MAX(loses) FROM table_name_93 WHERE points_against < 956 AND club = "high park demons" AND points < 16; ``` This query will return the maximum number of losses for entries where the points against is less than 956...
48,995
[ { "from": "human", "value": " 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 (loses INTEGER, points VARCHAR, points_against VARCHAR, club VARCHAR)\n\n Question: What are the highest losses that...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (club VARCHAR, points_against VARCHAR, loses VARCHAR, wins VARCHAR) Question: What club has losses greater than 1, 4 for the wins, with points against less ...
Your SQLite query is correct based on the given schema and the requirements of the question. Here it is wrapped in the appropriate format: ``` SELECT club FROM table_name_83 WHERE loses > 1 AND wins = 4 AND points_against < 894; ```
48,996
[ { "from": "human", "value": " 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 (club VARCHAR, points_against VARCHAR, loses VARCHAR, wins VARCHAR)\n\n Question: What club has losses greater than ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (loses VARCHAR, points_for VARCHAR, points_against VARCHAR, club VARCHAR) Question: How many losses have points against greater than 592, with high park dem...
Here is the SQLite query to answer the question: ``` SELECT COUNT(loses) FROM table_name_45 WHERE points_against > 592 AND club = "high park demons" AND points_for > 631; ```
48,997
[ { "from": "human", "value": " 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 (loses VARCHAR, points_for VARCHAR, points_against VARCHAR, club VARCHAR)\n\n Question: How many losses have points ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (loses VARCHAR, points VARCHAR, points_against VARCHAR, points_for VARCHAR, wins VARCHAR) Question: What losses have points for less than 1175, wins greater...
Here is the SQLite query to answer the question based on the given criteria: ```sql SELECT loses FROM table_name_84 WHERE points_for < 1175 AND wins > 2 AND points_against > 894 AND points = '24'; ``` Note that I added single quotes around the value `24` for the `points` column since it is defined as a VA...
48,998
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (loses VARCHAR, points VARCHAR, points_against VARCHAR, points_for VARCHAR, wins VARCHAR)\n\n Question: What losses ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (track INTEGER, writer_s_ VARCHAR, time VARCHAR) Question: What's the smallest track written by dennis linde that's 2:50 minutes long Here is the SQLite qu...
Here is the SQLite query to answer the question about the smallest track written by Dennis Linde that is 2:50 minutes long: ```sql SELECT MIN(track) FROM table_name_37 WHERE writer_s_ = "dennis linde" AND time = "2:50"; ```
48,999
[ { "from": "human", "value": " 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 (track INTEGER, writer_s_ VARCHAR, time VARCHAR)\n\n Question: What's the smallest track written by dennis linde tha...