instruction_seed
stringlengths
305
1.28k
response_seed
stringclasses
1 value
response
stringlengths
7
2.05k
__original_row_idx
int64
0
50k
conversations
listlengths
2
2
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR) Question: What is the young rider classification for jesper worre and ...
Your SQLite query has a small error in the `WHERE` clause regarding the `mountains_classification`. It seems you're trying to filter by a rider's name, which should be instead matched against `young_rider_classification` or another appropriate column if it exists to identify the rider. Assuming that "jesper worre" shou...
14,400
[ { "from": "human", "value": " 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 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)\n\n Question: What is the youn...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (college VARCHAR, school VARCHAR) Question: What college did the player with a school of crete-monee high school go to? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question about which college the player with a school of "crete-monee high school" attended: ``` SELECT college FROM table_name_83 WHERE school = "crete-monee high school" ```
14,401
[ { "from": "human", "value": " 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 (college VARCHAR, school VARCHAR)\n\n Question: What college did the player with a school of crete-monee high school...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (school VARCHAR, hometown VARCHAR) Question: What's the school of the player with a hometown of little rock, arkansas? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about the school of the player with a hometown of Little Rock, Arkansas: ```sql SELECT school FROM table_name_94 WHERE hometown = "little rock, arkansas"; ```
14,402
[ { "from": "human", "value": " 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 (school VARCHAR, hometown VARCHAR)\n\n Question: What's the school of the player with a hometown of little rock, ark...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (hometown VARCHAR, player VARCHAR) Question: What's the hometown of thomas tyner? Here is the SQLite query to answer to the question: What's the hometown o...
Your SQLite query to find the hometown of Thomas Tyner is correct. Here it is wrapped in the requested format: ``` SELECT hometown FROM table_name_80 WHERE player = "thomas tyner"; ```
14,403
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (hometown VARCHAR, player VARCHAR)\n\n Question: What's the hometown of thomas tyner?\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_30 (college VARCHAR, player VARCHAR) Question: What college did hunter henry go to? Here is the SQLite query to answer to the question: What college did hunte...
Here is the SQLite query to answer the question: What college did hunter henry go to?: ``` SELECT college FROM table_name_30 WHERE player = "hunter henry" ```
14,404
[ { "from": "human", "value": " 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 (college VARCHAR, player VARCHAR)\n\n Question: What college did hunter henry go to?\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_42 (college VARCHAR, school VARCHAR) Question: What college did the player with a school of huntsville high school go to? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about the college of the player who attended "huntsville high school": ``` SELECT college FROM table_name_42 WHERE school = "huntsville high school"; ```
14,405
[ { "from": "human", "value": " 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 (college VARCHAR, school VARCHAR)\n\n Question: What college did the player with a school of huntsville high school ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (player VARCHAR, college VARCHAR) Question: Who went to ohio state? Here is the SQLite query to answer to the question: Who went to ohio state?: ``` SELECT...
Here is the SQLite query to answer the question: Who went to Ohio State?: ``` SELECT player FROM table_name_53 WHERE college = "ohio state"; ```
14,406
[ { "from": "human", "value": " 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 (player VARCHAR, college VARCHAR)\n\n Question: Who went to ohio state?\n\nHere is the SQLite query to answer to the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (introduced VARCHAR, withdrawn VARCHAR) Question: What date was introduced where it was withdrawn 1955? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question of what date was introduced where it was withdrawn in 1955: ``` SELECT introduced FROM table_name_31 WHERE withdrawn = "1955"; ```
14,407
[ { "from": "human", "value": " 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 (introduced VARCHAR, withdrawn VARCHAR)\n\n Question: What date was introduced where it was withdrawn 1955?\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_66 (engine VARCHAR, introduced VARCHAR) Question: What engine was introduced in 1935? Here is the SQLite query to answer to the question: What engine was intr...
Your SQLite query to find out what engine was introduced in 1935 is correct. Here it is wrapped in code formatting: ``` SELECT engine FROM table_name_66 WHERE introduced = "1935"; ```
14,408
[ { "from": "human", "value": " 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 (engine VARCHAR, introduced VARCHAR)\n\n Question: What engine was introduced in 1935?\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_84 (number_range VARCHAR, builder VARCHAR, introduced VARCHAR) Question: What is the number range for the Gloucester RCW builder introduced in 1937? Here is t...
Here is the SQLite query to answer the question about the number range for the Gloucester RCW builder introduced in 1937: ``` SELECT number_range FROM table_name_84 WHERE builder = "gloucester rcw" AND introduced = "1937" ```
14,409
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (number_range VARCHAR, builder VARCHAR, introduced VARCHAR)\n\n Question: What is the number range for the Glouceste...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (round VARCHAR, player VARCHAR) Question: What round was Craig Erickson drafted? Here is the SQLite query to answer to the question: What round was Craig E...
Here is the SQLite query to answer the question about what round Craig Erickson was drafted: ``` SELECT round FROM table_name_58 WHERE player = "Craig Erickson"; ```
14,410
[ { "from": "human", "value": " 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 (round VARCHAR, player VARCHAR)\n\n Question: What round was Craig Erickson drafted?\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_7 (date VARCHAR, score VARCHAR) Question: What is the Date with a Score with 86–108? Here is the SQLite query to answer to the question: What is the Date with...
The SQLite query you've provided is almost correct; however, it appears that the score is represented as a range (like "86–108") rather than a single value. If you are looking for records where the score falls within the range of 86 to 108, we need to ensure that the score is treated as a number. To do so, the score sh...
14,411
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (date VARCHAR, score VARCHAR)\n\n Question: What is the Date with a Score with 86–108?\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_47 (record VARCHAR, date VARCHAR) Question: What is the Record with a Date with 24 march 2008? Here is the SQLite query to answer to the question: What is the...
Here is the SQLite query to answer the question about the Record with a Date of 24 March 2008: ``` SELECT record FROM table_name_47 WHERE date = "24 march 2008" ```
14,412
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR)\n\n Question: What is the Record with a Date with 24 march 2008?\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_27 (record VARCHAR, date VARCHAR) Question: What is the Record with a Date with 29 march 2008? Here is the SQLite query to answer to the question: What is the...
Here is the SQLite query to answer the question about the record with the date of 29 March 2008: ``` SELECT record FROM table_name_27 WHERE date = "29 march 2008" ```
14,413
[ { "from": "human", "value": " 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 (record VARCHAR, date VARCHAR)\n\n Question: What is the Record with a Date with 29 march 2008?\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_28 (visitor VARCHAR, leading_scorer VARCHAR) Question: What is the Visitor with a Leading scorer with rudy gay (24)? Here is the SQLite query to answer to the...
Your SQL query to find the Visitor with a Leading scorer named "rudy gay (24)" is correctly structured. Here it is wrapped in code format: ``` SELECT visitor FROM table_name_28 WHERE leading_scorer = "rudy gay (24)" ```
14,414
[ { "from": "human", "value": " 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 (visitor VARCHAR, leading_scorer VARCHAR)\n\n Question: What is the Visitor with a Leading scorer with rudy gay (24)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (leading_scorer VARCHAR, visitor VARCHAR, score VARCHAR) Question: What is the Leading scorer with a Visitor of grizzlies, and with a Score with 114–111? H...
Here is the SQLite query to answer the question: ``` SELECT leading_scorer FROM table_name_65 WHERE visitor = "grizzlies" AND score = "114–111" ```
14,415
[ { "from": "human", "value": " 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 (leading_scorer VARCHAR, visitor VARCHAR, score VARCHAR)\n\n Question: What is the Leading scorer with a Visitor of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR) Question: What team does Joe Deane play for? Here is the SQLite query to answer to the question: What team does Joe Deane pl...
Here is the SQLite query to answer the question of what team Joe Deane plays for: ``` SELECT team FROM table_name_20 WHERE player = "Joe Deane"; ```
14,416
[ { "from": "human", "value": " 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 (team VARCHAR, player VARCHAR)\n\n Question: What team does Joe Deane play for?\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_60 (game VARCHAR, team VARCHAR, début VARCHAR) Question: What is the name of the game whose team is Waterford and debuted later than 1995? Here is the SQLite ...
Here is the SQLite query to answer the question: ``` SELECT game FROM table_name_60 WHERE team = "Waterford" AND début > '1995'; ```
14,417
[ { "from": "human", "value": " 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 (game VARCHAR, team VARCHAR, début VARCHAR)\n\n Question: What is the name of the game whose team is Waterford and d...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (début VARCHAR, team VARCHAR, player VARCHAR) Question: What is the year of debut when Tom Feeney plays for the Waterford team? Here is the SQLite query to ...
Here is the SQLite query to answer the question regarding the year of debut for Tom Feeney when he plays for the Waterford team: ``` SELECT début FROM table_name_9 WHERE team = "Waterford" AND player = "Tom Feeney"; ```
14,418
[ { "from": "human", "value": " 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 (début VARCHAR, team VARCHAR, player VARCHAR)\n\n Question: What is the year of debut when Tom Feeney plays for the W...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (opposition VARCHAR, team VARCHAR) Question: Who is the opponent when the team is Cork? Here is the SQLite query to answer to the question: Who is the oppo...
Here is the SQLite query to answer the question: Who is the opponent when the team is Cork?: ``` SELECT opposition FROM table_name_32 WHERE team = "Cork"; ```
14,419
[ { "from": "human", "value": " 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 (opposition VARCHAR, team VARCHAR)\n\n Question: Who is the opponent when the team is Cork?\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_59 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) Question: who is the constructor when the grid is more than 10 and the time/retired is +1 lap? He...
Here is the SQLite query that answers your question: ``` SELECT constructor FROM table_name_59 WHERE grid > 10 AND time_retired = '+1 lap'; ```
14,420
[ { "from": "human", "value": " 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 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)\n\n Question: who is the constructor when the grid is more...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, constructor VARCHAR) Question: what is the highest grid when the laps is less than 44 and the constructor is renault? Here is ...
Here's the SQLite query you requested, wrapped in code formatting: ``` SELECT MAX(grid) FROM table_name_10 WHERE laps < 44 AND constructor = "renault" ```
14,421
[ { "from": "human", "value": " 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 (grid INTEGER, laps VARCHAR, constructor VARCHAR)\n\n Question: what is the highest grid when the laps is less than ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR) Question: Whose attendance was the highest when the team played Arsenal? Here is the SQLite query to answer to the q...
Your provided query is almost correct, but it doesn't specify whose attendance it is. If you want to find the attendance along with any other identifying information (like the opponent), you might want to use a subquery or a `JOIN` to retrieve additional details. However, from the context given, we can still write the ...
14,422
[ { "from": "human", "value": " 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 (attendance INTEGER, opponent VARCHAR)\n\n Question: Whose attendance was the highest when the team played Arsenal?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR) Question: What is the flag for Terkoeli? Here is the SQLite query to answer to the question: What is the flag for Terkoeli?: `...
Here is the SQLite query to answer the question about the flag for Terkoeli: ``` SELECT flag FROM table_name_52 WHERE name = "Terkoeli"; ```
14,423
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR)\n\n Question: What is the flag for Terkoeli?\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_73 (date VARCHAR, flag VARCHAR) Question: What is the date for the flag of Norway? Here is the SQLite query to answer to the question: What is the date for th...
Here is the SQLite query to answer the question about the date for the flag of Norway: ``` SELECT date FROM table_name_73 WHERE flag = "norway" ```
14,424
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (date VARCHAR, flag VARCHAR)\n\n Question: What is the date for the flag of Norway?\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_67 (sunk_by VARCHAR, flag VARCHAR) Question: Who sunk the ship with the flag of Norway? Here is the SQLite query to answer to the question: Who sunk the ship ...
Here is the SQLite query to answer the question: Who sunk the ship with the flag of Norway?: ``` SELECT sunk_by FROM table_name_67 WHERE flag = "Norway"; ```
14,425
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (sunk_by VARCHAR, flag VARCHAR)\n\n Question: Who sunk the ship with the flag of Norway?\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_65 (entrant VARCHAR, chassis VARCHAR) Question: What is the name of the entrant with a chassis of m185b m186? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question about the entrant with a chassis of "m185b m186": ``` SELECT entrant FROM table_name_65 WHERE chassis = "m185b m186"; ```
14,426
[ { "from": "human", "value": " 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 (entrant VARCHAR, chassis VARCHAR)\n\n Question: What is the name of the entrant with a chassis of m185b m186?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (rounds VARCHAR, chassis VARCHAR) Question: How many rounds have a chassis of thl2? Here is the SQLite query to answer to the question: How many rounds hav...
The correct query to count how many rounds have a chassis of "thl2" should use the `COUNT()` function. Here is the appropriate SQL query: ``` SELECT COUNT(rounds) FROM table_name_87 WHERE chassis = 'thl2'; ```
14,427
[ { "from": "human", "value": " 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 (rounds VARCHAR, chassis VARCHAR)\n\n Question: How many rounds have a chassis of thl2?\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_24 (Id VARCHAR) Question: Tell me the 1958 when 1957 is dnf-9 Here is the SQLite query to answer to the question: Tell me the 1958 when 1957 is dnf-9: ``` SEL...
It looks like there is a misunderstanding in the query structure, as SQLite requires valid column names. Based on your description, it seems you want to retrieve the value related to the year 1958 when the value for 1957 is 'dnf-9'. However, the provided schema only defines a table with an 'Id' column. Assuming that y...
14,428
[ { "from": "human", "value": " 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 (Id VARCHAR)\n\n Question: Tell me the 1958 when 1957 is dnf-9\n\nHere is the SQLite query to answer to the question...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (reference VARCHAR, strain VARCHAR) Question: what is the reference when the strain is msb8? Here is the SQLite query to answer to the question: what is th...
Here is the SQLite query to answer the question of what is the reference when the strain is msb8: ``` SELECT reference FROM table_name_38 WHERE strain = "msb8"; ```
14,429
[ { "from": "human", "value": " 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 (reference VARCHAR, strain VARCHAR)\n\n Question: what is the reference when the strain is msb8?\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_84 (genes INTEGER, reference VARCHAR, strain VARCHAR) Question: what is the average genes when the reference is 2009 and the strain is rku-1? Here is the SQLi...
Your SQL query is correctly formulated. Here it is, wrapped in triple backticks as you requested: ``` SELECT AVG(genes) FROM table_name_84 WHERE reference = "2009" AND strain = "rku-1"; ```
14,430
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (genes INTEGER, reference VARCHAR, strain VARCHAR)\n\n Question: what is the average genes when the reference is 200...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (year VARCHAR, third VARCHAR) Question: In which year did Kati Klinzing finish 3rd? Here is the SQLite query to answer to the question: In which year did K...
The SQLite query you provided is close but incorrectly matches the name condition. It appears you want to check if Kati Klinzing finished in 3rd place. Therefore, you should look for when the value in the `third` column equals "3". Here is the corrected query: ```sql SELECT year FROM table_name_24 WHERE third = "3" A...
14,431
[ { "from": "human", "value": " 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 (year VARCHAR, third VARCHAR)\n\n Question: In which year did Kati Klinzing finish 3rd?\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 (champion VARCHAR, second VARCHAR, third VARCHAR) Question: Who was the winner the year Ramona Rahnis finished 2nd and Diana Sartor 3rd? Here is the SQLite...
Here is the SQLite query that answers the question regarding the winner in the year Ramona Rahnis finished 2nd and Diana Sartor finished 3rd: ``` SELECT champion FROM table_name_74 WHERE second = 'ramona rahnis' AND third = 'diana sartor'; ```
14,432
[ { "from": "human", "value": " 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 (champion VARCHAR, second VARCHAR, third VARCHAR)\n\n Question: Who was the winner the year Ramona Rahnis finished 2...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (third VARCHAR, location VARCHAR, second VARCHAR) Question: In Winterberg, who was 3rd the year that Monique Riekewald was 2nd? Here is the SQLite query to...
To properly answer the question "In Winterberg, who was 3rd the year that Monique Riekewald was 2nd?", you will need to perform a subquery to find the year when Monique Riekewald was 2nd. Then, use that year to find the corresponding 3rd place competitor in Winterberg. Here is the correct SQLite query: ``` SELECT thi...
14,433
[ { "from": "human", "value": " 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 (third VARCHAR, location VARCHAR, second VARCHAR)\n\n Question: In Winterberg, who was 3rd the year that Monique Rie...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (location VARCHAR, year VARCHAR, second VARCHAR) Question: In years after 1999, what was the location where Anja Huber finished 2nd? Here is the SQLite que...
Here is the SQLite query to answer the question about the location where Anja Huber finished 2nd in years after 1999: ``` SELECT location FROM table_name_14 WHERE year > '1999' AND second = 'Anja Huber'; ```
14,434
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (location VARCHAR, year VARCHAR, second VARCHAR)\n\n Question: In years after 1999, what was the location where Anja...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (goals_scored VARCHAR, pos VARCHAR, years_active VARCHAR) Question: How many goals were scored with a pos larger than 4 and active in 2001-? Here is the SQ...
The query you provided is close, but it needs some adjustments to correctly aggregate the goals scored. Since you want to count the total number of goals and filter the positions and years active correctly, you should use the `SUM` function to add up the goals. Additionally, ensure that the comparison for `pos` is nume...
14,435
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (goals_scored VARCHAR, pos VARCHAR, years_active VARCHAR)\n\n Question: How many goals were scored with a pos larger...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR) Question: What day did they play the bolton wanderers with a result F–A of 1–2? Here is the SQLite que...
Here is the SQLite query to answer the question about what day they played the Bolton Wanderers with a result F–A of 1–2: ``` SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers" ```
14,436
[ { "from": "human", "value": " 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 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)\n\n Question: What day did they play the bolton wanderers with ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (away_team VARCHAR, venue VARCHAR) Question: What was the away teams score at Princes Park? Here is the SQLite query to answer to the question: What was th...
Your SQLite query is almost correct, but it looks like you want to retrieve the away team that played at "Princes Park". However, since there's no column for scores in the provided schema (`CREATE TABLE table_name_37 (away_team VARCHAR, venue VARCHAR)`), it seems there may be some confusion. If you're simply looking fo...
14,437
[ { "from": "human", "value": " 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 (away_team VARCHAR, venue VARCHAR)\n\n Question: What was the away teams score at Princes Park?\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_44 (home_team VARCHAR, away_team VARCHAR) Question: Which home team played Hawthorn as the away team? Here is the SQLite query to answer to the question: Whic...
Here is the SQLite query to answer the question: Which home team played Hawthorn as the away team?: ``` SELECT home_team FROM table_name_44 WHERE away_team = 'Hawthorn'; ```
14,438
[ { "from": "human", "value": " 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 (home_team VARCHAR, away_team VARCHAR)\n\n Question: Which home team played Hawthorn as the away team?\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) Question: When did Geelong play as the home team? Here is the SQLite query to answer to the question: When did Geelong pl...
Here is the SQLite query to answer the question: When did Geelong play as the home team?: ``` SELECT date FROM table_name_89 WHERE home_team = "Geelong"; ```
14,439
[ { "from": "human", "value": " 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 (date VARCHAR, home_team VARCHAR)\n\n Question: When did Geelong play as the home team?\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_85 (away_team VARCHAR, home_team VARCHAR) Question: Who played as the away team when Essendon was the home team? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question regarding who played as the away team when Essendon was the home team: ```sql SELECT away_team FROM table_name_85 WHERE home_team = "Essendon"; ```
14,440
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR)\n\n Question: Who played as the away team when Essendon was the home team?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (attendance VARCHAR, away_team VARCHAR) Question: What is the attendance when oadby town is away? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question about the attendance when Oadby Town is away: ``` SELECT attendance FROM table_name_37 WHERE away_team = "oadby town" ```
14,441
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (attendance VARCHAR, away_team VARCHAR)\n\n Question: What is the attendance when oadby town is away?\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_38 (score VARCHAR, home_team VARCHAR) Question: What is the score when parkgate is at home? Here is the SQLite query to answer to the question: What is the sc...
```sql SELECT score FROM table_name_38 WHERE home_team = "parkgate"; ```
14,442
[ { "from": "human", "value": " 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 (score VARCHAR, home_team VARCHAR)\n\n Question: What is the score when parkgate is at home?\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_89 (score VARCHAR, opponent VARCHAR, date VARCHAR) Question: What was the score against the devil rays on september 14? Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question regarding the score against the devil rays on September 14: ``` SELECT score FROM table_name_89 WHERE opponent = "devil rays" AND date = "september 14"; ```
14,443
[ { "from": "human", "value": " 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 (score VARCHAR, opponent VARCHAR, date VARCHAR)\n\n Question: What was the score against the devil rays on september...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (score VARCHAR, date VARCHAR) Question: What is the score on september 20? Here is the SQLite query to answer to the question: What is the score on septembe...
Here is the SQLite query to answer the question "What is the score on September 20?": ```sql SELECT score FROM table_name_6 WHERE date = "september 20"; ```
14,444
[ { "from": "human", "value": " 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 (score VARCHAR, date VARCHAR)\n\n Question: What is the score on september 20?\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_42 (high_rebounds VARCHAR, date VARCHAR) Question: Who had the highest number of rebounds on February 14? Here is the SQLite query to answer to the question: ...
To find who had the highest number of rebounds on February 14, you need to modify the query to return the record with the maximum number of rebounds. Assuming that the `high_rebounds` column contains numeric values represented as strings, you can convert them to integers and then use the `MAX` function. Here’s the revi...
14,445
[ { "from": "human", "value": " 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 (high_rebounds VARCHAR, date VARCHAR)\n\n Question: Who had the highest number of rebounds on February 14?\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_40 (venue VARCHAR, away_team VARCHAR) Question: Where was the game played where North Melbourne was the away team? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question: ``` SELECT venue FROM table_name_40 WHERE away_team = "North Melbourne" ```
14,446
[ { "from": "human", "value": " 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 (venue VARCHAR, away_team VARCHAR)\n\n Question: Where was the game played where North Melbourne was the away team?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR) Question: What is the week 12 result? Here is the SQLite query to answer to the question: What is the week 12 result?: ``` S...
Here is the SQLite query to answer the question regarding the results for week 12: ``` SELECT result FROM table_name_17 WHERE week = '12' ```
14,447
[ { "from": "human", "value": " 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 (result VARCHAR, week VARCHAR)\n\n Question: What is the week 12 result?\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_79 (college VARCHAR, hometown VARCHAR) Question: What college did the player from Fort Lauderdale, FL attend? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question about what college the player from Fort Lauderdale, FL attended: ``` SELECT college FROM table_name_79 WHERE hometown = 'Fort Lauderdale, FL'; ```
14,448
[ { "from": "human", "value": " 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 (college VARCHAR, hometown VARCHAR)\n\n Question: What college did the player from Fort Lauderdale, FL attend?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (hometown VARCHAR, college VARCHAR) Question: What is the hometown of the player who attended Ohio State? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question regarding the hometown of the player who attended Ohio State: ``` SELECT hometown FROM table_name_35 WHERE college = "Ohio State"; ```
14,449
[ { "from": "human", "value": " 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 (hometown VARCHAR, college VARCHAR)\n\n Question: What is the hometown of the player who attended Ohio State?\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_36 (height VARCHAR, hometown VARCHAR) Question: What is the height of the player from Elizabeth, NJ? Here is the SQLite query to answer to the question: What ...
Your SQLite query is correct in terms of using the right structure to select the height based on the given hometown. However, it's a good practice to ensure the city name is properly formatted in the query. Here's the SQL query wrapped in code formatting: ``` SELECT height FROM table_name_36 WHERE hometown = "Elizabet...
14,450
[ { "from": "human", "value": " 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 (height VARCHAR, hometown VARCHAR)\n\n Question: What is the height of the player from Elizabeth, NJ?\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_56 (college VARCHAR, school VARCHAR) Question: What college did the player from Ames High School attend? Here is the SQLite query to answer to the question: W...
```sql SELECT college FROM table_name_56 WHERE school = "Ames High School"; ```
14,451
[ { "from": "human", "value": " 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 (college VARCHAR, school VARCHAR)\n\n Question: What college did the player from Ames High School attend?\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_7 (frequency_mhz VARCHAR, fcc_info VARCHAR, erp_w VARCHAR) Question: Name the frequency mhz for fcc and ERP W of 9 watts Here is the SQLite query to answer to...
Here is the SQLite query to answer the question: Name the frequency mhz for fcc and ERP W of 9 watts: ``` SELECT frequency_mhz FROM table_name_7 WHERE fcc_info = "fcc" AND erp_w = "9 watts"; ```
14,452
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (frequency_mhz VARCHAR, fcc_info VARCHAR, erp_w VARCHAR)\n\n Question: Name the frequency mhz for fcc and ERP W of 9 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (frequency_mhz VARCHAR, erp_w VARCHAR) Question: Name the frequency mhz for ERP W of 850 watts Here is the SQLite query to answer to the question: Name the...
Here is the SQLite query to answer the question as you requested: ``` SELECT frequency_mhz FROM table_name_44 WHERE erp_w = "850 watts" ```
14,453
[ { "from": "human", "value": " 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 (frequency_mhz VARCHAR, erp_w VARCHAR)\n\n Question: Name the frequency mhz for ERP W of 850 watts\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_67 (fcc_info VARCHAR, call_sign VARCHAR) Question: Name the FCC info for call sign of kpcc Here is the SQLite query to answer to the question: Name the FCC in...
Here is the SQLite query to answer the question about the FCC info for the call sign of kpcc: ``` SELECT fcc_info FROM table_name_67 WHERE call_sign = "kpcc" ```
14,454
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (fcc_info VARCHAR, call_sign VARCHAR)\n\n Question: Name the FCC info for call sign of kpcc\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 (fcc_info VARCHAR, frequency_mhz VARCHAR) Question: Name the FCC info for frequency Mhz of 95.3 fm Here is the SQLite query to answer to the question: Name...
Here is the SQLite query to answer the question: Name the FCC info for frequency Mhz of 95.3 fm: ``` SELECT fcc_info FROM table_name_34 WHERE frequency_mhz = '95.3 fm'; ```
14,455
[ { "from": "human", "value": " 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 (fcc_info VARCHAR, frequency_mhz VARCHAR)\n\n Question: Name the FCC info for frequency Mhz of 95.3 fm\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (city_of_license VARCHAR, call_sign VARCHAR) Question: Name the city of license for call sign of kcmp Here is the SQLite query to answer to the question: N...
Here is the SQLite query to answer the question about the city of license for call sign "kcmp": ```sql SELECT city_of_license FROM table_name_95 WHERE call_sign = "kcmp"; ```
14,456
[ { "from": "human", "value": " 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 (city_of_license VARCHAR, call_sign VARCHAR)\n\n Question: Name the city of license for call sign of kcmp\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_24 (att INTEGER, long VARCHAR, yards VARCHAR) Question: Tell me the most Att with a long of 27 with yards longer than 27 Here is the SQLite query to answer to...
Here is the SQLite query to answer the question about the most `Att` with a `long` of 27 and `yards` longer than 27, wrapped in code formatting: ``` SELECT MAX(att) FROM table_name_24 WHERE long = 27 AND yards > 27 ```
14,457
[ { "from": "human", "value": " 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 (att INTEGER, long VARCHAR, yards VARCHAR)\n\n Question: Tell me the most Att with a long of 27 with yards longer th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (fuml INTEGER, att VARCHAR, long VARCHAR) Question: I want to know the average Fuml for Att of 5 and long more than 7 Here is the SQLite query to answer to...
Here is the SQLite query to answer your question: ``` SELECT AVG(fuml) FROM table_name_13 WHERE att = 5 AND long > 7 ```
14,458
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (fuml INTEGER, att VARCHAR, long VARCHAR)\n\n Question: I want to know the average Fuml for Att of 5 and long more t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (long INTEGER, player VARCHAR, att VARCHAR) Question: I want to know the longest Long for santana moss and Att more than 1 Here is the SQLite query to answe...
Your current query has a mistake in the aggregate function being used. To find the longest `long` for `santana moss` with `att` more than 1, you should use `MAX()` instead of `MIN()`. Here’s the corrected query: ```sql SELECT MAX(long) FROM table_name_5 WHERE player = "santana moss" AND att > 1 ```
14,459
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (long INTEGER, player VARCHAR, att VARCHAR)\n\n Question: I want to know the longest Long for santana moss and Att mo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (att INTEGER, avg VARCHAR) Question: Tell me the greatest att with an avg of 4.3 Here is the SQLite query to answer to the question: Tell me the greatest a...
Here is the SQLite query to answer the question "Tell me the greatest att with an avg of 4.3": ``` SELECT MAX(att) FROM table_name_91 WHERE avg = '4.3' ``` Note: Ensure that the avg value is compared as a string since it is defined as a VARCHAR in the schema.
14,460
[ { "from": "human", "value": " 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 (att INTEGER, avg VARCHAR)\n\n Question: Tell me the greatest att with an avg of 4.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_29 (yards INTEGER, player VARCHAR, long VARCHAR) Question: Tell me the sum of yards for jason campbell and long less than 23 Here is the SQLite query to answe...
Here is the SQLite query to answer the question about the sum of yards for Jason Campbell where the long is less than 23: ``` SELECT SUM(yards) FROM table_name_29 WHERE player = "jason campbell" AND long < 23 ```
14,461
[ { "from": "human", "value": " 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 (yards INTEGER, player VARCHAR, long VARCHAR)\n\n Question: Tell me the sum of yards for jason campbell and long les...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (driver VARCHAR, points VARCHAR) Question: Which driver scored 9 points? Here is the SQLite query to answer to the question: Which driver scored 9 points?:...
Here is the SQLite query to answer the question: Which driver scored 9 points?: ``` SELECT driver FROM table_name_58 WHERE points = "9"; ```
14,462
[ { "from": "human", "value": " 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 (driver VARCHAR, points VARCHAR)\n\n Question: Which driver scored 9 points?\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_64 (points VARCHAR, time_retired VARCHAR) Question: How many points were scored in 1:44:59.557 of time? Here is the SQLite query to answer to the question: Ho...
Here is the SQLite query to answer the question of how many points were scored in 1:44:59.557 of time: ``` SELECT points FROM table_name_64 WHERE time_retired = "1:44:59.557"; ```
14,463
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (points VARCHAR, time_retired VARCHAR)\n\n Question: How many points were scored in 1:44:59.557 of time?\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_79 (loss VARCHAR, date VARCHAR) Question: What was the loss for June 2? Here is the SQLite query to answer to the question: What was the loss for June 2?: ```...
Your SQLite query appears to be correctly structured for the question asked. Here it is wrapped in the requested format: ``` SELECT loss FROM table_name_79 WHERE date = "june 2"; ``` This query will retrieve the loss associated with the date "june 2" from the table `table_name_79`. Make sure that the date format in ...
14,464
[ { "from": "human", "value": " 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 (loss VARCHAR, date VARCHAR)\n\n Question: What was the loss for June 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_73 (record VARCHAR, loss VARCHAR) Question: What is the record for the game that has a loss of Johnson (5-6)? Here is the SQLite query to answer to the questi...
Here is the SQLite query wrapped in code blocks: ``` SELECT record FROM table_name_73 WHERE loss = "Johnson (5-6)"; ```
14,465
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (record VARCHAR, loss VARCHAR)\n\n Question: What is the record for the game that has a loss of Johnson (5-6)?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR) Question: What was the attendance for the game where the score was 0-6? Here is the SQLite query to answer to the questi...
Your query looks correct for retrieving the attendance for the game where the score was 0-6. Here it is wrapped in the code block as requested: ``` SELECT attendance FROM table_name_8 WHERE score = "0-6"; ```
14,466
[ { "from": "human", "value": " 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 (attendance VARCHAR, score VARCHAR)\n\n Question: What was the attendance for the game where the score was 0-6?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (attendance VARCHAR, score VARCHAR) Question: How many people attended the game that ended 4-6? Here is the SQLite query to answer to the question: How man...
Here is the SQLite query to answer the question: How many people attended the game that ended 4-6?: ``` SELECT COUNT(attendance) FROM table_name_15 WHERE score = "4-6" ```
14,467
[ { "from": "human", "value": " 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 (attendance VARCHAR, score VARCHAR)\n\n Question: How many people attended the game that ended 4-6?\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_4 (sample_size VARCHAR, date_s__administered VARCHAR) Question: what is the sample size when the date(s) administered is march 24, 2010? Here is the SQLite qu...
Here is the SQLite query to answer the question regarding the sample size for the date administered of March 24, 2010: ``` SELECT sample_size FROM table_name_4 WHERE date_s__administered = "march 24, 2010" ```
14,468
[ { "from": "human", "value": " 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 (sample_size VARCHAR, date_s__administered VARCHAR)\n\n Question: what is the sample size when the date(s) administer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (margin_of_error VARCHAR, undecided VARCHAR, other VARCHAR) Question: what is the margin of error when the undicided is 8% and other is 4%? Here is the SQL...
Here is the SQLite query to answer the question regarding the margin of error when the undecided is 8% and other is 4%: ``` SELECT margin_of_error FROM table_name_77 WHERE undecided = "8%" AND other = "4%" ```
14,469
[ { "from": "human", "value": " 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 (margin_of_error VARCHAR, undecided VARCHAR, other VARCHAR)\n\n Question: what is the margin of error when the undic...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (other VARCHAR, margin_of_error VARCHAR) Question: what is the percent for other when the margin of error is ± 3%? Here is the SQLite query to answer to th...
Your SQLite query to retrieve the percent for "other" when the margin of error is ± 3% looks correct. Here's the query wrapped in code blocks: ``` SELECT other FROM table_name_35 WHERE margin_of_error = "± 3%" ``` This query selects the "other" column from "table_name_35" where the "margin_of_error" is exactly "± 3%...
14,470
[ { "from": "human", "value": " 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 (other VARCHAR, margin_of_error VARCHAR)\n\n Question: what is the percent for other when the margin of error is ± 3...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (viewers INTEGER, share VARCHAR, rating VARCHAR, airdate VARCHAR) Question: Of all shows who have a rating larger than 7.8, aired on October 26, 2006, and h...
Here is the SQLite query to answer the question: ```sql SELECT SUM(viewers) FROM table_name_91 WHERE rating > 7.8 AND airdate = 'October 26, 2006' AND share > 14; ```
14,471
[ { "from": "human", "value": " 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 (viewers INTEGER, share VARCHAR, rating VARCHAR, airdate VARCHAR)\n\n Question: Of all shows who have a rating large...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (year INTEGER, mintage VARCHAR, issue_price VARCHAR) Question: What is the latest year that has an n/a mintage and an Issue Price of $89.95? Here is the SQ...
Here is the SQLite query to answer the question regarding the latest year with an n/a mintage and an Issue Price of $89.95: ``` SELECT MAX(year) FROM table_name_39 WHERE mintage = 'n/a' AND issue_price = '$89.95'; ```
14,472
[ { "from": "human", "value": " 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 (year INTEGER, mintage VARCHAR, issue_price VARCHAR)\n\n Question: What is the latest year that has an n/a mintage 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 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR) Question: What mintage for the royal canadian mint engravers before 2008 that has an is...
Here is the SQLite query to answer the question about the mintage for the royal canadian mint engravers before 2008 that has an issue price of $102.95: ```sql SELECT mintage FROM table_name_98 WHERE artist = "royal canadian mint engravers" AND year < "2008" AND issue_price = "$102.95"; ```
14,473
[ { "from": "human", "value": " 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 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR)\n\n Question: What mintage for the royal canadi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (theme VARCHAR, year VARCHAR, issue_price VARCHAR) Question: What theme is associated with a year before 2006 and Issue Price of $25.22? Here is the SQLite...
Here is the SQLite query to find the theme associated with a year before 2006 and an issue price of $25.22: ``` SELECT theme FROM table_name_14 WHERE year < '2006' AND issue_price = '$25.22'; ```
14,474
[ { "from": "human", "value": " 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 (theme VARCHAR, year VARCHAR, issue_price VARCHAR)\n\n Question: What theme is associated with a year before 2006 an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (score_in_the_final VARCHAR, date VARCHAR) Question: What was the score in the final on 14 august 1994? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question about the score in the final on 14 August 1994: ``` SELECT score_in_the_final FROM table_name_36 WHERE date = "14 august 1994"; ```
14,475
[ { "from": "human", "value": " 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 (score_in_the_final VARCHAR, date VARCHAR)\n\n Question: What was the score in the final on 14 august 1994?\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_7 (tournament VARCHAR, score_in_the_final VARCHAR, partner VARCHAR) Question: Which tournament had a final score of 6–7, 2–6, and a Partner of wayne arthurs? ...
```sql SELECT tournament FROM table_name_7 WHERE score_in_the_final = "6–7, 2–6" AND partner = "wayne arthurs" ```
14,476
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (tournament VARCHAR, score_in_the_final VARCHAR, partner VARCHAR)\n\n Question: Which tournament had a final score of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR) Question: who was the opponent with round 17? Here is the SQLite query to answer to the question: who was the opponent wi...
Your SQLite query is correctly structured to find the opponent with round 17. Here's the query wrapped in the appropriate code block: ``` SELECT opponent FROM table_name_64 WHERE round = "17"; ``` This query will return the opponent(s) associated with round 17 from the `table_name_64`.
14,477
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR)\n\n Question: who was the opponent with round 17?\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_19 (round VARCHAR, opponent VARCHAR, venue VARCHAR) Question: what round saw wakefield trinity wildcats u21 as the opponenet at belle vue? Here is the SQLite ...
Here is the SQLite query to answer the question about the round in which Wakefield Trinity Wildcats U21 was the opponent at Belle Vue: ``` SELECT round FROM table_name_19 WHERE opponent = "wakefield trinity wildcats u21" AND venue = "belle vue" ```
14,478
[ { "from": "human", "value": " 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 (round VARCHAR, opponent VARCHAR, venue VARCHAR)\n\n Question: what round saw wakefield trinity wildcats u21 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_16 (round VARCHAR, venue VARCHAR) Question: what round happened at galpharm stadium? Here is the SQLite query to answer to the question: what round happened a...
Here is the SQLite query to answer the question about what round happened at Galpharm Stadium: ``` SELECT round FROM table_name_16 WHERE venue = "galpharm stadium"; ```
14,479
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (round VARCHAR, venue VARCHAR)\n\n Question: what round happened at galpharm stadium?\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_67 (away_team VARCHAR) Question: In the game where Melbourne was the away team, what did they score? Here is the SQLite query to answer to the question: In th...
The provided query seems to have a misunderstanding regarding the output. Since the question asks for "what did they score," we need to assume that there's a score column in the schema which isn't mentioned in your provided schema. However, based on your schema, if we just want to find the game where Melbourne was th...
14,480
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (away_team VARCHAR)\n\n Question: In the game where Melbourne was the away team, what did they score?\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_97 (away_team VARCHAR, venue VARCHAR) Question: In the venue Corio Oval, who was the away team? Here is the SQLite query to answer to the question: In the ven...
Here is the SQLite query to answer the question regarding the away team in the venue Corio Oval: ``` SELECT away_team FROM table_name_97 WHERE venue = "Corio Oval"; ```
14,481
[ { "from": "human", "value": " 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 (away_team VARCHAR, venue VARCHAR)\n\n Question: In the venue Corio Oval, who was the away team?\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_55 (pick INTEGER, new_team VARCHAR, round VARCHAR) Question: What was the biggest pick number for the new team of Texas Rangers, in the compensation-a round? ...
Here is the SQLite query to answer the question regarding the biggest pick number for the new team of Texas Rangers in the compensation-a round: ``` SELECT MAX(pick) FROM table_name_55 WHERE new_team = "texas rangers" AND round = "compensation-a" ```
14,482
[ { "from": "human", "value": " 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 (pick INTEGER, new_team VARCHAR, round VARCHAR)\n\n Question: What was the biggest pick number for the new team of T...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (pick VARCHAR, round VARCHAR, player VARCHAR) Question: What was the pick number for the compensation-a round, for player Frank Catalanotto? Here is the SQ...
Here is the SQLite query to answer the question about the pick number for the compensation-a round for player Frank Catalanotto: ``` SELECT pick FROM table_name_93 WHERE round = "compensation-a" AND player = "Frank Catalanotto" ```
14,483
[ { "from": "human", "value": " 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 (pick VARCHAR, round VARCHAR, player VARCHAR)\n\n Question: What was the pick number for the compensation-a round, f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (new_team VARCHAR, round VARCHAR, player VARCHAR) Question: Which new team has a compensation-a round, and Frank Catalanotto as a player? Here is the SQLit...
Here is the SQLite query to answer the question: ``` SELECT new_team FROM table_name_27 WHERE round = "compensation-a" AND player = "Frank Catalanotto"; ```
14,484
[ { "from": "human", "value": " 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 (new_team VARCHAR, round VARCHAR, player VARCHAR)\n\n Question: Which new team has a compensation-a round, and Frank...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (free_agent_class VARCHAR, pick INTEGER) Question: What was the free agent class, with a pick less than 38? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question regarding the free agent class with a pick less than 38: ``` SELECT free_agent_class FROM table_name_22 WHERE pick < 38; ```
14,485
[ { "from": "human", "value": " 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 (free_agent_class VARCHAR, pick INTEGER)\n\n Question: What was the free agent class, with a pick less than 38?\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_95 (away_team VARCHAR, home_team VARCHAR) Question: What is the score of the away team when the home team is Footscray? Here is the SQLite query to answer to ...
It appears that you're trying to retrieve the score of the away team when the home team is Footscray. However, based on the schema you provided, the table only contains team names and does not include any columns for scores. The SQL statement you provided attempts to fetch from a non-existent score column. If you mean...
14,486
[ { "from": "human", "value": " 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 (away_team VARCHAR, home_team VARCHAR)\n\n Question: What is the score of the away team when the home team is Footsc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, mintage__proof_ VARCHAR) Question: What's listed as the Issue Price (BU) [Clarification Needed] w...
Your SQLite query has a small syntax issue with the column name. You cannot directly reference another column within square brackets like that. Instead, you generally return multiple columns using a comma. Here's the corrected query: ```sql SELECT issue_price__bu_, _clarification_needed_ FROM table_name_57 WHERE min...
14,487
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, mintage__proof_ VARCHAR)\n\n Question: What's listed as t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (artist VARCHAR, mintage__proof_ VARCHAR, year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR) Question: Who is the Artist with an Issue ...
Here's the correct SQLite query based on the specified requirements: ```sql SELECT artist FROM table_name_53 WHERE issue_price__bu_ = "n/a" AND year > "2004" AND mintage__proof_ = "25,000"; ``` Note: In the query, I removed the incorrect notation `[_clarification_needed_]`, as it seems to be a misunderstandi...
14,488
[ { "from": "human", "value": " 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 (artist VARCHAR, mintage__proof_ VARCHAR, year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR)\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_19 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR) Question: What's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Bl...
Here is the SQLite query that answers the question regarding the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Blakemore: ``` SELECT AVG(year) FROM table_name_19 WHERE issue_price__proof_ = '$49.95' AND artist = 'W.H.J. Blakemore'; ```
14,489
[ { "from": "human", "value": " 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 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR)\n\n Question: What's the average Year with an Issue Pric...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, year VARCHAR, mintage__proof_ VARCHAR) Question: What's the Issue Price (BU) [Clarification Neede...
The given SQLite query has a small syntax issue in the `SELECT` statement. The column `issue_price__bu_` should not have `_clarification_needed_` included as part of the column name. If you meant to include both the `issue_price__bu_` and `_clarification_needed_` fields in the result, you would need to select them sepa...
14,490
[ { "from": "human", "value": " 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 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, year VARCHAR, mintage__proof_ VARCHAR)\n\n Question: What...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (winners VARCHAR, runners_up VARCHAR) Question: Who was the winner when the runner-up was Chemnitzer FC II? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question of who was the winner when the runner-up was Chemnitzer FC II: ``` SELECT winners FROM table_name_86 WHERE runners_up = "Chemnitzer FC II" ```
14,491
[ { "from": "human", "value": " 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 (winners VARCHAR, runners_up VARCHAR)\n\n Question: Who was the winner when the runner-up was Chemnitzer FC II?\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_34 (preliminary_average VARCHAR, state VARCHAR) Question: Name the preliminary average for utah Here is the SQLite query to answer to the question: Name the p...
Here is the SQLite query to answer the question of naming the preliminary average for Utah: ``` SELECT preliminary_average FROM table_name_34 WHERE state = "utah"; ```
14,492
[ { "from": "human", "value": " 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 (preliminary_average VARCHAR, state VARCHAR)\n\n Question: Name the preliminary average for utah\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_89 (tournament VARCHAR, total VARCHAR, team VARCHAR) Question: How many tournament titles for texas with over 0 total? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question "How many tournament titles for texas with over 0 total?": ``` SELECT COUNT(tournament) FROM table_name_89 WHERE total > 0 AND team = "texas" ```
14,493
[ { "from": "human", "value": " 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 (tournament VARCHAR, total VARCHAR, team VARCHAR)\n\n Question: How many tournament titles for texas with over 0 tot...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (tournament INTEGER, total VARCHAR, team VARCHAR) Question: How many tournament titles for iowa state with 3 total titles? Here is the SQLite query to answ...
Your query is almost correct, but it seems like you're trying to find the count of tournament titles for Iowa State with a total of 3 titles rather than retrieving the maximum tournament value. To achieve that, you would typically use the `COUNT` function instead of `MAX`. Here’s the corrected SQL query: ```sql SELECT...
14,494
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (tournament INTEGER, total VARCHAR, team VARCHAR)\n\n Question: How many tournament titles for iowa state with 3 tot...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR) Question: what is the country when the bie recognised is no and years(s) is 2014? Here is the SQ...
Your SQLite query is correctly structured to answer the question based on the given schema. Here it is, wrapped in the requested format: ``` SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014"; ```
14,495
[ { "from": "human", "value": " 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 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)\n\n Question: what is the country when the bie recognised...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (type VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR) Question: what is the type when the bie recognised is yes and year(s) is 1960? Here is the SQLite q...
Here is the SQLite query to answer the question about the type when the bie recognised is "yes" and the year(s) is 1960: ``` SELECT type FROM table_name_62 WHERE bie_recognised = 'yes' AND year_s_ = '1960'; ```
14,496
[ { "from": "human", "value": " 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 (type VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)\n\n Question: what is the type when the bie recognised is ye...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (type VARCHAR, year_s_ VARCHAR, bie_recognised VARCHAR, festival_name VARCHAR) Question: what is the type when the bie recognised is yes, festival name is f...
Here is the SQLite query to answer the question you specified: ```sql SELECT type FROM table_name_45 WHERE bie_recognised = "yes" AND festival_name = "floriade" AND year_s_ = "2002"; ```
14,497
[ { "from": "human", "value": " 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 (type VARCHAR, year_s_ VARCHAR, bie_recognised VARCHAR, festival_name VARCHAR)\n\n Question: what is the type when 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 (year_s_ VARCHAR, city VARCHAR) Question: what is the year(s) when the city is kunming? Here is the SQLite query to answer to the question: what is the yea...
Your SQLite query to find the year(s) when the city is Kunming is correct. Here it is wrapped as you requested: ``` SELECT year_s_ FROM table_name_59 WHERE city = "kunming"; ```
14,498
[ { "from": "human", "value": " 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 (year_s_ VARCHAR, city VARCHAR)\n\n Question: what is the year(s) when the city is kunming?\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_23 (type VARCHAR, year_s_ VARCHAR) Question: what is the type when the year(s) is 1982? Here is the SQLite query to answer to the question: what is the type w...
```sql SELECT type FROM table_name_23 WHERE year_s_ = "1982"; ```
14,499
[ { "from": "human", "value": " 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 (type VARCHAR, year_s_ VARCHAR)\n\n Question: what is the type when the year(s) is 1982?\n\nHere is the SQLite query...