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_46 (guests INTEGER, ship_name VARCHAR, year_built VARCHAR) Question: What is the number of guests for the Viking Ingvar, built earlier than 1990? Here is the ...
The SQLite query you've provided contains a small mistake regarding the use of the `AVG` function. Since you are asking for the number of guests for the Viking Ingvar, you should not be averaging the guests, but rather selecting the specific value. Here’s the corrected SQLite query: ```sql SELECT guests FROM table_nam...
17,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_46 (guests INTEGER, ship_name VARCHAR, year_built VARCHAR)\n\n Question: What is the number of guests for the Viking In...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (year_built INTEGER, last_refurbished INTEGER) Question: What is the earliest year built for the ship refurbished earlier than 2013? Here is the SQLite que...
Here is the SQLite query to answer the question about finding the earliest year built for the ship refurbished earlier than 2013: ``` SELECT MIN(year_built) FROM table_name_47 WHERE last_refurbished < 2013 ```
17,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_47 (year_built INTEGER, last_refurbished INTEGER)\n\n Question: What is the earliest year built for the ship refurbishe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (gene VARCHAR, route_of_administration VARCHAR, status VARCHAR) Question: Which gene is ongoing and has an intramuscular route of administration? Here is t...
Your SQLite query is correct for the given schema and question. Here it is wrapped in code format: ``` SELECT gene FROM table_name_42 WHERE route_of_administration = "intramuscular" AND status = "ongoing"; ```
17,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_42 (gene VARCHAR, route_of_administration VARCHAR, status VARCHAR)\n\n Question: Which gene is ongoing and has an intra...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (gene VARCHAR, subject_number VARCHAR) Question: Which gene has the subject number 21? Here is the SQLite query to answer to the question: Which gene has t...
Here is the SQLite query to find out which gene has the subject number 21: ``` SELECT gene FROM table_name_28 WHERE subject_number = "21"; ```
17,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_28 (gene VARCHAR, subject_number VARCHAR)\n\n Question: Which gene has the subject number 21?\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_4 (route_of_administration VARCHAR, status VARCHAR) Question: What is the route of administration that has several ongoing and complete? Here is the SQLite qu...
The query you provided is close, but it seems to misunderstand the requirement. It looks like you want to find routes of administration that have multiple entries with the status "ongoing" and "complete". Here's a refined version of the query that accomplishes this: ```sql SELECT route_of_administration FROM table_na...
17,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_4 (route_of_administration VARCHAR, status VARCHAR)\n\n Question: What is the route of administration that has several ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (status VARCHAR, route_of_administration VARCHAR, gene VARCHAR) Question: What is the statue of the aat gene, which has an intramuscular route of administra...
Here's the SQLite query to answer your question: ``` SELECT status FROM table_name_98 WHERE route_of_administration = "intramuscular" AND gene = "aat" ```
17,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_98 (status VARCHAR, route_of_administration VARCHAR, gene VARCHAR)\n\n Question: What is the statue of the aat gene, wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (draws INTEGER, wins VARCHAR, losses VARCHAR, position VARCHAR) Question: What is the fewest draws for teams having under 2 losses, more than 4 wins, and a ...
Your SQL query is almost correct, but there are a few adjustments needed regarding the conditions for filtering in SQLite. Specifically, the `losses` and `wins` columns, which are VARCHAR types, should be compared in a way that makes sense for numerical values. Here is the revised SQL query to determine the fewest dra...
17,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_18 (draws INTEGER, wins VARCHAR, losses VARCHAR, position VARCHAR)\n\n Question: What is the fewest draws for teams hav...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (losses INTEGER, points VARCHAR, wins VARCHAR, position VARCHAR) Question: What is the most losses for teams with under 2 wins, more than 6 points, and a po...
Here is the SQLite query to answer the question regarding the most losses for teams with under 2 wins, more than 6 points, and a position under 11: ```sql SELECT MAX(losses) FROM table_name_19 WHERE CAST(wins AS INTEGER) < 2 AND CAST(points AS INTEGER) > 6 AND CAST(position AS INTEGER) < 11; ``` This query u...
17,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_19 (losses INTEGER, points VARCHAR, wins VARCHAR, position VARCHAR)\n\n Question: What is the most losses for teams wit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (position VARCHAR, losses VARCHAR, conceded VARCHAR) Question: What is the total number of positions having 1 loss and more than 9 conceded? Here is the SQL...
Here is the SQLite query to answer the question regarding the total number of positions having 1 loss and more than 9 conceded: ``` SELECT COUNT(position) FROM table_name_7 WHERE losses = '1' AND conceded > '9' ```
17,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_7 (position VARCHAR, losses VARCHAR, conceded VARCHAR)\n\n Question: What is the total number of positions having 1 los...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, result VARCHAR) Question: What is the venue of the competition with a result of 1st before 2009? Here is the SQLite query to ...
Here is the SQLite query to answer the question about the venue of the competition with a result of 1st before 2009: ``` SELECT venue FROM table_name_93 WHERE year < '2009' AND result = '1st'; ```
17,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_93 (venue VARCHAR, year VARCHAR, result VARCHAR)\n\n Question: What is the venue of the competition with a result of 1s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR) Question: What was the venue of the 400 M Hurdles for the Olympic Games? Here is the SQLite query to ans...
Here is the SQLite query to answer the question regarding the venue of the 400 M Hurdles for the Olympic Games: ``` SELECT venue FROM table_name_35 WHERE event = "400 M Hurdles" AND tournament = "Olympic Games"; ```
17,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_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR)\n\n Question: What was the venue of the 400 M Hurdles for the Oly...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (year INTEGER, venue VARCHAR, event VARCHAR) Question: What was the earliest year for the 400 M Hurdles in Santiago, Chile? Here is the SQLite query to ans...
Here is the SQLite query to answer the question regarding the earliest year for the 400 M Hurdles in Santiago, Chile: ``` SELECT MIN(year) FROM table_name_71 WHERE venue = "santiago, chile" AND event = "400 m hurdles" ```
17,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_71 (year INTEGER, venue VARCHAR, event VARCHAR)\n\n Question: What was the earliest year for the 400 M Hurdles in Santi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (time VARCHAR, country VARCHAR) Question: What time does Belgium have? Here is the SQLite query to answer to the question: What time does Belgium have?: ``...
Here is the SQLite query to answer the question about what time Belgium has: ``` SELECT time FROM table_name_85 WHERE country = "Belgium" ```
17,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_85 (time VARCHAR, country VARCHAR)\n\n Question: What time does Belgium have?\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_10 (notes VARCHAR, rank VARCHAR) Question: Rank 6 has what notes? Here is the SQLite query to answer to the question: Rank 6 has what notes?: ``` SELECT notes...
Your SQLite query needs a slight adjustment regarding the data type used for the rank value. Since "rank" is a VARCHAR in your schema, the value '6' should be enclosed in single quotes. Here is the corrected version of your query: ``` SELECT notes FROM table_name_10 WHERE rank = '6' ```
17,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_10 (notes VARCHAR, rank VARCHAR)\n\n Question: Rank 6 has what notes?\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_6 (athlete VARCHAR, notes VARCHAR, rank VARCHAR) Question: Who has less than 5 rank and notes of fb? Here is the SQLite query to answer to the question: Who h...
Your provided query is almost correct; however, since the `rank` is defined as a `VARCHAR`, you need to ensure that the comparison works correctly by using `CAST` to convert the rank to an integer for comparison. Here's the updated query: ```sql SELECT athlete FROM table_name_6 WHERE notes = "fb" AND CAST(rank AS INTE...
17,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_6 (athlete VARCHAR, notes VARCHAR, rank VARCHAR)\n\n Question: Who has less than 5 rank and notes of fb?\n\nHere is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (time VARCHAR, rank VARCHAR) Question: Rank of 6 has what time? Here is the SQLite query to answer to the question: Rank of 6 has what time?: ``` SELECT ti...
Here is the correct SQLite query to answer the question regarding the time associated with Rank 6: ```sql SELECT time FROM table_name_16 WHERE rank = '6'; ``` Make sure the rank value is enclosed in quotes since it is defined as a `VARCHAR` in the schema.
17,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_16 (time VARCHAR, rank VARCHAR)\n\n Question: Rank of 6 has what time?\n\nHere is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (tournament VARCHAR, surface VARCHAR) Question: What tournament is played on a carpet surface? Here is the SQLite query to answer to the question: What tou...
Here is the SQLite query to answer the question: What tournament is played on a carpet surface?: ``` SELECT tournament FROM table_name_99 WHERE surface = "carpet"; ```
17,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_99 (tournament VARCHAR, surface VARCHAR)\n\n Question: What tournament is played on a carpet surface?\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_4 (gothic_letter VARCHAR, proto_germanic_origin VARCHAR) Question: Which Gothic Letter has Proto-Germanic origin of /ɸ/; /b/? Here is the SQLite query to answ...
Your SQLite query looks correct for retrieving Gothic letters that have a Proto-Germanic origin of "/ɸ/; /b/". However, I would recommend using single quotes for string literals in SQL to ensure compatibility with standard SQL syntax. Here is the query properly formatted: ```sql SELECT gothic_letter FROM table_name_4 ...
17,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_4 (gothic_letter VARCHAR, proto_germanic_origin VARCHAR)\n\n Question: Which Gothic Letter has Proto-Germanic origin of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (proto_germanic_origin VARCHAR, sound__phoneme_ VARCHAR) Question: What is the Proto-Germanic origin of the phoneme /[[|j]]/? Here is the SQLite query to an...
Here is the SQLite query to answer the question about the Proto-Germanic origin of the phoneme /[[|j]]/: ```sql SELECT proto_germanic_origin FROM table_name_2 WHERE sound__phoneme_ = '/[[|j]]/'; ```
17,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_2 (proto_germanic_origin VARCHAR, sound__phoneme_ VARCHAR)\n\n Question: What is the Proto-Germanic origin of the phone...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (roman VARCHAR, sound__allophone_ VARCHAR) Question: What is the Roman entry for the allophone of [[[|k]]]? Here is the SQLite query to answer to the quest...
Your SQLite query looks correct for retrieving the Roman entry associated with the allophone of `[[[|k]]]`. Here it is formatted accordingly: ``` SELECT roman FROM table_name_79 WHERE sound__allophone_ = "[[[|k]]]" ``` This query selects the `roman` column from `table_name_79` where the `sound__allophone_` matches `...
17,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_79 (roman VARCHAR, sound__allophone_ VARCHAR)\n\n Question: What is the Roman entry for the allophone of [[[|k]]]?\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_15 (proto_germanic_origin VARCHAR, sound__allophone_ VARCHAR) Question: What is the Proto-Germanic origin associated with an allophone of [[[|k]]]? Here is th...
Here is the SQLite query to answer the question regarding the Proto-Germanic origin associated with an allophone of [[[|k]]]: ``` SELECT proto_germanic_origin FROM table_name_15 WHERE sound__allophone_ = "[[[|k]]]" ```
17,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_15 (proto_germanic_origin VARCHAR, sound__allophone_ VARCHAR)\n\n Question: What is the Proto-Germanic origin associate...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (roman VARCHAR, proto_germanic_origin VARCHAR) Question: The Proto-Germanic origin of /w/ is associated with what Roman entry? Here is the SQLite query to ...
Here is the SQLite query to answer the question regarding the Proto-Germanic origin of /w/ and its associated Roman entry: ``` SELECT roman FROM table_name_27 WHERE proto_germanic_origin = '/w/'; ```
17,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_27 (roman VARCHAR, proto_germanic_origin VARCHAR)\n\n Question: The Proto-Germanic origin of /w/ is associated with wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE t (Id VARCHAR) Question: The Roman value of t is associated with what allophone? Here is the SQLite query to answer to the question: The Roman value of t is associated w...
The SQLite query you've provided has a couple of issues to address: 1. The schema you've given only describes a single table `t` with a column `Id`, but it does not mention `roman` or `sound__allophone_`. 2. Since we need to extract an allophone associated with the Roman value of "t", we assume that you might have a d...
17,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 t (Id VARCHAR)\n\n Question: The Roman value of t is associated with what allophone?\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_93 (location VARCHAR, mascot VARCHAR) Question: Where is the school located that has mustangs as a mascot? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question about the location of the school with mustangs as a mascot: ``` SELECT location FROM table_name_93 WHERE mascot = "mustangs"; ```
17,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_93 (location VARCHAR, mascot VARCHAR)\n\n Question: Where is the school located that has mustangs as a mascot?\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_30 (enrollment INTEGER, school VARCHAR) Question: What is the enrollment for the school Highland? Here is the SQLite query to answer to the question: What is ...
Here is the SQLite query to answer the question regarding the enrollment for the school Highland: ```sql SELECT SUM(enrollment) FROM table_name_30 WHERE school = "Highland"; ```
17,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_30 (enrollment INTEGER, school VARCHAR)\n\n Question: What is the enrollment for the school Highland?\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_69 (nominee_s_ VARCHAR, year VARCHAR, result VARCHAR) Question: Which nominees won before year 2005? Here is the SQLite query to answer to the question: Which...
Here is the SQLite query to answer the question: Which nominees won before year 2005?: ``` SELECT nominee_s_ FROM table_name_69 WHERE year < '2005' AND result = 'won'; ```
17,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_69 (nominee_s_ VARCHAR, year VARCHAR, result VARCHAR)\n\n Question: Which nominees won before year 2005?\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_10 (episode VARCHAR, nominee_s_ VARCHAR, year VARCHAR) Question: Which episode in year 2003 that have Gary Murphy and Neil Thompson? Here is the SQLite query ...
To correctly formulate the SQLite query based on the provided schema and question, we need to ensure that we accurately check the conditions for both nominees in the specified year. Here's the corrected version of the query: ```sql SELECT episode FROM table_name_10 WHERE year = '2003' AND nominee_s_ IN ('Gary Murph...
17,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_10 (episode VARCHAR, nominee_s_ VARCHAR, year VARCHAR)\n\n Question: Which episode in year 2003 that have Gary Murphy a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (year INTEGER, result VARCHAR) Question: What is the average year with nominated result? Here is the SQLite query to answer to the question: What is the av...
Here is the SQLite query to answer the question "What is the average year with nominated result?": ``` SELECT AVG(year) FROM table_name_32 WHERE result = 'nominated'; ```
17,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_32 (year INTEGER, result VARCHAR)\n\n Question: What is the average year with nominated result?\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_6 (fa_cup_goals INTEGER, total_goals VARCHAR, name VARCHAR) Question: What is the lowest FA cup goals that have total goals less than 4, with Terry poole as th...
Here is the SQLite query to answer the question of finding the lowest FA cup goals that have total goals less than 4 for the name "Terry Poole": ``` SELECT MIN(fa_cup_goals) FROM table_name_6 WHERE total_goals < 4 AND name = "Terry Poole"; ```
17,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_6 (fa_cup_goals INTEGER, total_goals VARCHAR, name VARCHAR)\n\n Question: What is the lowest FA cup goals that have tot...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (fa_cup_goals VARCHAR, name VARCHAR, league_cup_goals VARCHAR) Question: How many FA cup goals have Jimmy Nicholson as the name, and league cup goals greate...
Here is the corrected SQLite query that answers your question: ``` SELECT SUM(CAST(fa_cup_goals AS INTEGER)) FROM table_name_41 WHERE name = "Jimmy Nicholson" AND CAST(league_cup_goals AS INTEGER) > 0; ``` Please note that in the original query you provided, the `COUNT` function would count the number of rows that...
17,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_41 (fa_cup_goals VARCHAR, name VARCHAR, league_cup_goals VARCHAR)\n\n Question: How many FA cup goals have Jimmy Nichol...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR) Question: What are the points against for 2001, and games won of 5 (3)? He...
Here is the SQLite query to answer the question regarding the points against for the year 2001 and games won of 5 (3): ``` SELECT points_against___tests__ FROM table_name_16 WHERE year_s_ = '2001' AND games_won___tests__ = '5 (3)'; ```
17,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_16 (points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR)\n\n Question: What are the points a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR) Question: What are the points against for 2000, when games won is 4 (1)? H...
Here is the SQLite query to answer the question regarding the points against for the year 2000 when games won is 4 (1): ``` SELECT points_against___tests__ FROM table_name_16 WHERE year_s_ = '2000' AND games_won___tests__ = '4 (1)' ```
17,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_16 (points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR)\n\n Question: What are the points a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (games_lost___tests__ VARCHAR, points_for___tests__ VARCHAR, games_played___tests__ VARCHAR, year_s_ VARCHAR) Question: What is the games lost when games pl...
Here is the SQLite query to answer the question regarding games lost when games played was 2, year was earlier than 1999, and points for was 24: ``` SELECT games_lost___tests__ FROM table_name_73 WHERE games_played___tests__ = "2" AND year_s_ < "1999" AND points_for___tests__ = "24" ```
17,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_73 (games_lost___tests__ VARCHAR, points_for___tests__ VARCHAR, games_played___tests__ VARCHAR, year_s_ VARCHAR)\n\n Qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (year_s_ INTEGER, games_drawn___tests__ VARCHAR, points_against___tests__ VARCHAR) Question: What is the earliest year when games drawn was 0, points agains...
Here is the SQLite query to answer the question: ``` SELECT MIN(year_s_) FROM table_name_29 WHERE games_drawn___tests__ = "0" AND points_against___tests__ = "86" ```
17,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_29 (year_s_ INTEGER, games_drawn___tests__ VARCHAR, points_against___tests__ VARCHAR)\n\n Question: What is the earlies...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (tournament_or_series VARCHAR, points_for___tests__ VARCHAR, played_in VARCHAR, games_played___tests__ VARCHAR) Question: What tournament or series was play...
Here is the SQLite query to answer the question about the tournament or series that was played in England, where games played was 4, and the points for were 121: ``` SELECT tournament_or_series FROM table_name_15 WHERE played_in = "England" AND games_played___tests__ = "4" AND points_for___tests__ = "121" ```
17,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_15 (tournament_or_series VARCHAR, points_for___tests__ VARCHAR, played_in VARCHAR, games_played___tests__ 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_26 (average_ratings VARCHAR, romaji_title VARCHAR) Question: What's the average rating when the Romanji title was Mendol? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about the average rating when the Romaji title is "Mendol": ``` SELECT average_ratings FROM table_name_26 WHERE romaji_title = "Mendol" ```
17,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_26 (average_ratings VARCHAR, romaji_title VARCHAR)\n\n Question: What's the average rating when the Romanji title was M...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR) Question: What's the ratings of TBS of Episode 10 and had a Japanese...
Here's the SQLite query you need to answer the question about the ratings of TBS for Episode 10 with the Japanese title of Scandal: ```sql SELECT average_ratings FROM table_name_76 WHERE tv_station = "TBS" AND episodes = "10" AND japanese_title = "Scandal"; ```
17,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_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)\n\n Question: What's the rat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (japanese_title VARCHAR, romaji_title VARCHAR) Question: What's the Japanese title when the Romaji Title was Atsu-Hime? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question regarding the Japanese title for the Romaji Title "Atsu-Hime": ``` SELECT japanese_title FROM table_name_24 WHERE romaji_title = "Atsu-Hime"; ```
17,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_24 (japanese_title VARCHAR, romaji_title VARCHAR)\n\n Question: What's the Japanese title when the Romaji Title was Ats...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (japanese_title VARCHAR, romaji_title VARCHAR) Question: What's the Japanese Title when the Romaji title was Ryūsei No Kizuna? Here is the SQLite query to ...
Here is the SQLite query to answer the question about the Japanese Title when the Romaji title was "Ryūsei No Kizuna": ```sql SELECT japanese_title FROM table_name_13 WHERE romaji_title = "Ryūsei No Kizuna"; ```
17,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_13 (japanese_title VARCHAR, romaji_title VARCHAR)\n\n Question: What's the Japanese Title when the Romaji title was Ryū...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (location VARCHAR, position_in_2012_13 VARCHAR) Question: When the position in 2012-13 is 13th, third division what is the location? Here is the SQLite que...
Your provided SQLite query is correct for retrieving the location when the position in 2012-13 is "13th, third division". Here is the query wrapped in code formatting: ``` SELECT location FROM table_name_68 WHERE position_in_2012_13 = "13th, third division"; ``` This query selects the `location` from the `table_name...
17,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_68 (location VARCHAR, position_in_2012_13 VARCHAR)\n\n Question: When the position in 2012-13 is 13th, third division w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (location VARCHAR, club VARCHAR) Question: What is the location for a club of telecom? Here is the SQLite query to answer to the question: What is the loca...
Here is the SQLite query to answer the question about the location for a club of telecom: ``` SELECT location FROM table_name_61 WHERE club = "telecom" ```
17,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_61 (location VARCHAR, club VARCHAR)\n\n Question: What is the location for a club of telecom?\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_24 (home_ground VARCHAR, position_in_2012_13 VARCHAR) Question: When the position in 2012-12 is 7th, third division what is the home ground? Here is the SQLit...
Here is the SQLite query to answer the question regarding the home ground when the position in 2012-13 is 7th, third division: ```sql SELECT home_ground FROM table_name_24 WHERE position_in_2012_13 = "7th, third division"; ```
17,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_24 (home_ground VARCHAR, position_in_2012_13 VARCHAR)\n\n Question: When the position in 2012-12 is 7th, third division...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (club VARCHAR, league_division VARCHAR) Question: What club has a league/division of fourth division? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question regarding which club has a league/division of "fourth division": ``` SELECT club FROM table_name_95 WHERE league_division = "fourth division" ```
17,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_95 (club VARCHAR, league_division VARCHAR)\n\n Question: What club has a league/division of fourth division?\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_27 (club VARCHAR, position_in_2012_13 VARCHAR) Question: When the position in 2012-23 is 4th, second division what is the club? Here is the SQLite query to an...
Here is the SQLite query that answers the question regarding the club that had the position "4th, second division" in the 2012-13 season: ```sql SELECT club FROM table_name_27 WHERE position_in_2012_13 = "4th, second division"; ```
17,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_27 (club VARCHAR, position_in_2012_13 VARCHAR)\n\n Question: When the position in 2012-23 is 4th, second division what ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR) Question: What location has a home ground of n/a, and position in 2012-13 of 13th, third...
Here is the SQLite query to answer the question regarding the location with a home ground of "n/a" and a position in 2012-13 of "13th, third division": ``` SELECT location FROM table_name_2 WHERE home_ground = "n/a" AND position_in_2012_13 = "13th, third division" ```
17,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_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR)\n\n Question: What location has a home ground of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (usage VARCHAR, engine VARCHAR) Question: What is the usage for the f136e engline? Here is the SQLite query to answer to the question: What is the usage fo...
Here is the SQLite query to answer the question about the usage for the f136e engine: ``` SELECT usage FROM table_name_60 WHERE engine = "f136e"; ```
17,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_60 (usage VARCHAR, engine VARCHAR)\n\n Question: What is the usage for the f136e engline?\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_98 (usage VARCHAR, engine VARCHAR) Question: What is the for the f136fb engine? Here is the SQLite query to answer to the question: What is the for the f136fb...
Here is the SQLite query to answer the question regarding the usage for the f136fb engine: ``` SELECT usage FROM table_name_98 WHERE engine = "f136fb"; ```
17,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_98 (usage VARCHAR, engine VARCHAR)\n\n Question: What is the for the f136fb engine?\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_40 (hometown_school VARCHAR, position VARCHAR, player VARCHAR) Question: What is the hometown of Mike White? Here is the SQLite query to answer to the questio...
It looks like there is a small error in the position filter in your query. If Mike White is a player, the position should be specified correctly. The correct SQL query to find the hometown of Mike White would be: ```sql SELECT hometown_school FROM table_name_40 WHERE player = "Mike White"; ``` If you need to check f...
17,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_40 (hometown_school VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: What is the hometown of Mike White?\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_98 (player VARCHAR, hometown_school VARCHAR, pick VARCHAR, position VARCHAR) Question: Which player was picked before 13, in a P position, and is from Georgia ...
Here is the SQLite query to answer the question: ``` SELECT player FROM table_name_98 WHERE pick < 13 AND position = "P" AND hometown_school = "Georgia Tech"; ```
17,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_98 (player VARCHAR, hometown_school VARCHAR, pick VARCHAR, position VARCHAR)\n\n Question: Which player was picked befo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (season VARCHAR, ufl_cup VARCHAR) Question: Which Season has a UFL Cup of tbd? Here is the SQLite query to answer to the question: Which Season has a UFL C...
Your SQLite query is correctly structured to find the season with a UFL Cup of "tbd". Here it is wrapped in the required format: ``` SELECT season FROM table_name_52 WHERE ufl_cup = "tbd"; ```
17,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_52 (season VARCHAR, ufl_cup VARCHAR)\n\n Question: Which Season has a UFL Cup of tbd?\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_50 (pff_nmcc VARCHAR, afc_pc VARCHAR) Question: Which PFF NMCC has a AFC PC of dnq? Here is the SQLite query to answer to the question: Which PFF NMCC has a A...
Here is the SQLite query to answer the question about which PFF NMCC has an AFC PC of "dnq": ``` SELECT pff_nmcc FROM table_name_50 WHERE afc_pc = "dnq" ```
17,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_50 (pff_nmcc VARCHAR, afc_pc VARCHAR)\n\n Question: Which PFF NMCC has a AFC PC of dnq?\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 (season VARCHAR, ufl_cup VARCHAR) Question: Which Season has a UFL Cup of quarter-finals? Here is the SQLite query to answer to the question: Which Season ...
Here is the SQLite query you requested, wrapped in code formatting: ```sql SELECT season FROM table_name_42 WHERE ufl_cup = "quarter-finals"; ```
17,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_42 (season VARCHAR, ufl_cup VARCHAR)\n\n Question: Which Season has a UFL Cup of quarter-finals?\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_7 (grid INTEGER, driver VARCHAR, points VARCHAR) Question: What is the sum of the grid of driver ryan hunter-reay, who has more than 24 points? Here is the SQ...
Here is the correct SQLite query to answer the question: ``` SELECT SUM(grid) FROM table_name_7 WHERE driver = 'ryan hunter-reay' AND points > '24'; ```
17,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 (grid INTEGER, driver VARCHAR, points VARCHAR)\n\n Question: What is the sum of the grid of driver ryan hunter-reay, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (points VARCHAR, driver VARCHAR) Question: What is the total number of points of driver enrique bernoldi (r)? Here is the SQLite query to answer to the que...
To get the total number of points for the driver "enrique bernoldi (r)", assuming you want the total of points which are likely numerical values, you should use the `SUM` function instead of `COUNT`. Here is the correct SQLite query: ```sql SELECT SUM(points) FROM table_name_95 WHERE driver = "enrique bernoldi (r)"; `...
17,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_95 (points VARCHAR, driver VARCHAR)\n\n Question: What is the total number of points of driver enrique bernoldi (r)?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (tv_time VARCHAR, result VARCHAR) Question: Which TV Time has a Result of w 24–17? Here is the SQLite query to answer to the question: Which TV Time has a ...
Here is the SQLite query to answer the question: ``` SELECT tv_time FROM table_name_93 WHERE result = "w 24–17"; ```
17,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_93 (tv_time VARCHAR, result VARCHAR)\n\n Question: Which TV Time has a Result of w 24–17?\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_44 (week VARCHAR, tv_time VARCHAR, attendance VARCHAR) Question: Which Week has a TV Time of cbs 1:00pm, and an Attendance of 72,714? Here is the SQLite query...
``` SELECT week FROM table_name_44 WHERE tv_time = "cbs 1:00pm" AND attendance = "72,714" ```
17,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_44 (week VARCHAR, tv_time VARCHAR, attendance VARCHAR)\n\n Question: Which Week has a TV Time of cbs 1:00pm, and an Att...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (tv_time VARCHAR, date VARCHAR) Question: Which TV Time has a Date of january 2, 2005? Here is the SQLite query to answer to the question: Which TV Time ha...
Here is the SQLite query to answer the question: Which TV Time has a Date of January 2, 2005?: ``` SELECT tv_time FROM table_name_23 WHERE date = "january 2, 2005"; ```
17,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_23 (tv_time VARCHAR, date VARCHAR)\n\n Question: Which TV Time has a Date of january 2, 2005?\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_50 (original_name VARCHAR, location VARCHAR) Question: What was the original name of the restaurant located in Orillia, ON? Here is the SQLite query to answer...
Here is the SQLite query to answer the question about the original name of the restaurant located in Orillia, ON: ```sql SELECT original_name FROM table_name_50 WHERE location = "Orillia, ON"; ```
17,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_50 (original_name VARCHAR, location VARCHAR)\n\n Question: What was the original name of the restaurant located in Oril...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (fate_and_location VARCHAR, ship VARCHAR) Question: What was the fate and location of the Ringstad? Here is the SQLite query to answer to the question: What...
Here is the SQLite query that answers the question about the fate and location of the Ringstad: ``` SELECT fate_and_location FROM table_name_3 WHERE ship = "Ringstad"; ```
17,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_3 (fate_and_location VARCHAR, ship VARCHAR)\n\n Question: What was the fate and location of the Ringstad?\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_50 (score VARCHAR, loss VARCHAR) Question: What is the Score of the game with a Loss of Kiprusoff (2–2)? Here is the SQLite query to answer to the question: W...
The SQLite query you've provided needs a minor adjustment to correctly match the casing and formatting of the loss value you're searching for. Here's the corrected query wrapped in code tags: ``` SELECT score FROM table_name_50 WHERE loss = "Kiprusoff (2–2)" ``` Make sure that the value in the WHERE clause accuratel...
17,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_50 (score VARCHAR, loss VARCHAR)\n\n Question: What is the Score of the game with a Loss of Kiprusoff (2–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_52 (partner VARCHAR, date VARCHAR) Question: Who was the partner on May 16, 2004? Here is the SQLite query to answer to the question: Who was the partner on M...
Here is the SQLite query to answer the question: Who was the partner on May 16, 2004?: ``` SELECT partner FROM table_name_52 WHERE date = "May 16, 2004"; ```
17,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_52 (partner VARCHAR, date VARCHAR)\n\n Question: Who was the partner on May 16, 2004?\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_2 (opponents_in_the_final VARCHAR, date VARCHAR) Question: Who was the match played against in the final on March 14, 2008? Here is the SQLite query to answer...
Here is the SQLite query to answer the question: ``` SELECT opponents_in_the_final FROM table_name_2 WHERE date = "March 14, 2008"; ```
17,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_2 (opponents_in_the_final VARCHAR, date VARCHAR)\n\n Question: Who was the match played against in the final on March 1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (title VARCHAR, production_number VARCHAR) Question: What is the title of the production with a number of 1039? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question about the title of the production with a number of 1039: ``` SELECT title FROM table_name_83 WHERE production_number = "1039" ```
17,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_83 (title VARCHAR, production_number VARCHAR)\n\n Question: What is the title of the production with a number of 1039?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (title VARCHAR, production_number VARCHAR) Question: What is the title of the film with a production number of 1023? Here is the SQLite query to answer to ...
```sql SELECT title FROM table_name_48 WHERE production_number = "1023"; ```
17,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_48 (title VARCHAR, production_number VARCHAR)\n\n Question: What is the title of the film with a production number of 1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the lowest gold that has a silver less than 2, Zimbabwe as the nation, and ...
Here is the SQLite query wrapped in code format: ``` SELECT MIN(gold) FROM table_name_34 WHERE silver < 2 AND nation = "Zimbabwe" AND bronze < 1; ```
17,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_34 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR)\n\n Question: What is the lowest gold that has a silv...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR) Question: What's the nationality of Cardinal-Bishop of Albano? Here is the SQLite query to ans...
Here is the SQLite query to answer the question about the nationality of the Cardinal-Bishop of Albano: ``` SELECT nationality FROM table_name_32 WHERE cardinalatial_order_and_title = "Cardinal-Bishop of Albano" ```
17,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_32 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)\n\n Question: What's the nationality of Cardinal-Bishop...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (notes VARCHAR, cardinalatial_order_and_title VARCHAR) Question: What are the notes of Cardinal-Deacon of S. Maria in Portico? Here is the SQLite query to ...
Here is the SQLite query to answer the question about the notes of Cardinal-Deacon of S. Maria in Portico: ``` SELECT notes FROM table_name_95 WHERE cardinalatial_order_and_title = "Cardinal-Deacon of S. Maria in Portico"; ```
17,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_95 (notes VARCHAR, cardinalatial_order_and_title VARCHAR)\n\n Question: What are the notes of Cardinal-Deacon of S. Mar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (name VARCHAR, constituency_number VARCHAR) Question: Which Name has a Constituency number of 1? Here is the SQLite query to answer to the question: Which ...
Here is the SQLite query to answer the question of which Name has a Constituency number of 1: ``` SELECT name FROM table_name_61 WHERE constituency_number = '1'; ```
17,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_61 (name VARCHAR, constituency_number VARCHAR)\n\n Question: Which Name has a Constituency number of 1?\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_94 (number_of_electorates__2009_ VARCHAR, district VARCHAR, constituency_number VARCHAR) Question: Which Number of electorates (2009) has a District of sheopur...
Here is the SQLite query to answer the question: ``` SELECT number_of_electorates__2009 FROM table_name_94 WHERE district = "sheopur" AND constituency_number = "1"; ```
17,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_94 (number_of_electorates__2009_ VARCHAR, district VARCHAR, constituency_number VARCHAR)\n\n Question: Which Number of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) Question: Which Name has a Reserved for of none, and a Constituency numbe...
Here is the SQLite query to answer the question: ``` SELECT name FROM table_name_96 WHERE reserved_for___sc___st__none_ = "none" AND constituency_number = "7" ```
17,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_96 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)\n\n Question: Which Name has a Re...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR) Question: The game played at Sultan Qaboos Sports Complex, Muscat had what score? Here is the SQLite query to answer to the ...
Here is the SQLite query to answer the question regarding the score of the game played at Sultan Qaboos Sports Complex, Muscat: ``` SELECT score FROM table_name_99 WHERE venue = "sultan qaboos sports complex, muscat" ```
17,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_99 (score VARCHAR, venue VARCHAR)\n\n Question: The game played at Sultan Qaboos Sports Complex, Muscat had what score?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (to_par VARCHAR, place VARCHAR, country VARCHAR) Question: What to par has t3 as the place and england as the country? Here is the SQLite query to answer t...
Here's the SQLite query to answer your question: ``` SELECT to_par FROM table_name_96 WHERE place = "t3" AND country = "england" ```
17,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_96 (to_par VARCHAR, place VARCHAR, country VARCHAR)\n\n Question: What to par has t3 as the place and england as the co...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (attendance INTEGER, season VARCHAR, games VARCHAR, w_l_t VARCHAR) Question: How much Attendance has Games smaller than 6, and a W-L-T of 3-2-0, and a Seaso...
Here is the SQLite query to answer the question: ``` SELECT SUM(attendance) FROM table_name_24 WHERE games < 6 AND w_l_t = '3-2-0' AND season < 1948; ```
17,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_24 (attendance INTEGER, season VARCHAR, games VARCHAR, w_l_t VARCHAR)\n\n Question: How much Attendance has Games small...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (average INTEGER, games VARCHAR, w_l_t VARCHAR, season VARCHAR) Question: Which Average that has a W-L-T of 5-1, and a Season smaller than 2001, and Games s...
Your SQLite query is nearly correct, but it uses the `AVG` function improperly. Since you're looking for the average of the `average` column, you should select the entries that meet the criteria first, and then apply the `AVG` function to those entries. Here's the corrected SQL query: ``` SELECT AVG(average) FROM tabl...
17,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_59 (average INTEGER, games VARCHAR, w_l_t VARCHAR, season VARCHAR)\n\n Question: Which Average that has a W-L-T of 5-1,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (opponent VARCHAR, attendance VARCHAR) Question: Which Opponent had an Attendance of 78,883? Here is the SQLite query to answer to the question: Which Oppon...
Here is the SQLite query to answer the question about which opponent had an attendance of 78,883: ``` SELECT opponent FROM table_name_4 WHERE attendance = '78,883'; ```
17,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_4 (opponent VARCHAR, attendance VARCHAR)\n\n Question: Which Opponent had an Attendance of 78,883?\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 (date VARCHAR, attendance VARCHAR) Question: On what date was the attendance a bye? Here is the SQLite query to answer to the question: On what date was th...
Your SQLite query is correct for finding the date when the attendance was a "bye". Here's the query wrapped in the requested format: ``` SELECT date FROM table_name_44 WHERE attendance = "bye"; ```
17,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_44 (date VARCHAR, attendance VARCHAR)\n\n Question: On what date was the attendance a bye?\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_59 (week VARCHAR, date VARCHAR) Question: Which week was the December 21, 2003 game? Here is the SQLite query to answer to the question: Which week was the De...
Here is the SQLite query to answer the question regarding which week the December 21, 2003 game was: ``` SELECT week FROM table_name_59 WHERE date = "December 21, 2003" ```
17,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_59 (week VARCHAR, date VARCHAR)\n\n Question: Which week was the December 21, 2003 game?\n\nHere is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (opponent VARCHAR, tv_time VARCHAR) Question: Which opponent had a bye for the TV Time? Here is the SQLite query to answer to the question: Which opponent ...
Here is the SQLite query to answer the question regarding which opponent had a bye for the TV Time: ``` SELECT opponent FROM table_name_96 WHERE tv_time = "bye"; ```
17,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_96 (opponent VARCHAR, tv_time VARCHAR)\n\n Question: Which opponent had a bye for the TV Time?\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_22 (arena VARCHAR, date VARCHAR) Question: At what arena was the September 21 game? Here is the SQLite query to answer to the question: At what arena was the ...
Here is the correct SQLite query to answer the question about the arena for the September 21 game: ```sql SELECT arena FROM table_name_22 WHERE date = "September 21"; ```
17,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_22 (arena VARCHAR, date VARCHAR)\n\n Question: At what arena was the September 21 game?\n\nHere is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR) Question: What was the record after the game against the Sharks at Arrowhead Pond of Anaheim? Here is the...
Here is the SQLite query to answer the question regarding the record after the game against the Sharks at Arrowhead Pond of Anaheim: ``` SELECT record FROM table_name_72 WHERE arena = "Arrowhead Pond of Anaheim" AND opponent = "Sharks" ```
17,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_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR)\n\n Question: What was the record after the game against the Shark...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (record VARCHAR, opponent VARCHAR) Question: What was the record after the game against the Sharks? Here is the SQLite query to answer to the question: Wha...
Your SQLite query to find the record after the game against the Sharks is correctly structured. Here it is wrapped in the appropriate formatting: ``` SELECT record FROM table_name_19 WHERE opponent = "sharks" ``` This query will return the record for games that were played against the team named "Sharks". If you nee...
17,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_19 (record VARCHAR, opponent VARCHAR)\n\n Question: What was the record after the game against the Sharks?\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_81 (player VARCHAR, college VARCHAR) Question: who is the player from arizona state? Here is the SQLite query to answer to the question: who is the player fro...
Here is the SQLite query to answer the question: who is the player from arizona state?: ``` SELECT player FROM table_name_81 WHERE college = "arizona state"; ```
17,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_81 (player VARCHAR, college VARCHAR)\n\n Question: who is the player from arizona state?\n\nHere is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (position VARCHAR, college VARCHAR) Question: what is the position of the player from florida? Here is the SQLite query to answer to the question: what is ...
Your provided SQLite query is correctly formulated to retrieve the position of the player from Florida. Here it is wrapped in the appropriate code format: ```sql SELECT position FROM table_name_63 WHERE college = "florida"; ```
17,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_63 (position VARCHAR, college VARCHAR)\n\n Question: what is the position of the player from florida?\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_20 (pick INTEGER, position VARCHAR) Question: what is the highest pick for the position tight end? Here is the SQLite query to answer to the question: what is...
Here is the SQLite query to answer the question about the highest pick for the position tight end: ```sql SELECT MAX(pick) FROM table_name_20 WHERE position = "tight end"; ```
17,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_20 (pick INTEGER, position VARCHAR)\n\n Question: what is the highest pick for the position tight end?\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_90 (mpg_us_combined INTEGER, transmission VARCHAR, manufacturer VARCHAR, green_rating VARCHAR, mpg_uk_combined VARCHAR) Question: What is the lowest MPG-US com...
Here is the SQLite query to find the lowest MPG-US combined for a green rating of E, mpg in the UK combined of under 42.2, manufacturer of Volkswagen, and an M6 transmission: ``` SELECT MIN(mpg_us_combined) FROM table_name_90 WHERE green_rating = "E" AND mpg_uk_combined < 42.2 AND manufacturer = "Volkswagen" ...
17,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_90 (mpg_us_combined INTEGER, transmission VARCHAR, manufacturer VARCHAR, green_rating VARCHAR, mpg_uk_combined VARCHAR)\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (l_100km_urban__cold_ INTEGER, mpg_us_combined VARCHAR, l_100km_combined VARCHAR, l_100km_extra_urban VARCHAR, mpg_uk_combined VARCHAR) Question: What is th...
Here is the SQLite query to answer your question: ``` SELECT AVG(l_100km_urban__cold_) FROM table_name_97 WHERE l_100km_extra_urban < 7.2 AND mpg_uk_combined < 39.8 AND l_100km_combined > 7.9 AND mpg_us_combined < 25.1; ```
17,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_97 (l_100km_urban__cold_ INTEGER, mpg_us_combined VARCHAR, l_100km_combined VARCHAR, l_100km_extra_urban VARCHAR, mpg_uk_c...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (mpg_uk_urban__cold_ VARCHAR, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_extra_urban VARCHAR) Question: What is the mpg...
Here is the SQLite query to answer the question regarding mpg-UK urban (cold) for the specified criteria: ``` SELECT mpg_uk_urban__cold_ FROM table_name_8 WHERE fuel_type = "diesel" AND mpg_uk_extra_urban > 68.9 AND engine_capacity = "1422" AND l_100km_urban__cold_ > "5.1" ```
17,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_8 (mpg_uk_urban__cold_ VARCHAR, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_extra_urb...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (green_rating VARCHAR, engine_capacity VARCHAR, manufacturer VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_us_urban VARCHAR) Question: What is the green rating...
Here's the SQLite query to obtain the green rating for the specified vehicle conditions: ```sql SELECT green_rating FROM table_name_68 WHERE l_100km_urban__cold_ > 10.9 AND mpg_us_urban > 14.1 AND manufacturer = 'Volkswagen' AND engine_capacity < 3189; ```
17,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_68 (green_rating VARCHAR, engine_capacity VARCHAR, manufacturer VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_us_urban VARCHA...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (l_100km_urban__cold_ INTEGER, mpg_uk_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR, engine_capacity VARCHAR, mpg_us_urban VARCHAR) Question: What is the av...
Here is the SQLite query that answers your question: ``` SELECT AVG(l_100km_urban__cold_) FROM table_name_27 WHERE engine_capacity > 1910 AND mpg_us_urban < 25.3 AND mpg_uk_combined > 27.2 AND mpg_uk_urban__cold_ = 22.4 ```
17,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_27 (l_100km_urban__cold_ INTEGER, mpg_uk_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR, engine_capacity VARCHAR, mpg_us_ur...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (mpg_us_combined INTEGER, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, transmission VARCHAR, co_2_g_km VARCHAR) Question: What is the lowest combi...
Here is the SQLite query to answer your question: ``` SELECT MIN(mpg_us_combined) FROM table_name_11 WHERE transmission = "A6" AND co_2_g_km < 303 AND engine_capacity > 2461 AND l_100km_urban__cold_ = '15.9'; ``` Note that I corrected the case of "A6" in the transmission filter and ensured that '15.9' is treate...
17,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_11 (mpg_us_combined INTEGER, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, transmission VARCHAR, co_2_g_km VARCHA...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (release_date VARCHAR, title VARCHAR) Question: What was the release date of the episode titled Drip-Along Daffy? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question about the release date of the episode titled "Drip-Along Daffy": ``` SELECT release_date FROM table_name_85 WHERE title = "Drip-Along Daffy"; ```
17,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_85 (release_date VARCHAR, title VARCHAR)\n\n Question: What was the release date of the episode titled Drip-Along Daffy...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (october VARCHAR, november VARCHAR) Question: Who is in October when Carina Ragnarsson is in November? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question: Who is in October when Carina Ragnarsson is in November?: ``` SELECT october FROM table_name_61 WHERE november = 'Carina Ragnarsson'; ```
17,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_61 (october VARCHAR, november VARCHAR)\n\n Question: Who is in October when Carina Ragnarsson is in November?\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_36 (november VARCHAR, year VARCHAR) Question: Who is in November in the year 1979? Here is the SQLite query to answer to the question: Who is in November in t...
Your provided SQLite query is almost correct but has a small issue. The `year` column is defined as `VARCHAR`, so the comparison should use quotes around the year '1979'. Here is the updated query wrapped in the appropriate format: ``` SELECT november FROM table_name_36 WHERE year = '1979'; ```
17,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_36 (november VARCHAR, year VARCHAR)\n\n Question: Who is in November in the year 1979?\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_32 (december VARCHAR, november VARCHAR) Question: Who is in December when November has Alexus Winston? Here is the SQLite query to answer to the question: Who...
```sql SELECT december FROM table_name_32 WHERE november = "Alexus Winston" ```
17,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_32 (december VARCHAR, november VARCHAR)\n\n Question: Who is in December when November has Alexus Winston?\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_52 (november VARCHAR, year VARCHAR, october VARCHAR) Question: Who is in November after 1988 when Prinzzess is in October? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question: ``` SELECT november FROM table_name_52 WHERE year > '1988' AND october = 'Prinzzess'; ```
17,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_52 (november VARCHAR, year VARCHAR, october VARCHAR)\n\n Question: Who is in November after 1988 when Prinzzess is in O...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (line VARCHAR, ship VARCHAR, year VARCHAR) Question: What is the line that has lucania as the ship and 1894 as the date? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question about the line that has "lucania" as the ship and "1894" as the year: ``` SELECT line FROM table_name_8 WHERE ship = "lucania" AND year = "1894"; ```
17,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_8 (line VARCHAR, ship VARCHAR, year VARCHAR)\n\n Question: What is the line that has lucania as the ship and 1894 as th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (genre VARCHAR, developer_s_ VARCHAR) Question: Which Genre has a Developer(s) of naughty dog? Here is the SQLite query to answer to the question: Which Ge...
Here is the SQLite query to answer the question about which Genre has a Developer(s) of "naughty dog": ``` SELECT genre FROM table_name_47 WHERE developer_s_ = "naughty dog"; ```
17,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_47 (genre VARCHAR, developer_s_ VARCHAR)\n\n Question: Which Genre has a Developer(s) of naughty dog?\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_35 (year INTEGER, game VARCHAR) Question: Which Year has a Game of resident evil 4? Here is the SQLite query to answer to the question: Which Year has a Game ...
The provided query calculates the average year for the game "resident evil 4", but the question specifically asks for the year(s) associated with the game. To correctly retrieve the year(s) where "resident evil 4" exists, you should use the following query: ``` SELECT year FROM table_name_35 WHERE game = "resident evi...
17,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_35 (year INTEGER, game VARCHAR)\n\n Question: Which Year has a Game of resident evil 4?\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_90 (developer_s_ VARCHAR, year VARCHAR) Question: Which Developer(s) has a Year of 2010? Here is the SQLite query to answer to the question: Which Developer(s...
Here is the SQLite query to answer the question: Which Developer(s) has a Year of 2010?: ``` SELECT developer_s_ FROM table_name_90 WHERE year = '2010' ```
17,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_90 (developer_s_ VARCHAR, year VARCHAR)\n\n Question: Which Developer(s) has a Year of 2010?\n\nHere is the SQLite quer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR) Question: Who is the Opponent of the match with a Record of 0-1? Here is the SQLite query to answer to the question: Who...
```sql SELECT opponent FROM table_name_12 WHERE record = '0-1'; ```
17,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_12 (opponent VARCHAR, record VARCHAR)\n\n Question: Who is the Opponent of the match with a Record of 0-1?\n\nHere is t...