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_37 (car_numbers VARCHAR, first_used VARCHAR) Question: Which Car numbers have a First used of currently on order? Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question about which Car numbers have a First used of "currently on order": ``` SELECT car_numbers FROM table_name_37 WHERE first_used = "currently on order"; ```
9,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_37 (car_numbers VARCHAR, first_used VARCHAR)\n\n Question: Which Car numbers have a First used of currently on order?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (elected INTEGER, district VARCHAR) Question: What was the year elected in District 17? Here is the SQLite query to answer to the question: What was the ye...
Your query is almost correct, but in SQL, the district should be treated as a string since the column is defined as VARCHAR. So you need to wrap the district number in quotes. Here is the modified query: ``` SELECT MIN(elected) FROM table_name_87 WHERE district = '17' ```
9,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_87 (elected INTEGER, district VARCHAR)\n\n Question: What was the year elected in District 17?\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_56 (elected VARCHAR, district VARCHAR) Question: What was the year elected in District 15? Here is the SQLite query to answer to the question: What was the ye...
The query you provided is almost correct, but it seems there is a minor issue with treating the district value as an integer instead of a string. Assuming that 'district' is stored as a string in the `district` column, you should wrap the district value in quotes. Here’s the corrected query: ``` SELECT elected FROM ta...
9,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_56 (elected VARCHAR, district VARCHAR)\n\n Question: What was the year elected in District 15?\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_19 (elected INTEGER, incumbent VARCHAR, district VARCHAR) Question: What year was Incumbent Ed Towns elected with a district smaller than 10? Here is the SQLi...
The query you've written to find the average year when incumbent Ed Towns was elected in a district smaller than 10 is almost correct, but it seems like you're trying to find the specific year rather than the average. If you want to find the exact year he was elected, you should use the `SELECT` statement without the `...
9,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_19 (elected INTEGER, incumbent VARCHAR, district VARCHAR)\n\n Question: What year was Incumbent Ed Towns elected with a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (party VARCHAR, elected VARCHAR, district VARCHAR) Question: What party has a district of 28 and was elected after 1983? Here is the SQLite query to answer...
Here is the SQLite query to answer the question about what party has a district of 28 and was elected after 1983: ```sql SELECT party FROM table_name_98 WHERE elected > 1983 AND district = '28' ``` Note: Ensure that the value for district is treated as a string, since the column is defined as VARCHAR.
9,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_98 (party VARCHAR, elected VARCHAR, district VARCHAR)\n\n Question: What party has a district of 28 and was elected aft...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR) Question: What's the elected year of Nydia Velazquez in a district bigger than 2 and a...
Your provided query is almost correct, but it seems you are looking for the specific elected year rather than the average. To get that, you should select the `elected` year instead of calculating the average. Here’s the corrected SQLite query: ```sql SELECT elected FROM table_name_69 WHERE party = "democrat" AND distr...
9,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_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR)\n\n Question: What's the elected year of Nydia...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (year INTEGER, top_goalscorer VARCHAR, goals VARCHAR) Question: Name the least year for goalscore of ortiz and goals more than 25 Here is the SQLite query ...
Your provided SQLite query is almost correct, but there is a small issue regarding the data type of the `goals` column. The `goals` column is of type `VARCHAR`, which means you need to convert it to an integer to compare it correctly. You should use `CAST(goals AS INTEGER)` for the comparison. Here’s the corrected que...
9,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_81 (year INTEGER, top_goalscorer VARCHAR, goals VARCHAR)\n\n Question: Name the least year for goalscore of ortiz and g...
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, visitor VARCHAR) Question: What was the date of the game when St. Louis was the visiting team? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question regarding the date of the game when St. Louis was the visiting team: ```sql SELECT date FROM table_name_17 WHERE visitor = "st. louis"; ```
9,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_17 (date VARCHAR, visitor VARCHAR)\n\n Question: What was the date of the game when St. Louis was the visiting team?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (record VARCHAR, score VARCHAR) Question: What was the record at the game with a score of 7–5? Here is the SQLite query to answer to the question: What was...
Here is the SQLite query to answer the question about the record at the game with a score of 7–5: ``` SELECT record FROM table_name_42 WHERE score = "7–5" ```
9,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_42 (record VARCHAR, score VARCHAR)\n\n Question: What was the record at the game with a score of 7–5?\n\nHere is the SQ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR) Question: What position shows for canada, and an NHL team of new york island...
Here is the SQLite query to answer the question regarding the position for Canada, an NHL team of New York Islanders, and a Pick # of 113: ``` SELECT position FROM table_name_29 WHERE nationality = "canada" AND nhl_team = "new york islanders" AND pick__number = "113" ```
9,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_29 (position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR)\n\n Question: What position shows fo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (position VARCHAR, college_junior_club_team VARCHAR) Question: What is the Position for the brandon wheat kings (wchl)? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question regarding the position for the Brandon Wheat Kings (WCHL): ``` SELECT position FROM table_name_92 WHERE college_junior_club_team = "brandon wheat kings (wchl)" ```
9,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_92 (position VARCHAR, college_junior_club_team VARCHAR)\n\n Question: What is the Position for the brandon wheat kings ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR) Question: What is the Nationality for the university of wisconsin (wcha), and a Play...
Here is the SQLite query to answer the question: ``` SELECT nationality FROM table_name_30 WHERE college_junior_club_team = "university of wisconsin (wcha)" AND player = "bob lundeen" ```
9,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_30 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR)\n\n Question: What is the Nationality for th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (pick__number VARCHAR, player VARCHAR) Question: What is the Pick # for brent meeke? Here is the SQLite query to answer to the question: What is the Pick #...
Here's the SQLite query to answer the question regarding the Pick # for brent meeke: ``` SELECT pick__number FROM table_name_45 WHERE player = "brent meeke" ```
9,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_45 (pick__number VARCHAR, player VARCHAR)\n\n Question: What is the Pick # for brent meeke?\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_29 (nhl_team VARCHAR, player VARCHAR) Question: What is the NHL team of dave murphy? Here is the SQLite query to answer to the question: What is the NHL team ...
Here is the SQLite query to answer the question about the NHL team of Dave Murphy: ``` SELECT nhl_team FROM table_name_29 WHERE player = "dave murphy" ```
9,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_29 (nhl_team VARCHAR, player VARCHAR)\n\n Question: What is the NHL team of dave murphy?\n\nHere is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (nationality VARCHAR, pick__number VARCHAR) Question: What Nationality had a Pick # of 117? Here is the SQLite query to answer to the question: What Nation...
Your provided SQLite query is correct for retrieving the nationality with a Pick # of 117. Here it is wrapped in code format as requested: ``` SELECT nationality FROM table_name_91 WHERE pick__number = "117"; ```
9,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_91 (nationality VARCHAR, pick__number VARCHAR)\n\n Question: What Nationality had a Pick # of 117?\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_46 (date VARCHAR, athlete VARCHAR) Question: On what Date of the race was Nesta Carter the Athlete? Here is the SQLite query to answer to the question: On wha...
Here is the SQLite query to answer the question regarding the date of the race for Nesta Carter: ``` SELECT date FROM table_name_46 WHERE athlete = "Nesta Carter"; ```
9,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_46 (date VARCHAR, athlete VARCHAR)\n\n Question: On what Date of the race was Nesta Carter the Athlete?\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_14 (athlete VARCHAR, time VARCHAR) Question: What is the Athlete of the race with a Time of 9.78? Here is the SQLite query to answer to the question: What is ...
Here is the corrected SQLite query to find the Athlete of the race with a Time of 9.78. Please note that the time value should be treated as a string, since the column type is VARCHAR: ``` SELECT athlete FROM table_name_14 WHERE time = '9.78' ```
9,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_14 (athlete VARCHAR, time VARCHAR)\n\n Question: What is the Athlete of the race with a Time of 9.78?\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_38 (area_2006_km² INTEGER, area_1996_km² INTEGER) Question: Which area 2006 km² has an area 1996 km² smaller than 17.31? Here is the SQLite query to answer to...
Here is the SQLite query to answer the question regarding which area in 2006 km² has an area in 1996 km² smaller than 17.31: ``` SELECT area_2006_km² FROM table_name_38 WHERE area_1996_km² < 17.31; ``` This query retrieves all records of area_2006_km² where the area_1996_km² is less than 17.31. If you want the maxim...
9,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_38 (area_2006_km² INTEGER, area_1996_km² INTEGER)\n\n Question: Which area 2006 km² has an area 1996 km² smaller than 1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (area_2006_km² INTEGER, area_1996_km² VARCHAR, pop_2006 VARCHAR) Question: Which area 2006 km² has an area 1996 km² of 26.39, and a pop 2006 smaller than 18...
Your SQLite query seems to have some small errors in terms of syntax and logic. The value for `area_1996_km²` should be compared as a string since it is defined as `VARCHAR`, and I believe you meant to compare `pop_2006` directly as a number rather than with a string `18`. Additionally, to correctly compare the populat...
9,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_94 (area_2006_km² INTEGER, area_1996_km² VARCHAR, pop_2006 VARCHAR)\n\n Question: Which area 2006 km² has an area 1996 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (area_2006_km² INTEGER, city VARCHAR, area_1996_km² VARCHAR) Question: Which area 2006 km² has a city of sopot, and an area 1996 km² smaller than 17.31? He...
Here is the SQLite query to answer the question regarding the area of the city of Sopot and the specified condition for area 1996: ```sql SELECT MAX(area_2006_km²) FROM table_name_22 WHERE city = 'sopot' AND area_1996_km² < 17.31; ```
9,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_22 (area_2006_km² INTEGER, city VARCHAR, area_1996_km² VARCHAR)\n\n Question: Which area 2006 km² has a city of sopot, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (area_1996_km² INTEGER, pop_1999 VARCHAR, area_2006_km² VARCHAR) Question: Which area 1996 km² has a pop 1999 of 17,510, and an area 2006 km² larger than 30...
Here is the correct SQLite query to answer the question based on the provided schema: ```sql SELECT area_1996_km² FROM table_name_91 WHERE pop_1999 = "17,510" AND area_2006_km² > 30 ``` This query selects the area for the year 1996 where the population in 1999 is "17,510" and the area for the year 2006 is greater ...
9,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_91 (area_1996_km² INTEGER, pop_1999 VARCHAR, area_2006_km² VARCHAR)\n\n Question: Which area 1996 km² has a pop 1999 of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (playoffs INTEGER, teams VARCHAR) Question: What is the highest playoffs that has tampa bay as the team? Here is the SQLite query to answer to the question...
Sure! Here is the SQLite query to find the highest playoffs that has Tampa Bay as the team: ``` SELECT MAX(playoffs) FROM table_name_79 WHERE teams = "tampa bay" ```
9,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_79 (playoffs INTEGER, teams VARCHAR)\n\n Question: What is the highest playoffs that has tampa bay as the team?\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_96 (rank VARCHAR, total VARCHAR) Question: What rank has 123 as the total? Here is the SQLite query to answer to the question: What rank has 123 as the total?...
Here is the SQLite query to answer the question: What rank has 123 as the total?: ``` SELECT rank FROM table_name_96 WHERE total = '123' ```
9,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_96 (rank VARCHAR, total VARCHAR)\n\n Question: What rank has 123 as the total?\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_35 (teams VARCHAR, streak_end VARCHAR) Question: What teams have 1/2/2011 as the streak end? Here is the SQLite query to answer to the question: What teams ha...
Here is the SQLite query to answer the question about which teams have "1/2/2011" as the streak end: ``` SELECT teams FROM table_name_35 WHERE streak_end = "1/2/2011"; ```
9,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_35 (teams VARCHAR, streak_end VARCHAR)\n\n Question: What teams have 1/2/2011 as the streak end?\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_28 (streak_start VARCHAR, teams VARCHAR, total VARCHAR, rank VARCHAR) Question: What streak start has a total less than 79, 22t as the rank, and tampa bay as t...
Here is the SQLite query to answer the question you provided: ``` SELECT streak_start FROM table_name_28 WHERE total < 79 AND rank = "22t" AND teams = "tampa bay" ```
9,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_28 (streak_start VARCHAR, teams VARCHAR, total VARCHAR, rank VARCHAR)\n\n Question: What streak start has a total less ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (method VARCHAR, event VARCHAR) Question: What was the method for the UFC Fight Night 10 event? Here is the SQLite query to answer to the question: What wa...
Here is the SQLite query to answer the question: ``` SELECT method FROM table_name_11 WHERE event = "UFC Fight Night 10"; ```
9,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_11 (method VARCHAR, event VARCHAR)\n\n Question: What was the method for the UFC Fight Night 10 event?\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_60 (res VARCHAR, event VARCHAR) Question: What was the result for the M-1 Selection Europe event? Here is the SQLite query to answer to the question: What was...
Here is the SQLite query to answer the question about the result for the M-1 Selection Europe event: ``` SELECT res FROM table_name_60 WHERE event = "M-1 Selection Europe"; ```
9,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_60 (res VARCHAR, event VARCHAR)\n\n Question: What was the result for the M-1 Selection Europe event?\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_55 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent that led to a record of 23-5? Here is the SQLite query to answer to the question: Who was...
Here is the SQLite query to answer the question: Who was the opponent that led to a record of 23-5?: ``` SELECT opponent FROM table_name_55 WHERE record = '23-5'; ```
9,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_55 (opponent VARCHAR, record VARCHAR)\n\n Question: Who was the opponent that led to a record of 23-5?\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_78 (silver VARCHAR, bronze VARCHAR, gold VARCHAR) Question: What is the number of Silver medals with 2 Bronze and 0 Gold? Here is the SQLite query to answer t...
The SQLite query you've provided has some errors. Specifically, the condition for the bronze medals should check for a count of 2, and the condition for gold medals should check for equality to 0, not less than 0. Assuming that silver, bronze, and gold represent the medal counts or specific indicators of medals (like...
9,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_78 (silver VARCHAR, bronze VARCHAR, gold VARCHAR)\n\n Question: What is the number of Silver medals with 2 Bronze and 0...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (champion VARCHAR) Question: what team was the 1st leg champion of sakalai Here is the SQLite query to answer to the question: what team was the 1st leg ch...
It looks like you're trying to find the first leg champion for "sakalai" from the table `table_name_98`. However, your query does not seem to directly answer the question you posed. To select the champion associated with "sakalai", you would typically want to do something like this: ```sql SELECT champion FROM table...
9,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_98 (champion VARCHAR)\n\n Question: what team was the 1st leg champion of sakalai\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_54 (season VARCHAR, champion VARCHAR) Question: what season did the juventus win Here is the SQLite query to answer to the question: what season did the juven...
Here is the SQLite query to answer the question: what season did Juventus win: ``` SELECT season FROM table_name_54 WHERE champion = "juventus" ```
9,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_54 (season VARCHAR, champion VARCHAR)\n\n Question: what season did the juventus win\n\nHere is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (year INTEGER, points VARCHAR, rank VARCHAR) Question: What's the average Year that has Points that's smaller than 9 with a Rank of 24th? Here is the SQLit...
Here is the SQLite query to answer the question about the average Year that has Points smaller than 9 with a Rank of 24th: ``` SELECT AVG(year) FROM table_name_71 WHERE points < '9' AND rank = '24th'; ```
9,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_71 (year INTEGER, points VARCHAR, rank VARCHAR)\n\n Question: What's the average Year that has Points that's smaller th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (rider VARCHAR, rank VARCHAR, speed VARCHAR) Question: Who has a Rank larger than 3 with a speed of 119.838mph? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question: Who has a Rank larger than 3 with a speed of 119.838mph?: ``` SELECT rider FROM table_name_12 WHERE rank > '3' AND speed = '119.838mph' ```
9,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_12 (rider VARCHAR, rank VARCHAR, speed VARCHAR)\n\n Question: Who has a Rank larger than 3 with a speed of 119.838mph?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (team VARCHAR, time VARCHAR) Question: Which Team has a Time of 1:14.51.73? Here is the SQLite query to answer to the question: Which Team has a Time of 1:...
Here is the SQLite query to answer the question: Which Team has a Time of 1:14.51.73?: ``` SELECT team FROM table_name_31 WHERE time = "1:14.51.73"; ```
9,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_31 (team VARCHAR, time VARCHAR)\n\n Question: Which Team has a Time of 1:14.51.73?\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_6 (speed VARCHAR, rank VARCHAR, team VARCHAR) Question: Which Speed has a Rank smaller than 9 in kawasaki zx6 600cc Team? Here is the SQLite query to answer t...
Your query looks correct for selecting the speed where the rank is less than 9 for the "kawasaki zx6 600cc" team. Here it is wrapped in the proper format: ``` SELECT speed FROM table_name_6 WHERE rank < 9 AND team = "kawasaki zx6 600cc"; ```
9,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_6 (speed VARCHAR, rank VARCHAR, team VARCHAR)\n\n Question: Which Speed has a Rank smaller than 9 in kawasaki zx6 600cc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (speed VARCHAR, rank VARCHAR) Question: WHich Speed has a Rank of 2? Here is the SQLite query to answer to the question: WHich Speed has a Rank of 2?: ``` ...
Here is the SQLite query to answer the question: Which Speed has a Rank of 2?: ``` SELECT speed FROM table_name_59 WHERE rank = '2' ```
9,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_59 (speed VARCHAR, rank VARCHAR)\n\n Question: WHich Speed has a Rank of 2?\n\nHere is the SQLite query to answer to 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 (game INTEGER, opponent VARCHAR, february VARCHAR) Question: What is the total of Game with an Opponent of @ Hartford Whalers and February that's larger tha...
Here is the SQLite query to answer the question: ```sql SELECT SUM(game) FROM table_name_49 WHERE opponent = "@ Hartford Whalers" AND february > 19 ```
9,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_49 (game INTEGER, opponent VARCHAR, february VARCHAR)\n\n Question: What is the total of Game with an Opponent of @ Har...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (opponent VARCHAR, february VARCHAR, record VARCHAR) Question: Which Opponent has a February larger than 7 and Record of 37-16-4? Here is the SQLite query t...
Here is the SQLite query to answer the question: ``` SELECT opponent FROM table_name_3 WHERE february > 7 AND record = "37-16-4"; ```
9,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_3 (opponent VARCHAR, february VARCHAR, record VARCHAR)\n\n Question: Which Opponent has a February larger than 7 and Re...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (february INTEGER, record VARCHAR, game VARCHAR) Question: What is listed as the highest February with a Record of 34-14-4 and Game that's larger than 52? ...
Sure! Here is the SQLite query that answers the question you posed: ``` SELECT MAX(february) FROM table_name_51 WHERE record = "34-14-4" AND game > 52 ```
9,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_51 (february INTEGER, record VARCHAR, game VARCHAR)\n\n Question: What is listed as the highest February with a Record ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (opponent VARCHAR, game VARCHAR, february VARCHAR) Question: Which Opponent has a Game larger than 56 and February of 24? Here is the SQLite query to answe...
Your provided SQLite query is almost correct, but it needs some modifications to ensure that the comparison with `february` is done correctly, considering the data type of the `february` column. Assuming that `february` is stored as a string and should be compared as an integer, it would be better to cast it appropriat...
9,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_89 (opponent VARCHAR, game VARCHAR, february VARCHAR)\n\n Question: Which Opponent has a Game larger than 56 and Februa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR) Question: Which Extra points is the lowest one that has a Player of rheinschild, and Touchdowns l...
Your SQLite query to find the minimum extra points for the player "rheinschild" with touchdowns greater than 1 is correct. Here it is wrapped in code formatting: ``` SELECT MIN(extra_points) FROM table_name_26 WHERE player = "rheinschild" AND touchdowns > 1; ```
9,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_26 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR)\n\n Question: Which Extra points is the lowest one 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_76 (result VARCHAR, couple VARCHAR) Question: What result has mario & karina as the couple? Here is the SQLite query to answer to the question: What result ha...
Here is the SQLite query to answer the question about the result for the couple "mario & karina": ``` SELECT result FROM table_name_76 WHERE couple = "mario & karina"; ```
9,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_76 (result VARCHAR, couple VARCHAR)\n\n Question: What result has mario & karina as the couple?\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_15 (time VARCHAR, set_2 VARCHAR, date VARCHAR) Question: Which Time has a Set 2 of 20–25, and a Date of 05 jun? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question regarding which Time has a Set 2 of 20–25, and a Date of 05 jun: ``` SELECT time FROM table_name_15 WHERE set_2 = "20–25" AND date = "05 jun" ```
9,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_15 (time VARCHAR, set_2 VARCHAR, date VARCHAR)\n\n Question: Which Time has a Set 2 of 20–25, and a Date of 05 jun?\n\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR, set_2 VARCHAR) Question: Which Date has a Score of 0–3, and a Set 2 of 16–25? Here is the SQLite query to answer to the quest...
Your SQLite query to find dates with a score of "0–3" and a set 2 of "16–25" is correct. Here’s the query wrapped in the appropriate format: ``` SELECT date FROM table_name_49 WHERE score = "0–3" AND set_2 = "16–25"; ```
9,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_49 (date VARCHAR, score VARCHAR, set_2 VARCHAR)\n\n Question: Which Date has a Score of 0–3, and a Set 2 of 16–25?\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_60 (total VARCHAR, set_2 VARCHAR) Question: Which Total has a Set 2 of 19–25? Here is the SQLite query to answer to the question: Which Total has a Set 2 of 1...
Here is the SQLite query to answer the question: Which Total has a Set 2 of 19–25?: ``` SELECT total FROM table_name_60 WHERE set_2 = "19–25"; ```
9,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_60 (total VARCHAR, set_2 VARCHAR)\n\n Question: Which Total has a Set 2 of 19–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_9 (score VARCHAR, set_2 VARCHAR, time VARCHAR) Question: Which Score has a Set 2 of 25–17, and a Time of 16:00? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question regarding which Score has a Set 2 of 25–17, and a Time of 16:00: ``` SELECT score FROM table_name_9 WHERE set_2 = "25–17" AND time = "16:00"; ```
9,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_9 (score VARCHAR, set_2 VARCHAR, time VARCHAR)\n\n Question: Which Score has a Set 2 of 25–17, and a Time of 16:00?\n\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR) Question: Which Set 1 has a Time of 14:00, and a Set 3 of 19–25? Here is the SQLite query to answer to the que...
The SQLite query to answer the question "Which Set 1 has a Time of 14:00, and a Set 3 of 19–25?" is as follows: ``` SELECT set_1 FROM table_name_22 WHERE time = "14:00" AND set_3 = "19–25" ```
9,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_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR)\n\n Question: Which Set 1 has a Time of 14:00, and a Set 3 of 19–25?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR) Question: Which Time has a Set 3 of 24–26, and a Score of 0–3? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question regarding which Time has a Set 3 of 24–26, and a Score of 0–3: ``` SELECT time FROM table_name_68 WHERE set_3 = "24–26" AND score = "0–3" ```
9,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_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR)\n\n Question: Which Time has a Set 3 of 24–26, and a Score of 0–3?\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_44 (attendance VARCHAR, home_team VARCHAR) Question: What was the attendance when Nuneaton Borough was the home team? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question about attendance when Nuneaton Borough was the home team: ``` SELECT attendance FROM table_name_44 WHERE home_team = "Nuneaton Borough"; ```
9,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_44 (attendance VARCHAR, home_team VARCHAR)\n\n Question: What was the attendance when Nuneaton Borough was the home tea...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (nflcom_recap VARCHAR, game_site VARCHAR) Question: What's the site of the recap at qualcomm stadium? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question "What's the site of the recap at qualcomm stadium?": ``` SELECT game_site FROM table_name_81 WHERE nflcom_recap = "qualcomm stadium" ```
9,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_81 (nflcom_recap VARCHAR, game_site VARCHAR)\n\n Question: What's the site of the recap at qualcomm stadium?\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 (race_name VARCHAR, city_location VARCHAR) Question: What is the name of the race in Cleveland, Ohio? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question about the name of the race in Cleveland, Ohio: ``` SELECT race_name FROM table_name_65 WHERE city_location = "Cleveland, Ohio"; ```
9,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_65 (race_name VARCHAR, city_location VARCHAR)\n\n Question: What is the name of the race in Cleveland, Ohio?\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_66 (circuit VARCHAR, winning_driver VARCHAR) Question: Which circuit did Michael Andretti win? Here is the SQLite query to answer to the question: Which circu...
Here is the SQLite query to answer the question: Which circuit did Michael Andretti win?: ``` SELECT circuit FROM table_name_66 WHERE winning_driver = "Michael Andretti" ```
9,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_66 (circuit VARCHAR, winning_driver VARCHAR)\n\n Question: Which circuit did Michael Andretti win?\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_74 (winning_team VARCHAR, circuit VARCHAR) Question: Who was the winning team at the Homestead-Miami Speedway? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question about the winning team at the Homestead-Miami Speedway: ``` SELECT winning_team FROM table_name_74 WHERE circuit = "Homestead-Miami Speedway"; ```
9,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_74 (winning_team VARCHAR, circuit VARCHAR)\n\n Question: Who was the winning team at the Homestead-Miami Speedway?\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_32 (fastest_lap VARCHAR, winning_driver VARCHAR) Question: What was Jimmy Vasser's fastest lap? Here is the SQLite query to answer to the question: What was J...
Here is the SQLite query to answer the question: What was Jimmy Vasser's fastest lap?: ``` SELECT fastest_lap FROM table_name_32 WHERE winning_driver = "Jimmy Vasser" ```
9,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_32 (fastest_lap VARCHAR, winning_driver VARCHAR)\n\n Question: What was Jimmy Vasser's fastest lap?\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_4 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) Question: Which Spanish voice actor does the same character as French voice actor Véronique Desmadr...
Here is the SQLite query to answer the question regarding which Spanish voice actor does the same character as French voice actor Véronique Desmadryl: ``` SELECT spanish_voice_actor FROM table_name_4 WHERE french_voice_actor = "véronique desmadryl"; ```
9,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_4 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR)\n\n Question: Which Spanish voice actor does the same chara...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) Question: Which Spanish voice actor does the same character as French voice actor Dennis Boileau? ...
Here is the SQLite query that answers the question about which Spanish voice actor portrays the same character as the French voice actor Dennis Boileau: ``` SELECT spanish_voice_actor FROM table_name_61 WHERE french_voice_actor = 'Dennis Boileau' ```
9,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_61 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR)\n\n Question: Which Spanish voice actor does the same char...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) Question: Which Spanish voice actor does the same character as French voice actor Véronique Desmad...
Here is the SQLite query to answer the question regarding which Spanish voice actor plays the same character as French voice actor Véronique Desmadryl: ``` SELECT spanish_voice_actor FROM table_name_36 WHERE french_voice_actor = "Véronique Desmadryl" ```
9,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_36 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR)\n\n Question: Which Spanish voice actor does the same char...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (character VARCHAR, german_voice_actor VARCHAR) Question: What character does German voice actor Dirk Fenselau play? Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question regarding what character German voice actor Dirk Fenselau plays: ```sql SELECT character FROM table_name_63 WHERE german_voice_actor = "Dirk Fenselau"; ```
9,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_63 (character VARCHAR, german_voice_actor VARCHAR)\n\n Question: What character does German voice actor Dirk Fenselau p...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (character VARCHAR, italian_voice_actor VARCHAR) Question: What character does Italian voice actor Emanuela Damasio play? Here is the SQLite query to answe...
Here is the SQLite query to answer the question regarding the character that Italian voice actor Emanuela Damasio plays: ``` SELECT character FROM table_name_48 WHERE italian_voice_actor = "Emanuela Damasio" ```
9,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_48 (character VARCHAR, italian_voice_actor VARCHAR)\n\n Question: What character does Italian voice actor Emanuela Dama...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (character VARCHAR, french_voice_actor VARCHAR, german_voice_actor VARCHAR) Question: Which character has a French voice actor of Marc Saez and a German voi...
Here is the SQLite query to answer the question about which character has a French voice actor of Marc Saez and a German voice actor of Dirk Fenselau: ``` SELECT character FROM table_name_70 WHERE french_voice_actor = "Marc Saez" AND german_voice_actor = "Dirk Fenselau"; ```
9,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_70 (character VARCHAR, french_voice_actor VARCHAR, german_voice_actor VARCHAR)\n\n Question: Which character has a Fren...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (college_junior_club_team__league_ VARCHAR, player VARCHAR) Question: Jeff Staples player for which College, Junior or Club league? Here is the SQLite quer...
Here is the SQLite query you can use to find out which league Jeff Staples plays for: ``` SELECT college_junior_club_team__league_ FROM table_name_28 WHERE player = "jeff staples"; ```
9,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_28 (college_junior_club_team__league_ VARCHAR, player VARCHAR)\n\n Question: Jeff Staples player for which College, Jun...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR) Question: Ken Hemenway is in which Round? Here is the SQLite query to answer to the question: Ken Hemenway is in which Roun...
Here is the SQLite query to answer the question: Ken Hemenway is in which Round?: ``` SELECT round FROM table_name_23 WHERE player = "Ken Hemenway"; ```
9,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_23 (round VARCHAR, player VARCHAR)\n\n Question: Ken Hemenway is in which Round?\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_99 (nationality VARCHAR, player VARCHAR) Question: Which Nation does e.j. bradley play for? Here is the SQLite query to answer to the question: Which Nation d...
Here is the SQLite query to answer the question: Which Nation does e.j. bradley play for?: ``` SELECT nationality FROM table_name_99 WHERE player = "e.j. bradley" ```
9,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_99 (nationality VARCHAR, player VARCHAR)\n\n Question: Which Nation does e.j. bradley play for?\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_86 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) Question: Mike Crowley plays defense for league? Here is the SQLite query to ...
Here is the SQLite query to answer the question: Mike Crowley plays defense for league?: ``` SELECT college_junior_club_team__league_ FROM table_name_86 WHERE position = "defense" AND player = "Mike Crowley" ```
9,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_86 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: Mike Crowley plays defen...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (games INTEGER, drawn INTEGER) Question: Name the most games with drawn more than 1 Here is the SQLite query to answer to the question: Name the most games...
Here is the SQLite query to answer the question: "Name the most games with drawn more than 1": ``` SELECT MAX(games) FROM table_name_69 WHERE drawn > 1; ```
9,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_69 (games INTEGER, drawn INTEGER)\n\n Question: Name the most games with drawn more than 1\n\nHere is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (points INTEGER, lost VARCHAR, games VARCHAR) Question: Name the most points with lost of 2 and games more than 7 Here is the SQLite query to answer to the...
Your SQLite query is almost correct, but there are a couple of adjustments needed. The `lost` column is defined as a `VARCHAR`, so you should use quotes around the value `2` in the `WHERE` clause. Additionally, to fetch the points that meet the criteria, you can include the `points` in the result for clarity. Here’s ...
9,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_74 (points INTEGER, lost VARCHAR, games VARCHAR)\n\n Question: Name the most points with lost of 2 and games 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_81 (peak INTEGER, track VARCHAR, year VARCHAR) Question: What number did Moño Negro peak at before 1996? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question about the peak of Moño Negro before 1996: ``` SELECT MAX(peak) FROM table_name_81 WHERE track = "moño negro" AND year < 1996 ```
9,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_81 (peak INTEGER, track VARCHAR, year VARCHAR)\n\n Question: What number did Moño Negro peak at before 1996?\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_41 (year_startup VARCHAR, operator VARCHAR) Question: What was the startup year for the project with apache energy/inpex as the operator? Here is the SQLite q...
Here is the SQLite query to answer the question: ``` SELECT year_startup FROM table_name_41 WHERE operator = "apache energy/inpex"; ```
9,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_41 (year_startup VARCHAR, operator VARCHAR)\n\n Question: What was the startup year for the project with apache energy/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR) Question: What was the startup year for the Jackpine Mine (ph 2) project with an albian sands...
Your SQLite query to find the startup year for the Jackpine Mine (ph 2) project with an Albian Sands operator is correctly formulated. Here it is wrapped in triple backticks for clarity: ``` SELECT year_startup FROM table_name_18 WHERE operator = "albian sands" AND project_name = "jackpine mine (ph 2)"; ```
9,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_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR)\n\n Question: What was the startup year for the Jackp...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (year_startup VARCHAR, operator VARCHAR) Question: What was the startup year for the project with a nioc operator? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question regarding the startup year for the project with a nioc operator: ```sql SELECT year_startup FROM table_name_89 WHERE operator = "nioc"; ```
9,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_89 (year_startup VARCHAR, operator VARCHAR)\n\n Question: What was the startup year for the project with a nioc operato...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (project_name VARCHAR, peak VARCHAR, country VARCHAR) Question: What was the name of the project that peaked at 40 and was in the USA? Here is the SQLite q...
Here is the corrected SQLite query to answer the question regarding the project that peaked at 40 and was located in the USA: ``` SELECT project_name FROM table_name_38 WHERE peak = "40" AND country = "USA" ``` Please note that "USA" is typically capitalized, so I've updated it for accuracy. Make sure to use the cor...
9,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_38 (project_name VARCHAR, peak VARCHAR, country VARCHAR)\n\n Question: What was the name of the project that peaked at ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR) Question: What country did the project, Bonga SW; Aparo with a shell operator take place? Here is...
Here is the SQLite query to answer the question regarding the country where the project "Bonga SW; Aparo" with a shell operator took place: ``` SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "Bonga SW; Aparo" ```
9,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_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR)\n\n Question: What country did the project, Bonga SW; Apar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (winner VARCHAR) Question: What is the amount of the 1st prize when the Winner was ken green (4)? Here is the SQLite query to answer to the question: What ...
Your provided SQLite query seems to be aiming to select a constant value (1 as the 1st prize amount) when a certain condition is met (the winner being "ken green (4)"). However, it's important to clarify that the query will return the value 1 for every row that meets the condition but does not calculate or retrieve an ...
9,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_56 (winner VARCHAR)\n\n Question: What is the amount of the 1st prize when the Winner was ken green (4)?\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_27 (date VARCHAR, tournament VARCHAR) Question: What is the date of the Los Angeles open? Here is the SQLite query to answer to the question: What is the date...
Here is the SQLite query to answer the question regarding the date of the Los Angeles open: ``` SELECT date FROM table_name_27 WHERE tournament = "Los Angeles Open"; ```
9,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_27 (date VARCHAR, tournament VARCHAR)\n\n Question: What is the date of the Los Angeles open?\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_36 (tournament VARCHAR, date VARCHAR) Question: What is the name of the Tournament on oct 23? Here is the SQLite query to answer to the question: What is the ...
Here is the SQLite query to answer the question about the name of the Tournament on October 23: ``` SELECT tournament FROM table_name_36 WHERE date = "oct 23"; ```
9,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_36 (tournament VARCHAR, date VARCHAR)\n\n Question: What is the name of the Tournament on oct 23?\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_78 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, date VARCHAR, title VARCHAR) Question: Who created One Night in Lisbon in 1941? Here is the SQLite ...
Here is the SQLite query to answer the question: Who created One Night in Lisbon in 1941?: ``` SELECT theatre, _studio, _or_network FROM table_name_78 WHERE date = "1941" AND title = "One Night in Lisbon" ```
9,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_78 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, date VARCHAR, title VARCHAR)\n\n Question: Who created One N...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (date VARCHAR, loss VARCHAR) Question: what date did reuschel (12-3) lose? Here is the SQLite query to answer to the question: what date did reuschel (12-3...
Here is the SQLite query to answer the question about the date when Reuschel (12-3) lost: ```sql SELECT date FROM table_name_36 WHERE loss = "reuschel (12-3)"; ```
9,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_36 (date VARCHAR, loss VARCHAR)\n\n Question: what date did reuschel (12-3) lose?\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_44 (draw VARCHAR, jury VARCHAR, televote VARCHAR, artist VARCHAR) Question: How much Draw has a Televote larger than 18, and an Artist of elizabeth anastasiou,...
Here is the SQLite query to answer the question: ``` SELECT COUNT(draw) FROM table_name_44 WHERE televote > 18 AND artist = "elizabeth anastasiou" AND jury > 4 ```
9,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_44 (draw VARCHAR, jury VARCHAR, televote VARCHAR, artist VARCHAR)\n\n Question: How much Draw has a Televote larger tha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (place INTEGER, artist VARCHAR, televote VARCHAR) Question: Which Place is the highest one that has an Artist of nikolas metaxas, and a Televote larger than...
Here is the SQLite query to answer the question regarding the highest place for the artist Nikolas Metaxas with a televote larger than 60: ``` SELECT MAX(place) FROM table_name_65 WHERE artist = "nikolas metaxas" AND televote > 60 ```
9,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_65 (place INTEGER, artist VARCHAR, televote VARCHAR)\n\n Question: Which Place is the highest one that has an Artist of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (total INTEGER, place VARCHAR, draw VARCHAR) Question: Which average Total has a Place smaller than 2, and a Draw smaller than 5? Here is the SQLite query ...
Your query is almost correct; however, it’s important to ensure that the `place` and `draw` columns are correctly filtered based on their data types. Assuming `place` and `draw` are stored as strings (VARCHAR), they should be converted to integers for proper comparison. Here's the revised SQLite query to answer the qu...
9,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_99 (total INTEGER, place VARCHAR, draw VARCHAR)\n\n Question: Which average Total has a Place smaller than 2, and a Dra...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR) Question: Which Date has a Record of 0-2? Here is the SQLite query to answer to the question: Which Date has a Record of 0-2...
Here is the SQLite query to answer the question: Which Date has a Record of 0-2?: ``` SELECT date FROM table_name_14 WHERE record = '0-2'; ```
9,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_14 (date VARCHAR, record VARCHAR)\n\n Question: Which Date has a Record of 0-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_92 (record VARCHAR, match_report VARCHAR, result VARCHAR) Question: Which Record has a Match Report of recap, and a Result of l 30–20? Here is the SQLite quer...
Here is the SQLite query to answer the question: ``` SELECT record FROM table_name_92 WHERE match_report = "recap" AND result = "l 30–20"; ```
9,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_92 (record VARCHAR, match_report VARCHAR, result VARCHAR)\n\n Question: Which Record has a Match Report of recap, 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_83 (match_report VARCHAR, date VARCHAR) Question: Which Match Report has a Date of october 26, 2008? Here is the SQLite query to answer to the question: Which...
Here is the SQLite query to answer the question regarding which Match Report has a Date of October 26, 2008: ```sql SELECT match_report FROM table_name_83 WHERE date = "october 26, 2008" ```
9,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_83 (match_report VARCHAR, date VARCHAR)\n\n Question: Which Match Report has a Date of october 26, 2008?\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_83 (opponent VARCHAR, record VARCHAR) Question: Which Opponent has a Record of 0-3? Here is the SQLite query to answer to the question: Which Opponent has a R...
Here is the SQLite query to answer the question: Which Opponent has a Record of 0-3?: ``` SELECT opponent FROM table_name_83 WHERE record = "0-3" ```
9,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_83 (opponent VARCHAR, record VARCHAR)\n\n Question: Which Opponent has a Record of 0-3?\n\nHere is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR) Question: Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium...
Here is the SQLite query to answer the question: ``` SELECT record FROM table_name_41 WHERE kickoff = "12:00pm cst" AND game_site = "arrowhead stadium" AND week = "15"; ```
9,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_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR)\n\n Question: Which Record has a Kickoff of 12:00...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (result VARCHAR, opponent VARCHAR) Question: What was the result when the new england patriots played? Here is the SQLite query to answer to the question: ...
Here is the corrected SQLite query to answer the question of what the result was when the New England Patriots played: ``` SELECT result FROM table_name_33 WHERE opponent = "New England Patriots" ``` Ensure that the spelling and capitalization of "New England Patriots" matches how it's entered in the database.
9,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_33 (result VARCHAR, opponent VARCHAR)\n\n Question: What was the result when the new england patriots played?\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_42 (year INTEGER, budget VARCHAR) Question: How many years had budgets of $39 million? Here is the SQLite query to answer to the question: How many years had ...
The query you've provided is not quite correct for counting the number of years with budgets of $39 million. Instead of using `SUM(year)`, you should use `COUNT(year)` to count the number of rows that match the condition. Additionally, you should use single quotes for string literals in SQL. Here's the corrected query:...
9,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_42 (year INTEGER, budget VARCHAR)\n\n Question: How many years had budgets of $39 million?\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_89 (year INTEGER, director VARCHAR) Question: What is the most recent year featuring the director Christopher Kulikowski? Here is the SQLite query to answer t...
```sql SELECT MAX(year) FROM table_name_89 WHERE director = "Christopher Kulikowski"; ```
9,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_89 (year INTEGER, director VARCHAR)\n\n Question: What is the most recent year featuring the director Christopher Kulik...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (director VARCHAR, gross__worldwide_ VARCHAR) Question: Which director had a worldwide gross of $30,471? Here is the SQLite query to answer to the question...
Here's the correct SQLite query to find the director with a worldwide gross of $30,471: ``` SELECT director FROM table_name_97 WHERE gross__worldwide_ = '$30,471'; ``` Note that in SQL, single quotes are typically used for string values. Ensure that the gross worldwide amount is stored in the correct format in your ...
9,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_97 (director VARCHAR, gross__worldwide_ VARCHAR)\n\n Question: Which director had a worldwide gross of $30,471?\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_4 (budget VARCHAR, year VARCHAR) Question: What is 2005's budget figure? Here is the SQLite query to answer to the question: What is 2005's budget figure?: ``...
Here is the SQLite query to answer the question about 2005's budget figure: ``` SELECT budget FROM table_name_4 WHERE year = '2005' ```
9,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_4 (budget VARCHAR, year VARCHAR)\n\n Question: What is 2005's budget figure?\n\nHere is the SQLite query to answer to t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR) Question: Which airport has IATA of BKK? Here is the SQLite query to answer to the question: Which airport has IATA of BKK?...
Here is the SQLite query to answer the question: Which airport has IATA of BKK?: ``` SELECT airport FROM table_name_59 WHERE iata = "BKK" ```
9,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_59 (airport VARCHAR, iata VARCHAR)\n\n Question: Which airport has IATA of BKK?\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_14 (iata VARCHAR, airport VARCHAR) Question: What is the IATA for Beijing Capital International Airport? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question regarding the IATA for Beijing Capital International Airport: ``` SELECT iata FROM table_name_14 WHERE airport = "Beijing Capital International Airport"; ```
9,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_14 (iata VARCHAR, airport VARCHAR)\n\n Question: What is the IATA for Beijing Capital International Airport?\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_33 (airport VARCHAR, country VARCHAR) Question: Which airport is located in Singapore? Here is the SQLite query to answer to the question: Which airport is lo...
Your SQLite query looks good for finding the airport located in Singapore. Here is the code wrapped as you requested: ``` SELECT airport FROM table_name_33 WHERE country = "Singapore"; ``` Make sure the country name matches the capitalization in the database, or you might want to consider using a case-insensitive com...
9,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_33 (airport VARCHAR, country VARCHAR)\n\n Question: Which airport is located in Singapore?\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_88 (country VARCHAR, icao VARCHAR) Question: What is the country of the airport with ICAO of WADD? Here is the SQLite query to answer to the question: What is...
Here is the SQLite query to answer the question regarding the country of the airport with ICAO of WADD: ``` SELECT country FROM table_name_88 WHERE icao = "WADD"; ```
9,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_88 (country VARCHAR, icao VARCHAR)\n\n Question: What is the country of the airport with ICAO of WADD?\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_98 (city VARCHAR, airport VARCHAR) Question: Which city holds Newcastle Airport? Here is the SQLite query to answer to the question: Which city holds Newcastl...
Certainly! Here's the SQLite query wrapped in code formatting: ``` SELECT city FROM table_name_98 WHERE airport = "Newcastle Airport"; ```
9,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_98 (city VARCHAR, airport VARCHAR)\n\n Question: Which city holds Newcastle Airport?\n\nHere is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR) Question: What is the capacity for the stadium of kadrioru stadium and a current manager of ser...
The query you provided is close, but since you want the capacity specifically for a stadium with a specific name and a specific current manager, you should use `SELECT` without `AVG` unless you are looking for an average capacity across multiple records. If you know there should only be one record or you want to select...
9,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_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR)\n\n Question: What is the capacity for the stadium of k...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (others__number VARCHAR, bush__percentage VARCHAR) Question: What was the other number with 63.98% bush? Here is the SQLite query to answer to the question...
Here's the SQLite query to answer the question about the other number with 63.98% bush: ``` SELECT others__number FROM table_name_59 WHERE bush__percentage = "63.98%" ```
9,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_59 (others__number VARCHAR, bush__percentage VARCHAR)\n\n Question: What was the other number with 63.98% bush?\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_18 (purpose VARCHAR, band VARCHAR, frequency VARCHAR) Question: Band of am, and a Frequency of 0 846 has what purpose? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question regarding the "purpose" for a band of "am" and a frequency of "0 846": ``` SELECT purpose FROM table_name_18 WHERE band = "am" AND frequency = "0 846"; ```
9,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_18 (purpose VARCHAR, band VARCHAR, frequency VARCHAR)\n\n Question: Band of am, and a Frequency of 0 846 has what purpo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (on_air_id VARCHAR, frequency VARCHAR) Question: Frequency of 100.1 has what on-air id? Here is the SQLite query to answer to the question: Frequency of 10...
Here is the SQLite query to answer the question: ``` SELECT on_air_id FROM table_name_87 WHERE frequency = "100.1"; ```
9,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_87 (on_air_id VARCHAR, frequency VARCHAR)\n\n Question: Frequency of 100.1 has what on-air id?\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_34 (purpose VARCHAR, callsign VARCHAR) Question: Callsign of 6nan has what purpose? Here is the SQLite query to answer to the question: Callsign of 6nan has w...
Here is the SQLite query to answer the question about the purpose of the callsign "6nan": ``` SELECT purpose FROM table_name_34 WHERE callsign = "6nan"; ```
9,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_34 (purpose VARCHAR, callsign VARCHAR)\n\n Question: Callsign of 6nan has what purpose?\n\nHere is the SQLite query to ...