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_21 (position VARCHAR, dob VARCHAR) Question: Which Position has a DOB of 13 may 1987? Here is the SQLite query to answer to the question: Which Position has a...
Your SQLite query to find which position has a DOB of "13 may 1987" is correct. Here it is wrapped in code formatting: ``` SELECT position FROM table_name_21 WHERE dob = "13 may 1987"; ```
46,000
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (position VARCHAR, dob VARCHAR)\n\n Question: Which Position has a DOB of 13 may 1987?\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_49 (bats VARCHAR, throws VARCHAR, dob VARCHAR) Question: Which Bats have Throws of r, and a DOB of 22 may 1973? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about which Bats have Throws of "r" and a DOB of "22 may 1973": ``` SELECT bats FROM table_name_49 WHERE throws = "r" AND dob = "22 may 1973"; ```
46,001
[ { "from": "human", "value": " 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 (bats VARCHAR, throws VARCHAR, dob VARCHAR)\n\n Question: Which Bats have Throws of r, and a DOB of 22 may 1973?\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_53 (croatia VARCHAR, friendly VARCHAR) Question: Which Croatia has a Friendly of world cup 2006 qualifier, and a 149 of 152? Here is the SQLite query to answe...
It looks like there is a logical issue in the query you provided. The condition `149 = 152` will never be true, which means that the query will return no results. If you're looking for records where friendly is "world cup 2006 qualifier" and there is some other condition you want to meet for numbers, you need to clarif...
46,002
[ { "from": "human", "value": " 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 (croatia VARCHAR, friendly VARCHAR)\n\n Question: Which Croatia has a Friendly of world cup 2006 qualifier, and a 14...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (production_company VARCHAR, producer_s_ VARCHAR) Question: For which production company did Sam Mccarthy produce? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question regarding the production company for which Sam Mccarthy produced: ``` SELECT production_company FROM table_name_61 WHERE producer_s_ = "Sam Mccarthy"; ```
46,003
[ { "from": "human", "value": " 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 (production_company VARCHAR, producer_s_ VARCHAR)\n\n Question: For which production company did Sam Mccarthy produc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (director_s_ VARCHAR, writer_s_ VARCHAR) Question: Who was the director that worked with Dana Dorian as the writer? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question about the director who worked with Dana Dorian as the writer: ```sql SELECT director_s_ FROM table_name_44 WHERE writer_s_ = "Dana Dorian"; ```
46,004
[ { "from": "human", "value": " 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 (director_s_ VARCHAR, writer_s_ VARCHAR)\n\n Question: Who was the director that worked with Dana Dorian as the writ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (film VARCHAR, rank VARCHAR, director_s_ VARCHAR) Question: Which film, directed by Dana Dorian, was nominated? Here is the SQLite query to answer to the q...
```sql SELECT film FROM table_name_40 WHERE rank = "nominated" AND director_s_ = "Dana Dorian" ```
46,005
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (film VARCHAR, rank VARCHAR, director_s_ VARCHAR)\n\n Question: Which film, directed by Dana Dorian, was nominated?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (december INTEGER, opponent VARCHAR, game VARCHAR) Question: What is the sum for December against the vancouver canucks earlier than game 33? Here is the S...
Here is the SQLite query formatted as requested: ``` SELECT SUM(december) FROM table_name_59 WHERE opponent = "vancouver canucks" AND game < 33; ```
46,006
[ { "from": "human", "value": " 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 (december INTEGER, opponent VARCHAR, game VARCHAR)\n\n Question: What is the sum for December against the vancouver ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (december INTEGER, record VARCHAR) Question: What is the sum for December when the record was 22-12-5? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question regarding the sum for December when the record was 22-12-5: ``` SELECT SUM(december) FROM table_name_56 WHERE record = "22-12-5"; ```
46,007
[ { "from": "human", "value": " 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 (december INTEGER, record VARCHAR)\n\n Question: What is the sum for December when the record was 22-12-5?\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_12 (year INTEGER, team VARCHAR, wins VARCHAR) Question: When is the earliest year associated with team norton and 0 wins? Here is the SQLite query to answer t...
It seems that there is a small mistake in your query. Since you want to find records with 0 wins, you should be checking for `wins = '0'` instead of using `< 0`. Here is the corrected SQLite query to answer the question: ``` SELECT MIN(year) FROM table_name_12 WHERE team = 'norton' AND wins = '0'; ```
46,008
[ { "from": "human", "value": " 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 (year INTEGER, team VARCHAR, wins VARCHAR)\n\n Question: When is the earliest year associated with team norton 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_42 (year VARCHAR, points VARCHAR, wins VARCHAR, team VARCHAR) Question: What is the year that there were 0 wins, team AJS, and under 12 points? Here is the SQ...
The provided query has a small issue; it uses `COUNT(year)` which is not needed for your specific question about finding a year. Instead, you should simply select the `year` field. Here is the corrected SQLite query: ``` SELECT year FROM table_name_42 WHERE wins = '0' AND team = 'AJS' AND points < '12'; ``` In this m...
46,009
[ { "from": "human", "value": " 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 VARCHAR, points VARCHAR, wins VARCHAR, team VARCHAR)\n\n Question: What is the year that there were 0 wins, te...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (year INTEGER, award_ceremony VARCHAR, category VARCHAR) Question: What year is associated with a drama desk award ceremony and a Category of outstanding fe...
Your query is almost correct, but since you are looking for the specific year associated with the given award ceremony and category, you should use the `SELECT year` statement instead of calculating an average. Here's the revised query: ```sql SELECT year FROM table_name_96 WHERE award_ceremony = "drama desk award" AN...
46,010
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (year INTEGER, award_ceremony VARCHAR, category VARCHAR)\n\n Question: What year is associated with a drama desk awa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR) Question: What is the average Loss for the long of more than 12 with a name of opponents with a Gai...
Your SQL query is almost correct, but there are a few adjustments needed to accurately reflect the requirements. You need to filter by rows where `gain` is larger than 1751 for the opponents, and consider the condition on `long`. Assuming `gain` is numeric, you also need to ensure the conditions are properly structured...
46,011
[ { "from": "human", "value": " 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 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR)\n\n Question: What is the average Loss for the long of more...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (winner_2nd VARCHAR, race VARCHAR) Question: Who was the winner/2nd place finisher in the Caulfield Guineas? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about the winner/2nd place finisher in the Caulfield Guineas: ``` SELECT winner_2nd FROM table_name_18 WHERE race = "Caulfield Guineas"; ```
46,012
[ { "from": "human", "value": " 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 (winner_2nd VARCHAR, race VARCHAR)\n\n Question: Who was the winner/2nd place finisher in the Caulfield Guineas?\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_76 (jockey VARCHAR, group VARCHAR) Question: Which jockey had a group of G3? Here is the SQLite query to answer to the question: Which jockey had a group of G...
Here is the SQL query wrapped in the requested format: ``` SELECT jockey FROM table_name_76 WHERE group = "G3"; ```
46,013
[ { "from": "human", "value": " 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 (jockey VARCHAR, group VARCHAR)\n\n Question: Which jockey had a group of G3?\n\nHere is the SQLite query to answer ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (time VARCHAR, group VARCHAR, race VARCHAR) Question: What was the time for the G2 group at the Hobartville Stakes? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question: ``` SELECT time FROM table_name_62 WHERE group = "g2" AND race = "hobartville stakes" ```
46,014
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (time VARCHAR, group VARCHAR, race VARCHAR)\n\n Question: What was the time for the G2 group at the Hobartville Stak...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (airport VARCHAR, city VARCHAR) Question: Which airport has perth as the city? Here is the SQLite query to answer to the question: Which airport has perth ...
Here is the SQLite query to answer the question: Which airport has perth as the city?: ``` SELECT airport FROM table_name_39 WHERE city = "perth" ```
46,015
[ { "from": "human", "value": " 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 (airport VARCHAR, city VARCHAR)\n\n Question: Which airport has perth as the city?\n\nHere is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (city VARCHAR, state_territory VARCHAR, icao VARCHAR) Question: Which city has tasmania as the state/territory and a ICAO of ymhb? Here is the SQLite query...
Here is the SQLite query to answer the question: Which city has tasmania as the state/territory and a ICAO of ymhb?: ``` SELECT city FROM table_name_24 WHERE state_territory = "tasmania" AND icao = "ymhb" ```
46,016
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (city VARCHAR, state_territory VARCHAR, icao VARCHAR)\n\n Question: Which city has tasmania as the state/territory a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (airport VARCHAR, icao VARCHAR) Question: Which airport has an ICAO of ybcg? Here is the SQLite query to answer to the question: Which airport has an ICAO ...
Here is the SQLite query to answer the question: Which airport has an ICAO of ybcg?: ``` SELECT airport FROM table_name_11 WHERE icao = "ybcg"; ```
46,017
[ { "from": "human", "value": " 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 (airport VARCHAR, icao VARCHAR)\n\n Question: Which airport has an ICAO of ybcg?\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_1 (iata VARCHAR, state_territory VARCHAR, begin VARCHAR) Question: What is the IATA that has new south wales as the state/territory beginning on july 2009? He...
Your provided SQLite query is correct for the given question and schema. Here it is wrapped in code format as requested: ``` SELECT iata FROM table_name_1 WHERE state_territory = "new south wales" AND begin = "july 2009"; ```
46,018
[ { "from": "human", "value": " 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 (iata VARCHAR, state_territory VARCHAR, begin VARCHAR)\n\n Question: What is the IATA that has new south wales as the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (iata VARCHAR, state_territory VARCHAR, icao VARCHAR) Question: What IATA has queensland as the state/territory and an ICAO of ybrk? Here is the SQLite que...
Here is the SQLite query to answer the question about what IATA has Queensland as the state/territory and an ICAO of YBRK: ``` SELECT iata FROM table_name_30 WHERE state_territory = "queensland" AND icao = "ybrk"; ```
46,019
[ { "from": "human", "value": " 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 (iata VARCHAR, state_territory VARCHAR, icao VARCHAR)\n\n Question: What IATA has queensland as the state/territory ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (begin VARCHAR, state_territory VARCHAR, icao VARCHAR) Question: What begin has victoria as the state/territory and a ICA0 of ymml? Here is the SQLite quer...
Here is the SQLite query to answer the question of what `begin` has Victoria as the state/territory and an ICAO of `ymml`: ```sql SELECT begin FROM table_name_18 WHERE state_territory = 'victoria' AND icao = 'ymml'; ```
46,020
[ { "from": "human", "value": " 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 (begin VARCHAR, state_territory VARCHAR, icao VARCHAR)\n\n Question: What begin has victoria as the state/territory ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (visitor VARCHAR, date VARCHAR) Question: Who was the visitor on March 27? Here is the SQLite query to answer to the question: Who was the visitor on March...
Here is the correct SQLite query to answer the question: Who was the visitor on March 27?: ``` SELECT visitor FROM table_name_59 WHERE date = 'March 27'; ```
46,021
[ { "from": "human", "value": " 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 (visitor VARCHAR, date VARCHAR)\n\n Question: Who was the visitor on March 27?\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_30 (record VARCHAR, date VARCHAR) Question: What was the record on March 14? Here is the SQLite query to answer to the question: What was the record on March ...
Your SQLite query looks good, but it's important to ensure the date format matches the format in the database. Dates may be stored in different formats, such as "March 14", "03/14", or "2023-03-14". To make your query more robust, consider checking for different possibilities. Here's your original query wrapped in the ...
46,022
[ { "from": "human", "value": " 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 (record VARCHAR, date VARCHAR)\n\n Question: What was the record on March 14?\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_14 (format VARCHAR, frequency VARCHAR) Question: What format is at frequency 99.5 FM? Here is the SQLite query to answer to the question: What format is at fr...
Here is the SQLite query to answer the question about the format at frequency 99.5 FM: ```sql SELECT format FROM table_name_14 WHERE frequency = "99.5 FM"; ```
46,023
[ { "from": "human", "value": " 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 (format VARCHAR, frequency VARCHAR)\n\n Question: What format is at frequency 99.5 FM?\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_42 (format VARCHAR, call_sign VARCHAR) Question: What format has the call sign DZFE? Here is the SQLite query to answer to the question: What format has the c...
Here is the SQLite query to answer the question: What format has the call sign DZFE?: ``` SELECT format FROM table_name_42 WHERE call_sign = "DZFE"; ```
46,024
[ { "from": "human", "value": " 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 (format VARCHAR, call_sign VARCHAR)\n\n Question: What format has the call sign DZFE?\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_32 (covered_location VARCHAR, frequency VARCHAR) Question: What covered location has a frequency of 90.7 FM Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about the covered location with a frequency of 90.7 FM: ``` SELECT covered_location FROM table_name_32 WHERE frequency = "90.7 FM"; ```
46,025
[ { "from": "human", "value": " 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 (covered_location VARCHAR, frequency VARCHAR)\n\n Question: What covered location has a frequency of 90.7 FM\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_95 (frequency VARCHAR, name VARCHAR) Question: What is the frequency of 104.3 business radio? Here is the SQLite query to answer to the question: What is the ...
Here is the SQLite query to answer the question about the frequency of 104.3 business radio: ``` SELECT frequency FROM table_name_95 WHERE name = "104.3 business radio" ```
46,026
[ { "from": "human", "value": " 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 (frequency VARCHAR, name VARCHAR)\n\n Question: What is the frequency of 104.3 business radio?\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_40 (name VARCHAR, call_sign VARCHAR) Question: What name has the call sign DWYS? Here is the SQLite query to answer to the question: What name has the call si...
Your SQLite query looks good, but the call sign should be matched in a case-insensitive manner since SQLite's default behavior is case-sensitive for string comparisons. Thus, to ensure it works regardless of case, you might want to use the `LOWER` function. Here's the revised query: ``` SELECT name FROM table_name_40 ...
46,027
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (name VARCHAR, call_sign VARCHAR)\n\n Question: What name has the call sign DWYS?\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_19 (name VARCHAR, dcsf_number VARCHAR) Question: Who has a DCSF number of 3373? Here is the SQLite query to answer to the question: Who has a DCSF number of 3...
Here is the SQLite query to answer the question: Who has a DCSF number of 3373?: ``` SELECT name FROM table_name_19 WHERE dcsf_number = '3373' ```
46,028
[ { "from": "human", "value": " 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 (name VARCHAR, dcsf_number VARCHAR)\n\n Question: Who has a DCSF number of 3373?\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_62 (intake INTEGER, dcsf_number VARCHAR, type VARCHAR, ofsted_number VARCHAR) Question: What is the average primary intake with an Ofsted number of 117433 and ...
Here is the SQLite query to answer the question: ``` SELECT AVG(intake) FROM table_name_62 WHERE type = 'primary' AND ofsted_number = '117433' AND dcsf_number > 3335; ```
46,029
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (intake INTEGER, dcsf_number VARCHAR, type VARCHAR, ofsted_number VARCHAR)\n\n Question: What is the average primary...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (ofsted_number INTEGER, dcsf_number VARCHAR, intake VARCHAR, type VARCHAR, faith VARCHAR) Question: What is the lowest Ofsted number for a primary with a CE...
Here is the SQLite query to answer your question: ``` SELECT MIN(ofsted_number) FROM table_name_72 WHERE type = "primary" AND faith = "ce" AND intake = 30 AND dcsf_number < 3349; ```
46,030
[ { "from": "human", "value": " 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 (ofsted_number INTEGER, dcsf_number VARCHAR, intake VARCHAR, type VARCHAR, faith VARCHAR)\n\n Question: What is the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (opponent VARCHAR, result VARCHAR) Question: Can you tell me the Opponent that has the Result of w 37-14? Here is the SQLite query to answer to the questio...
Here is the SQLite query to identify the opponent that has the result of "w 37-14": ```sql SELECT opponent FROM table_name_25 WHERE result = "w 37-14"; ```
46,031
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (opponent VARCHAR, result VARCHAR)\n\n Question: Can you tell me the Opponent that has the Result of w 37-14?\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_62 (opponent VARCHAR, date VARCHAR) Question: Can you tell me the Opponent that has the Date of october 11, 1953? Here is the SQLite query to answer to the qu...
Here is the SQLite query to find the opponent that has the date of October 11, 1953: ``` SELECT opponent FROM table_name_62 WHERE date = "october 11, 1953"; ```
46,032
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR)\n\n Question: Can you tell me the Opponent that has the Date of october 11, 1953?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (established VARCHAR, championships VARCHAR, league VARCHAR) Question: What year was the West Coast League established than the championships are greater th...
```sql SELECT established FROM table_name_32 WHERE championships > 0 AND league = "West Coast League"; ```
46,033
[ { "from": "human", "value": " 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 (established VARCHAR, championships VARCHAR, league VARCHAR)\n\n Question: What year was the West Coast League estab...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (established INTEGER, championships VARCHAR, venue VARCHAR) Question: During the Apple Bowl having 0 championships, what was the established year? Here is ...
Your query has a small issue: the `championships` field is defined as a `VARCHAR`, so checking for it to equal `0` would not work correctly if it’s stored as a string. Instead, you should check for it being equal to the string `'0'`. Here’s the corrected query: ``` SELECT established FROM table_name_65 WHERE champio...
46,034
[ { "from": "human", "value": " 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 (established INTEGER, championships VARCHAR, venue VARCHAR)\n\n Question: During the Apple Bowl having 0 championshi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (sport VARCHAR, venue VARCHAR) Question: What sport happened at Wildcat Stadium? Here is the SQLite query to answer to the question: What sport happened at ...
Here is the SQLite query to answer the question "What sport happened at Wildcat Stadium?": ``` SELECT sport FROM table_name_3 WHERE venue = "Wildcat Stadium"; ```
46,035
[ { "from": "human", "value": " 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 (sport VARCHAR, venue VARCHAR)\n\n Question: What sport happened at Wildcat Stadium?\n\nHere is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (championships INTEGER, league VARCHAR) Question: How many championships does Evergreen Premier League have? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about how many championships the Evergreen Premier League has: ``` SELECT SUM(championships) FROM table_name_48 WHERE league = "Evergreen Premier League"; ```
46,036
[ { "from": "human", "value": " 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 (championships INTEGER, league VARCHAR)\n\n Question: How many championships does Evergreen Premier League have?\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_36 (position VARCHAR, round VARCHAR, name VARCHAR) Question: Which Position has a Round larger than 10, and a Name of shawn mccarthy? Here is the SQLite query...
Here is the SQLite query to answer the question: ``` SELECT position FROM table_name_36 WHERE round > 10 AND name = "shawn mccarthy"; ```
46,037
[ { "from": "human", "value": " 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 (position VARCHAR, round VARCHAR, name VARCHAR)\n\n Question: Which Position has a Round larger than 10, and a Name ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (pick__number VARCHAR, name VARCHAR, round VARCHAR) Question: How many Pick #s have a Name of tory epps, and a Round larger than 8? Here is the SQLite quer...
Here is the SQLite query to answer the question: ``` SELECT COUNT(pick__number) FROM table_name_96 WHERE name = "tory epps" AND round > 8 ```
46,038
[ { "from": "human", "value": " 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 (pick__number VARCHAR, name VARCHAR, round VARCHAR)\n\n Question: How many Pick #s have a Name of tory epps, and a R...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (visitor VARCHAR, record VARCHAR) Question: Which team was the visitor with a record of 5-2-0? Here is the SQLite query to answer to the question: Which te...
Your SQLite query to find the visitor with a record of 5-2-0 is correctly formatted. Here it is wrapped in code blocks: ``` SELECT visitor FROM table_name_41 WHERE record = "5-2-0"; ```
46,039
[ { "from": "human", "value": " 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 (visitor VARCHAR, record VARCHAR)\n\n Question: Which team was the visitor with a record of 5-2-0?\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_10 (score VARCHAR, date VARCHAR) Question: What is the score for the November 3 game? Here is the SQLite query to answer to the question: What is the score fo...
Here is the SQLite query wrapped in code format: ``` SELECT score FROM table_name_10 WHERE date = "november 3"; ```
46,040
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)\n\n Question: What is the score for the November 3 game?\n\nHere is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (others VARCHAR, martin VARCHAR, source VARCHAR) Question: What percent of others did ogm/news count when MARTIN had 9%? Here is the SQLite query to answer...
To calculate the percentage of `others` when `martin` has a value of "9%" and `source` is "ogm/news", you'll need to use an aggregate function to find the count of `others` and potentially the total count of `others` for comparison. Assuming you're looking for the percentage of some count of `others` under the specific...
46,041
[ { "from": "human", "value": " 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 (others VARCHAR, martin VARCHAR, source VARCHAR)\n\n Question: What percent of others did ogm/news count when MARTIN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (undecided VARCHAR, others VARCHAR) Question: What is the Undecided the others was 4%? Here is the SQLite query to answer to the question: What is the Unde...
The provided query is mostly correct, but to match the intention of checking if the value in the `others` column is equal to "4%", you should ensure that you are using the correct string comparison. Also, since the request is phrased as "was 4%", it implies you want to retrieve rows where the `others` value exactly equ...
46,042
[ { "from": "human", "value": " 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 (undecided VARCHAR, others VARCHAR)\n\n Question: What is the Undecided the others was 4%?\n\nHere is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (undecided VARCHAR, date VARCHAR) Question: What is the Undecided on 2009-05-24? Here is the SQLite query to answer to the question: What is the Undecided ...
Here is the SQLite query to answer the question: What is the Undecided on 2009-05-24?: ``` SELECT undecided FROM table_name_66 WHERE date = '2009-05-24'; ```
46,043
[ { "from": "human", "value": " 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 (undecided VARCHAR, date VARCHAR)\n\n Question: What is the Undecided on 2009-05-24?\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_93 (date VARCHAR, undecided VARCHAR, martin VARCHAR) Question: What is the Date that has MARTIN of 7–9% and no Undecided? Here is the SQLite query to answer t...
Your SQL query to retrieve the date where MARTIN is between 7–9% and there is no Undecided looks correct. The only improvement might be to ensure that you are referencing the value for 'undecided' as it might be represented differently in the database (like '-' instead of '–'). Here's your query wrapped in code format...
46,044
[ { "from": "human", "value": " 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 (date VARCHAR, undecided VARCHAR, martin VARCHAR)\n\n Question: What is the Date that has MARTIN of 7–9% and no Unde...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (date VARCHAR, martin VARCHAR) Question: What is the Date when MARTIN had 8%? Here is the SQLite query to answer to the question: What is the Date when MAR...
Your SQLite query appears to be mostly correct, but to ensure it looks for the exact percentage value of 8% and not any variations or typos, I recommend double-checking that the values in the `martin` column are stored exactly as "8%". If they are, your query can stay the same. Here’s the query wrapped properly: ``` ...
46,045
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (date VARCHAR, martin VARCHAR)\n\n Question: What is the Date when MARTIN had 8%?\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_49 (attendance VARCHAR, game VARCHAR, date VARCHAR) Question: Which Attendance has a Game smaller than 3, and a Date of october 31? Here is the SQLite query t...
Your provided query is almost correct but it doesn't directly answer the question regarding which "Attendance" values meet those criteria. Instead, it counts the attendance entries. If you want to select the attendance records, you should use `SELECT attendance` instead. Here is the corrected SQLite query: ``` SELECT...
46,046
[ { "from": "human", "value": " 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 (attendance VARCHAR, game VARCHAR, date VARCHAR)\n\n Question: Which Attendance has a Game smaller than 3, and a Dat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (rank VARCHAR, player VARCHAR, bowling VARCHAR) Question: What is rank of player Charles Eady and a Bowling of 12/63? Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question about the rank of player Charles Eady with a bowling of 12/63: ``` SELECT rank FROM table_name_2 WHERE player = "Charles Eady" AND bowling = "12/63"; ```
46,047
[ { "from": "human", "value": " 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 (rank VARCHAR, player VARCHAR, bowling VARCHAR)\n\n Question: What is rank of player Charles Eady and a Bowling of 12...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (opponent VARCHAR, partnering VARCHAR, surface VARCHAR, outcome VARCHAR) Question: Who was the Opponent partnering with Jordan Kerr, on a hard surface that ...
Here is the SQLite query to answer the question about the opponent partnering with Jordan Kerr, on a hard surface that was the winner: ```sql SELECT opponent FROM table_name_18 WHERE surface = "hard" AND outcome = "winner" AND partnering = "jordan kerr" ```
46,048
[ { "from": "human", "value": " 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 (opponent VARCHAR, partnering VARCHAR, surface VARCHAR, outcome VARCHAR)\n\n Question: Who was the Opponent partneri...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (year INTEGER, power VARCHAR, trim VARCHAR) Question: What's the Year Average that has a Power of BHP (KW) and Trim of LS/2LT? Here is the SQLite query to ...
Here is the SQLite query to answer the question regarding the Year Average for entries with a Power of BHP (KW) and Trim of LS/2LT: ``` SELECT AVG(year) FROM table_name_25 WHERE power = "BHP (KW)" AND trim = "LS/2LT" ```
46,049
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (year INTEGER, power VARCHAR, trim VARCHAR)\n\n Question: What's the Year Average that has a Power of BHP (KW) and T...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR) Question: Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)? Here is the SQLite query to a...
Here is the SQLite query to answer the question regarding engines with a year larger than 2006 and a power of BHP (KW): ``` SELECT engine FROM table_name_8 WHERE year > 2006 AND power = 'BHP (KW)'; ```
46,050
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)\n\n Question: Which Engine has a Year that's Larger than 2006 and Power...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (torque VARCHAR, power VARCHAR) Question: What Torque has a Power of HP (KW)? Here is the SQLite query to answer to the question: What Torque has a Power o...
Your SQLite query is correct for the given question. Here it is wrapped in the proper code format: ``` SELECT torque FROM table_name_21 WHERE power = "hp (kw)"; ```
46,051
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (torque VARCHAR, power VARCHAR)\n\n Question: What Torque has a Power of HP (KW)?\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_51 (year INTEGER, trim VARCHAR, power VARCHAR) Question: What's the Year average that's got Trim of LS/LT and Power of HP (KW)? Here is the SQLite query to an...
Your SQLite query is almost correct, but keep in mind that SQL keywords are usually case-insensitive, and the string comparisons should match the actual data in the database. Ensure you use the correct string casing and check for any extra spaces. Here's your query wrapped correctly: ```sql SELECT AVG(year) FROM tabl...
46,052
[ { "from": "human", "value": " 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 (year INTEGER, trim VARCHAR, power VARCHAR)\n\n Question: What's the Year average that's got Trim of LS/LT and Power...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (college VARCHAR, overall VARCHAR) Question: Name the college with overall of 17 Here is the SQLite query to answer to the question: Name the college with ...
Here is the SQLite query to answer the question "Name the college with overall of 17": ``` SELECT college FROM table_name_65 WHERE overall = '17'; ``` (Note: The `overall` field is treated as a string; hence 17 is wrapped in quotes.)
46,053
[ { "from": "human", "value": " 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 (college VARCHAR, overall VARCHAR)\n\n Question: Name the college with overall of 17\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_15 (overall INTEGER, name VARCHAR) Question: Name the least overall for tony baker Here is the SQLite query to answer to the question: Name the least overall ...
Here is the SQLite query to answer the question about naming the least overall for Tony Baker: ``` SELECT MIN(overall) FROM table_name_15 WHERE name = 'tony baker'; ```
46,054
[ { "from": "human", "value": " 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 (overall INTEGER, name VARCHAR)\n\n Question: Name the least overall for tony baker\n\nHere is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (visitor VARCHAR, home VARCHAR) Question: Who was the visiting team when Winnipeg was the home team? Here is the SQLite query to answer to the question: Wh...
```sql SELECT visitor FROM table_name_33 WHERE home = 'Winnipeg'; ```
46,055
[ { "from": "human", "value": " 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 (visitor VARCHAR, home VARCHAR)\n\n Question: Who was the visiting team when Winnipeg was the home team?\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_25 (score VARCHAR, decision VARCHAR, record VARCHAR) Question: What was the score of the game with a decision of Peeters and a record of 29–3–11? Here is the ...
Here is the SQLite query to answer the question regarding the score of the game with a decision of Peeters and a record of 29–3–11: ``` SELECT score FROM table_name_25 WHERE decision = "Peeters" AND record = "29–3–11"; ```
46,056
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (score VARCHAR, decision VARCHAR, record VARCHAR)\n\n Question: What was the score of the game with a decision of Pe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (label VARCHAR, country VARCHAR, catalogue__number VARCHAR) Question: What is the Label of Catalogue # HVNLP26CD from United Kingdom? Here is the SQLite qu...
Your SQLite query is almost correct, but it's a good practice to use consistent casing for both string comparisons and to handle case sensitivity properly in case the database has different configurations for collation. Here's the revised query that ensures case insensitivity for the country and catalogue number: ```s...
46,057
[ { "from": "human", "value": " 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 (label VARCHAR, country VARCHAR, catalogue__number VARCHAR)\n\n Question: What is the Label of Catalogue # HVNLP26CD...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (country VARCHAR, catalogue__number VARCHAR) Question: What Country is Catalogue # ASW 50248 (724385024825) from? Here is the SQLite query to answer to the...
Your query is almost correct, but it seems there might be a mismatch in the format of the `catalogue__number` you're searching for. The value should match exactly with what's in the database, including any casing and spaces. If you're querying for "ASW 50248 (724385024825)", you should make sure that the formatting ma...
46,058
[ { "from": "human", "value": " 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 (country VARCHAR, catalogue__number VARCHAR)\n\n Question: What Country is Catalogue # ASW 50248 (724385024825) from...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (winning_team VARCHAR, name VARCHAR) Question: Who is the winning team of the South Pacific Trophy? Here is the SQLite query to answer to the question: Who...
Here is the SQLite query to answer the question about the winning team of the South Pacific Trophy: ``` SELECT winning_team FROM table_name_22 WHERE name = "South Pacific Trophy"; ```
46,059
[ { "from": "human", "value": " 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 (winning_team VARCHAR, name VARCHAR)\n\n Question: Who is the winning team of the South Pacific Trophy?\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_32 (attendance VARCHAR, loss VARCHAR) Question: Loss of gonzález (0–3) had what attendance? Here is the SQLite query to answer to the question: Loss of gonzál...
Here is the SQLite query to answer the question regarding the attendance for the loss of González (0–3): ``` SELECT attendance FROM table_name_32 WHERE loss = "gonzález (0–3)"; ```
46,060
[ { "from": "human", "value": " 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 (attendance VARCHAR, loss VARCHAR)\n\n Question: Loss of gonzález (0–3) had what attendance?\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_70 (date VARCHAR, record VARCHAR) Question: Record of 92–70 had what date? Here is the SQLite query to answer to the question: Record of 92–70 had what date?:...
Here is the SQLite query to answer the question "Record of 92–70 had what date?": ```sql SELECT date FROM table_name_70 WHERE record = "92–70"; ```
46,061
[ { "from": "human", "value": " 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 (date VARCHAR, record VARCHAR)\n\n Question: Record of 92–70 had what date?\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_54 (record VARCHAR, loss VARCHAR) Question: Loss of kendrick (11–8) had what record? Here is the SQLite query to answer to the question: Loss of kendrick (11–...
Your SQLite query looks good for retrieving the record associated with the specified loss. Here is the formatted SQL code: ``` SELECT record FROM table_name_54 WHERE loss = "kendrick (11–8)"; ``` Make sure to execute this query in the context of your SQLite database where `table_name_54` is present.
46,062
[ { "from": "human", "value": " 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 (record VARCHAR, loss VARCHAR)\n\n Question: Loss of kendrick (11–8) had what record?\n\nHere is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (record VARCHAR, date VARCHAR) Question: Date of september 28 had what record? Here is the SQLite query to answer to the question: Date of september 28 had...
Here is the SQLite query to answer the question regarding the record for the date of September 28: ``` SELECT record FROM table_name_12 WHERE date = 'september 28'; ```
46,063
[ { "from": "human", "value": " 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 (record VARCHAR, date VARCHAR)\n\n Question: Date of september 28 had what record?\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_49 (opponent VARCHAR, attendance VARCHAR) Question: Attendance of 23,150 had what opponent? Here is the SQLite query to answer to the question: Attendance of ...
Here is the SQLite query to answer the question regarding the opponent with an attendance of 23,150: ```sql SELECT opponent FROM table_name_49 WHERE attendance = "23,150"; ```
46,064
[ { "from": "human", "value": " 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 (opponent VARCHAR, attendance VARCHAR)\n\n Question: Attendance of 23,150 had what opponent?\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_46 (score VARCHAR, attendance VARCHAR) Question: Attendance of 36,796 had what score? Here is the SQLite query to answer to the question: Attendance of 36,796...
Here is the SQLite query to answer the question regarding the score for the attendance of 36,796: ``` SELECT score FROM table_name_46 WHERE attendance = "36,796" ```
46,065
[ { "from": "human", "value": " 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 (score VARCHAR, attendance VARCHAR)\n\n Question: Attendance of 36,796 had what score?\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_30 (long INTEGER, name VARCHAR) Question: What is the sum of Long for derrick locke? Here is the SQLite query to answer to the question: What is the sum of Lo...
Here is the SQLite query to answer the question regarding the sum of Long for "derrick locke": ``` SELECT SUM(long) FROM table_name_30 WHERE name = "derrick locke" ```
46,066
[ { "from": "human", "value": " 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 (long INTEGER, name VARCHAR)\n\n Question: What is the sum of Long for derrick locke?\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_10 (loss INTEGER, name VARCHAR, gain VARCHAR) Question: What is the lowest Loss with Gain larger than 319 for derrick locke? Here is the SQLite query to answe...
Here is the SQLite query to answer the question regarding the lowest Loss with Gain larger than 319 for "derrick locke": ``` SELECT MIN(loss) FROM table_name_10 WHERE name = "derrick locke" AND gain > 319 ```
46,067
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (loss INTEGER, name VARCHAR, gain VARCHAR)\n\n Question: What is the lowest Loss with Gain larger than 319 for derri...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (club VARCHAR, head_coach VARCHAR) Question: Head Coach of wojciech kamiński is what club? Here is the SQLite query to answer to the question: Head Coach o...
Here is the SQLite query to answer the question: ``` SELECT club FROM table_name_96 WHERE head_coach = "wojciech kamiński" ```
46,068
[ { "from": "human", "value": " 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 (club VARCHAR, head_coach VARCHAR)\n\n Question: Head Coach of wojciech kamiński is what club?\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_20 (league VARCHAR, sport VARCHAR, venue VARCHAR) Question: Sport of football, and a Venue of stadion polonii is what league? Here is the SQLite query to answ...
Here is the SQLite query to answer the question regarding the league for the sport of football and the venue of stadion polonii: ```sql SELECT league FROM table_name_20 WHERE sport = "football" AND venue = "stadion polonii"; ```
46,069
[ { "from": "human", "value": " 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 (league VARCHAR, sport VARCHAR, venue VARCHAR)\n\n Question: Sport of football, and a Venue of stadion polonii is wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (league VARCHAR, sport VARCHAR) Question: Sport of gaelic football and hurling is what league? Here is the SQLite query to answer to the question: Sport of ...
To answer the question regarding the league associated with the sports "gaelic football" and "hurling", you need to adjust the query to check for both sports individually. Here is the correct SQLite query: ``` SELECT league FROM table_name_8 WHERE sport IN ("gaelic football", "hurling"); ```
46,070
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (league VARCHAR, sport VARCHAR)\n\n Question: Sport of gaelic football and hurling is what league?\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_34 (club VARCHAR, venue VARCHAR) Question: Venue of Pepsi arena involved what club? Here is the SQLite query to answer to the question: Venue of Pepsi arena i...
Here is the SQLite query to answer the question "Venue of Pepsi arena involved what club?": ``` SELECT club FROM table_name_34 WHERE venue = "Pepsi arena"; ```
46,071
[ { "from": "human", "value": " 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 (club VARCHAR, venue VARCHAR)\n\n Question: Venue of Pepsi arena involved what club?\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_26 (earnings___ INTEGER, player VARCHAR, rank VARCHAR) Question: What is the highest earnings for Tom watson who had a ranking larger than 2? Here is the SQLi...
Here is the corrected SQLite query to find the highest earnings for Tom Watson who had a ranking larger than 2: ``` SELECT MAX(earnings___) AS highest_earnings FROM table_name_26 WHERE player = "Tom Watson" AND rank > 2; ``` Make sure to check the case sensitivity of the player name as it may vary depending on how ...
46,072
[ { "from": "human", "value": " 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 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)\n\n Question: What is the highest earnings for Tom watson who ha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (earnings___ INTEGER, player VARCHAR) Question: What is the highest earnings for curtis strange? Here is the SQLite query to answer to the question: What i...
Here is the SQLite query to answer the question about the highest earnings for Curtis Strange: ``` SELECT MAX(earnings___) AS highest_earnings FROM table_name_60 WHERE player = 'curtis strange'; ```
46,073
[ { "from": "human", "value": " 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 (earnings___ INTEGER, player VARCHAR)\n\n Question: What is the highest earnings for curtis strange?\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_89 (year INTEGER, avg_start VARCHAR, wins VARCHAR) Question: What is the average year with an average start smaller than 6.3 and fewer than 0 wins? Here is th...
Your query is mostly correct, but there is a small error in the condition for filtering out wins. Since 'wins' is a VARCHAR type, you should use appropriate string comparison or convert it to an integer. If 'wins' contains valid numeric values in string format, it might be necessary to convert them to an INTEGER for th...
46,074
[ { "from": "human", "value": " 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, avg_start VARCHAR, wins VARCHAR)\n\n Question: What is the average year with an average start smaller...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (second VARCHAR, skip VARCHAR) Question: Which Second has a Skip of barbora vojtusova? Here is the SQLite query to answer to the question: Which Second has...
Here is the SQLite query to answer the question "Which Second has a Skip of barbora vojtusova?": ``` SELECT second FROM table_name_27 WHERE skip = "barbora vojtusova" ```
46,075
[ { "from": "human", "value": " 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 (second VARCHAR, skip VARCHAR)\n\n Question: Which Second has a Skip of barbora vojtusova?\n\nHere is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (skip VARCHAR, lead VARCHAR) Question: Which Skip did marju velga lead? Here is the SQLite query to answer to the question: Which Skip did marju velga lead...
Here is the SQLite query to answer the question: Which Skip did marju velga lead?: ``` SELECT skip FROM table_name_22 WHERE lead = "marju velga" ```
46,076
[ { "from": "human", "value": " 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 (skip VARCHAR, lead VARCHAR)\n\n Question: Which Skip did marju velga lead?\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_23 (lead VARCHAR, second VARCHAR) Question: Which Lead has a Second of katrin kuusk? Here is the SQLite query to answer to the question: Which Lead has a Seco...
Here is the SQLite query to answer the question regarding which Lead has a Second of "katrin kuusk": ``` SELECT lead FROM table_name_23 WHERE second = "katrin kuusk"; ```
46,077
[ { "from": "human", "value": " 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 (lead VARCHAR, second VARCHAR)\n\n Question: Which Lead has a Second of katrin kuusk?\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_58 (third VARCHAR, skip VARCHAR) Question: Which Third has a Skip of ellen vogt? Here is the SQLite query to answer to the question: Which Third has a Skip of...
Here is the SQLite query to answer the question: Which Third has a Skip of ellen vogt?: ``` SELECT third FROM table_name_58 WHERE skip = 'ellen vogt'; ```
46,078
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (third VARCHAR, skip VARCHAR)\n\n Question: Which Third has a Skip of ellen vogt?\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_11 (third VARCHAR, second VARCHAR) Question: Which Third has a Second of agnieszka ogrodniczek? Here is the SQLite query to answer to the question: Which Thir...
Here is the SQLite query to answer the question: ``` SELECT third FROM table_name_11 WHERE second = "agnieszka ogrodniczek" ```
46,079
[ { "from": "human", "value": " 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 (third VARCHAR, second VARCHAR)\n\n Question: Which Third has a Second of agnieszka ogrodniczek?\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_92 (skip VARCHAR, nation VARCHAR) Question: What is Spain's skip? Here is the SQLite query to answer to the question: What is Spain's skip?: ``` SELECT skip F...
```sql SELECT skip FROM table_name_92 WHERE nation = "Spain"; ```
46,080
[ { "from": "human", "value": " 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 (skip VARCHAR, nation VARCHAR)\n\n Question: What is Spain's skip?\n\nHere is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (per_capita_income VARCHAR, median_household_income VARCHAR) Question: What is the Per capita income associated with a Median household income of $55,800? ...
Here is the SQLite query to answer the question: ``` SELECT per_capita_income FROM table_name_49 WHERE median_household_income = "$55,800" ```
46,081
[ { "from": "human", "value": " 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 (per_capita_income VARCHAR, median_household_income VARCHAR)\n\n Question: What is the Per capita income associated ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (margin_of_victory VARCHAR, tournament VARCHAR) Question: What was the margin of victory at the Texas International Open? Here is the SQLite query to answe...
Here is the SQLite query to answer the question about the margin of victory at the Texas International Open: ``` SELECT margin_of_victory FROM table_name_44 WHERE tournament = "Texas International Open"; ```
46,082
[ { "from": "human", "value": " 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 (margin_of_victory VARCHAR, tournament VARCHAR)\n\n Question: What was the margin of victory at the Texas Internatio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (margin_of_victory VARCHAR, winning_score VARCHAR) Question: What was the margin of victory in the tournament with a winning score of −3 (74-68-72-71=285)? ...
The SQLite query you've provided has a syntax issue. The winning score should be a string representation if it's stored as `VARCHAR`. Based on the schema, the correct format should quote the winning score. Here’s the corrected query: ```sql SELECT margin_of_victory FROM table_name_60 WHERE winning_score = '-3'; ``` ...
46,083
[ { "from": "human", "value": " 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 (margin_of_victory VARCHAR, winning_score VARCHAR)\n\n Question: What was the margin of victory in the tournament wi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (avg_g INTEGER, effic VARCHAR, cmp_att_int VARCHAR) Question: Which Avg/G has an Effic larger than 129.73, and a Cmp-Att-Int of 333-500-13? Here is the SQL...
Here is the SQLite query to answer the question regarding which Avg/G has an Effic larger than 129.73 and a Cmp-Att-Int of 333-500-13: ``` SELECT SUM(avg_g) FROM table_name_63 WHERE effic > 129.73 AND cmp_att_int = '333-500-13'; ```
46,084
[ { "from": "human", "value": " 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 (avg_g INTEGER, effic VARCHAR, cmp_att_int VARCHAR)\n\n Question: Which Avg/G has an Effic larger than 129.73, 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_56 (effic INTEGER, avg_g VARCHAR, gp_gs VARCHAR) Question: Which Effic is the highest one that has an Avg/G smaller than 305.6, and a GP-GS of 13-13? Here is ...
Here is the SQLite query that answers the question regarding the highest `effic` with the specified conditions: ``` SELECT MAX(effic) FROM table_name_56 WHERE avg_g < 305.6 AND gp_gs = '13-13'; ```
46,085
[ { "from": "human", "value": " 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 (effic INTEGER, avg_g VARCHAR, gp_gs VARCHAR)\n\n Question: Which Effic is the highest one that has an Avg/G smaller...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (avg_g INTEGER, name VARCHAR, effic VARCHAR) Question: Which Avg/G that has a Name of opponents, and an Effic smaller than 129.73? Here is the SQLite query...
Your query looks correct in terms of its logic. However, if you want to return the average (Avg/G) values associated with "opponents" and the condition on "effic," you should also consider whether you want to group the results or simply return the sum. If you want to retrieve the individual Avg/G values that match the ...
46,086
[ { "from": "human", "value": " 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 (avg_g INTEGER, name VARCHAR, effic VARCHAR)\n\n Question: Which Avg/G that has a Name of opponents, and an Effic sm...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (cmp_att_int VARCHAR, gp_gs VARCHAR) Question: Which Cmp-Att-Int has a GP-GS of 3-0? Here is the SQLite query to answer to the question: Which Cmp-Att-Int ...
Here is the SQLite query to answer the question: Which Cmp-Att-Int has a GP-GS of 3-0?: ``` SELECT cmp_att_int FROM table_name_61 WHERE gp_gs = '3-0'; ```
46,087
[ { "from": "human", "value": " 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 (cmp_att_int VARCHAR, gp_gs VARCHAR)\n\n Question: Which Cmp-Att-Int has a GP-GS of 3-0?\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_9 (effic INTEGER, cmp_att_int VARCHAR, avg_g VARCHAR, gp_gs VARCHAR) Question: Which Effic is the average one that has an Avg/G larger than 3.7, and a GP-GS of...
Here is the SQLite query to answer the question: ``` SELECT AVG(effic) FROM table_name_9 WHERE avg_g > 3.7 AND gp_gs = '13' AND cmp_att_int = '318-521-15'; ```
46,088
[ { "from": "human", "value": " 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 (effic INTEGER, cmp_att_int VARCHAR, avg_g VARCHAR, gp_gs VARCHAR)\n\n Question: Which Effic is the average one that ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (home VARCHAR, date VARCHAR) Question: Which home team was playing on January 13? Here is the SQLite query to answer to the question: Which home team was p...
Your SQLite query is mostly correct, but it's important to ensure that the date format matches the format used in the database. Assuming the date is stored in a consistent format (e.g., "YYYY-MM-DD" or a specific format), your query should reflect that. If the date is stored simply as "january 13", then your query as ...
46,089
[ { "from": "human", "value": " 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 (home VARCHAR, date VARCHAR)\n\n Question: Which home team was playing on January 13?\n\nHere is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (runs INTEGER, high_score VARCHAR, innings VARCHAR) Question: How many runs were there when the high score was 55 and there were more than 12 innings? Here...
Your SQLite query needs a slight correction in the condition for the `high_score` since it's defined as a `VARCHAR`. You should compare it to the string '55'. Additionally, since `innings` might also be a `VARCHAR`, it's advisable to ensure that the comparison for numeric values is done correctly. Here is the correct...
46,090
[ { "from": "human", "value": " 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 (runs INTEGER, high_score VARCHAR, innings VARCHAR)\n\n Question: How many runs were there when the high score was 5...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (runs INTEGER, matches VARCHAR, average VARCHAR) Question: How many runs were there when there was 1 match and les than 86 average? Here is the SQLite query...
Here is the SQLite query to answer the question about how many runs there were when there was 1 match and less than 86 average: ``` SELECT SUM(runs) FROM table_name_1 WHERE matches = '1' AND average < '86' ``` Please note that you may need to ensure that the `average` column is being compared correctly, depending on...
46,091
[ { "from": "human", "value": " 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 (runs INTEGER, matches VARCHAR, average VARCHAR)\n\n Question: How many runs were there when there was 1 match and le...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (station VARCHAR, programming VARCHAR) Question: Which station has programming of Me-TV? Here is the SQLite query to answer to the question: Which station ...
Here is the SQLite query that answers the question of which station has programming of Me-TV: ``` SELECT station FROM table_name_78 WHERE programming = 'Me-TV'; ```
46,092
[ { "from": "human", "value": " 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 (station VARCHAR, programming VARCHAR)\n\n Question: Which station has programming of Me-TV?\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_33 (station VARCHAR, programming VARCHAR) Question: Which station has programming of Me-TV? Here is the SQLite query to answer to the question: Which station ...
Your SQLite query is almost correct but ensure that the comparison is case-insensitive to account for any variations in casing. Here's the suggested query: ``` SELECT station FROM table_name_33 WHERE LOWER(programming) = "me-tv" ``` This will ensure that it returns results regardless of how "Me-TV" is cased in the da...
46,093
[ { "from": "human", "value": " 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 (station VARCHAR, programming VARCHAR)\n\n Question: Which station has programming of Me-TV?\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_19 (psip_short_name VARCHAR, video VARCHAR, programming VARCHAR) Question: What is the short name having video of 720p and programming of Main KSTC-TV programm...
Here is the SQLite query to answer the question: ``` SELECT psip_short_name FROM table_name_19 WHERE video = "720p" AND programming = "Main KSTC-TV programming" ```
46,094
[ { "from": "human", "value": " 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 (psip_short_name VARCHAR, video VARCHAR, programming VARCHAR)\n\n Question: What is the short name having video of 7...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (video VARCHAR, psip_short_name VARCHAR) Question: What is the video associated with a short name of KSTCDT2? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about the video associated with a short name of KSTCDT2: ``` SELECT video FROM table_name_36 WHERE psip_short_name = "KSTCDT2" ```
46,095
[ { "from": "human", "value": " 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 (video VARCHAR, psip_short_name VARCHAR)\n\n Question: What is the video associated with a short name of KSTCDT2?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (psip_short_name VARCHAR, station VARCHAR, channel VARCHAR) Question: What is the short name of channel 5.5, KSTC-TV? Here is the SQLite query to answer to...
Here is the corrected SQLite query to answer the question regarding the short name of channel 5.5, KSTC-TV: ```sql SELECT psip_short_name FROM table_name_95 WHERE station = 'KSTC-TV' AND channel = '5.5'; ```
46,096
[ { "from": "human", "value": " 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 (psip_short_name VARCHAR, station VARCHAR, channel VARCHAR)\n\n Question: What is the short name of channel 5.5, KST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (psip_short_name VARCHAR, channel INTEGER) Question: What is the short name of the channel under 5.2? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about the short name of the channel under 5.2: ``` SELECT psip_short_name FROM table_name_2 WHERE channel < 5.2; ```
46,097
[ { "from": "human", "value": " 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 (psip_short_name VARCHAR, channel INTEGER)\n\n Question: What is the short name of the channel under 5.2?\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_94 (prefecture VARCHAR, province VARCHAR, county VARCHAR) Question: Which prefecture is in Hubei province and Enshi county? Here is the SQLite query to answer...
Here is the SQLite query to answer the question of which prefecture is in Hubei province and Enshi county: ``` SELECT prefecture FROM table_name_94 WHERE province = 'Hubei' AND county = 'Enshi'; ```
46,098
[ { "from": "human", "value": " 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 (prefecture VARCHAR, province VARCHAR, county VARCHAR)\n\n Question: Which prefecture is in Hubei province and Enshi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (tujia_population INTEGER, prefecture VARCHAR, county VARCHAR) Question: What is the sum of Tujia population with the Zhangjiajie prefecture in Sangzhi coun...
Here is the SQLite query to answer the given question: ``` SELECT SUM(tujia_population) FROM table_name_20 WHERE prefecture = "zhangjiajie" AND county = "sangzhi"; ```
46,099
[ { "from": "human", "value": " 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 (tujia_population INTEGER, prefecture VARCHAR, county VARCHAR)\n\n Question: What is the sum of Tujia population wit...