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 (location VARCHAR, unit VARCHAR) Question: Where is two medicine formation? Here is the SQLite query to answer to the question: Where is two medicine forma...
Here is the SQLite query to answer the question "Where is two medicine formation?": ``` SELECT location FROM table_name_46 WHERE unit = "two medicine formation"; ```
10,900
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (location VARCHAR, unit VARCHAR)\n\n Question: Where is two medicine formation?\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_75 (unit VARCHAR, authors VARCHAR) Question: What is varricchio's unit? Here is the SQLite query to answer to the question: What is varricchio's unit?: ``` SE...
Here is the SQLite query to answer the question: What is varricchio's unit?: ``` SELECT unit FROM table_name_75 WHERE authors = "varricchio" ```
10,901
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (unit VARCHAR, authors VARCHAR)\n\n Question: What is varricchio's unit?\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_42 (authors VARCHAR, unit VARCHAR) Question: Which authors have a Unit of densuș-ciula formation? Here is the SQLite query to answer to the question: Which au...
Here is the SQLite query to answer the question about which authors have a Unit of densuș-ciula formation: ``` SELECT authors FROM table_name_42 WHERE unit = "densuș-ciula formation" ```
10,902
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (authors VARCHAR, unit VARCHAR)\n\n Question: Which authors have a Unit of densuș-ciula formation?\n\nHere is the SQ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (status VARCHAR, unit VARCHAR) Question: Which Status has a Unit of daohugou beds? Here is the SQLite query to answer to the question: Which Status has a U...
Here is the SQLite query to answer the question about which Status has a Unit of "daohugou beds": ``` SELECT status FROM table_name_55 WHERE unit = "daohugou beds"; ```
10,903
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (status VARCHAR, unit VARCHAR)\n\n Question: Which Status has a Unit of daohugou beds?\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_75 (status VARCHAR, authors VARCHAR) Question: What is varricchio's status? Here is the SQLite query to answer to the question: What is varricchio's status?: ...
Here is the SQLite query to answer the question "What is varricchio's status?": ``` SELECT status FROM table_name_75 WHERE authors = "varricchio" ```
10,904
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (status VARCHAR, authors VARCHAR)\n\n Question: What is varricchio's status?\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_13 (points INTEGER, goals_against VARCHAR, coach VARCHAR, tied VARCHAR, games VARCHAR) Question: What is the points average when the tied is greater than 8, le...
Here is the SQLite query that answers the specified question according to the provided schema: ``` SELECT AVG(points) FROM table_name_13 WHERE tied > 8 AND games < 82 AND coach IN ("Bryan Mclay", "Morris Lallo", "Gerry Moore") AND goals_against > 322; ``` Please note the following changes: - Adjusted the ...
10,905
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (points INTEGER, goals_against VARCHAR, coach VARCHAR, tied VARCHAR, games VARCHAR)\n\n Question: What is the points...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (games INTEGER, points VARCHAR, goals_for VARCHAR) Question: What are the most games when the points are 100 and goals for less than 356? Here is the SQLit...
Here is the SQLite query to answer the question regarding the most games when the points are 100 and goals for less than 356: ``` SELECT MAX(games) FROM table_name_23 WHERE points = '100' AND goals_for < '356' ```
10,906
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (games INTEGER, points VARCHAR, goals_for VARCHAR)\n\n Question: What are the most games when the points are 100 and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (points INTEGER, goals_against VARCHAR, games VARCHAR) Question: What is the most points when the goals against are 354 and games less than 82? Here is the...
Here is the SQLite query to answer the question: ``` SELECT MAX(points) FROM table_name_49 WHERE goals_against = '354' AND games < '82' ```
10,907
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (points INTEGER, goals_against VARCHAR, games VARCHAR)\n\n Question: What is the most points when the goals against ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (points INTEGER, goals_for VARCHAR, games VARCHAR) Question: For games less than 70 and goals for greater than 335 what is the most points? Here is the SQL...
Your query is correctly structured for the given question. Here it is wrapped in the code block as you requested: ``` SELECT MAX(points) FROM table_name_85 WHERE goals_for > 335 AND games < 70 ``` This query retrieves the maximum points from the `table_name_85` table, filtering for records where the number of games ...
10,908
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (points INTEGER, goals_for VARCHAR, games VARCHAR)\n\n Question: For games less than 70 and goals for greater than 3...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (gold VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR) Question: What is Gold, when Total is less than 4, when Silver is 1, and when Bronze is 1? He...
Here is the SQLite query to answer the question: ``` SELECT gold FROM table_name_71 WHERE total < 4 AND silver = "1" AND bronze = "1" ```
10,909
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (gold VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)\n\n Question: What is Gold, when Total is less than 4,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (silver VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR) Question: What is Silver, when Total is greater than 4, when Bronze is 2, and when Rank is gre...
Here is the SQLite query to answer the question: ``` SELECT silver FROM table_name_51 WHERE total > 4 AND bronze = "2" AND rank > 1 ```
10,910
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (silver VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR)\n\n Question: What is Silver, when Total is greater th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR) Question: Who was on the Socialist Labor ticket that had Arthur Levitt as the Liberal Ticket? Here...
Here is the SQLite query to answer the question about who was on the Socialist Labor ticket with Arthur Levitt on the Liberal Ticket: ```sql SELECT socialist_labor_ticket FROM table_name_60 WHERE liberal_ticket = "arthur levitt"; ```
10,911
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)\n\n Question: Who was on the Socialist Labor ticket that ha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR) Question: Robert S. Flanzer was the Free Libertarian ticket with who listed as the Liberal Ticket?...
Here's the SQLite query to answer the question regarding Robert S. Flanzer's association with the Liberal Ticket: ``` SELECT liberal_ticket FROM table_name_51 WHERE free_libertarian_ticket = "Robert S. Flanzer" ```
10,912
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR)\n\n Question: Robert S. Flanzer was the Free Libertarian t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR) Question: The Liberal Ticket listed which candidate when Jack A. Martin was listed on the Free Lib...
Here is the SQLite query to answer your question: ``` SELECT liberal_ticket FROM table_name_21 WHERE free_libertarian_ticket = "Jack A. Martin" ```
10,913
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR)\n\n Question: The Liberal Ticket listed which candidate wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (democratic_ticket VARCHAR, office VARCHAR) Question: The person who is on the Democratic ticket for the position of Office of U.S. Senator was who? Here i...
Here's the SQLite query to find out who is on the Democratic ticket for the position of Office of U.S. Senator: ``` SELECT democratic_ticket FROM table_name_68 WHERE office = "U.S. Senator"; ```
10,914
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (democratic_ticket VARCHAR, office VARCHAR)\n\n Question: The person who is on the Democratic ticket for the positio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (democratic_ticket VARCHAR, free_libertarian_ticket VARCHAR) Question: Leland W. Schubert, Free Libertarian ticket, had who listed on the Democratic ticket?...
Here is the SQLite query that answers the question regarding Leland W. Schubert and the corresponding Democratic ticket: ``` SELECT democratic_ticket FROM table_name_56 WHERE free_libertarian_ticket = "Leland W. Schubert"; ```
10,915
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (democratic_ticket VARCHAR, free_libertarian_ticket VARCHAR)\n\n Question: Leland W. Schubert, Free Libertarian tick...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (extras INTEGER, name VARCHAR, er VARCHAR) Question: What is the lowest Extras for Chamara Kapugedera, with an E.R. less than 4.59? Here is the SQLite quer...
Here is the SQLite query to find the lowest Extras for Chamara Kapugedera, with an E.R. less than 4.59: ``` SELECT MIN(extras) FROM table_name_50 WHERE name = "Chamara Kapugedera" AND er < 4.59; ```
10,916
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (extras INTEGER, name VARCHAR, er VARCHAR)\n\n Question: What is the lowest Extras for Chamara Kapugedera, with an E...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (extras INTEGER, er VARCHAR, runs_conceded VARCHAR) Question: What is the highest Extras with an E.R. of 4.59, and more than 101 Runs Conceded? Here is the ...
The SQLite query you've provided is almost correct, but there is a small issue with the data type for the `er` column since it is declared as `VARCHAR`. To compare it properly to a numeric value, it should be cast or treated as a string. However, in SQLite, you can still use it like a string in a comparison. Consider...
10,917
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (extras INTEGER, er VARCHAR, runs_conceded VARCHAR)\n\n Question: What is the highest Extras with an E.R. of 4.59, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (extras INTEGER, name VARCHAR, runs_conceded VARCHAR) Question: What is the average Extras for Muttiah Muralitharan, with less than 353 Runs Conceded? Here...
Your provided SQLite query is almost correct, but there is a slight issue with the data type for the `runs_conceded` column. Since `runs_conceded` is defined as `VARCHAR`, you need to convert it to an integer for the comparison. Here is the corrected query: ```sql SELECT AVG(extras) FROM table_name_38 WHERE name = ...
10,918
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (extras INTEGER, name VARCHAR, runs_conceded VARCHAR)\n\n Question: What is the average Extras for Muttiah Muralitha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (extras INTEGER, name VARCHAR, wickets VARCHAR) Question: What is the highest Extras for Farveez Maharoof, with more than 4 wickets? Here is the SQLite que...
Your SQLite query to find the highest Extras for Farveez Maharoof, with more than 4 wickets, looks correct. Here it is wrapped in code formatting: ``` SELECT MAX(extras) FROM table_name_79 WHERE name = "farveez maharoof" AND wickets > 4; ```
10,919
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (extras INTEGER, name VARCHAR, wickets VARCHAR)\n\n Question: What is the highest Extras for Farveez Maharoof, with ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (maidens VARCHAR, wickets VARCHAR, er VARCHAR, overs_bowled VARCHAR) Question: What is the total number of Maidens when E.R. is less than 9.5, and a Overs B...
Here is the corrected SQLite query according to your specifications, formatted as requested: ``` SELECT SUM(CAST(maidens AS INTEGER)) FROM table_name_95 WHERE er < 9.5 AND overs_bowled > 57 AND wickets = 9 ``` In this query: - We use `SUM` to calculate the total number of Maidens, assuming `maidens` is stored as a ...
10,920
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (maidens VARCHAR, wickets VARCHAR, er VARCHAR, overs_bowled VARCHAR)\n\n Question: What is the total number of Maide...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (fa_cup INTEGER, total VARCHAR, league VARCHAR) Question: How many FA Cups on average have a larger total than 32 and a larger league than 24? Here is the ...
Your SQLite query is almost correct, but there are a couple of points to clarify: 1. Ensure that the `total` and `league` columns are treated as numeric values, since you've defined `total` as `VARCHAR`. You may need to cast them to integers if they contain numeric values in string format. 2. The data type of `fa_cup...
10,921
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (fa_cup INTEGER, total VARCHAR, league VARCHAR)\n\n Question: How many FA Cups on average have a larger total than 3...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (fa_trophy INTEGER, league VARCHAR, total VARCHAR, fa_cup VARCHAR) Question: How many FA Trophies had a total of 27, 2 FA cups, and a league larger than 24?...
Here is the SQLite query wrapped in the requested format: ``` SELECT SUM(fa_trophy) FROM table_name_82 WHERE total = 27 AND fa_cup = 2 AND league > 24 ```
10,922
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (fa_trophy INTEGER, league VARCHAR, total VARCHAR, fa_cup VARCHAR)\n\n Question: How many FA Trophies had a total of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (status VARCHAR, height VARCHAR) Question: What is the year built of the home with a built status and a 42 m. height? Here is the SQLite query to answer to...
It looks like you're trying to retrieve the "year built" for a home with a specific status and height. However, the given schema does not include a "year built" field. If the "year built" is meant to be a column in your table, you will need to include that in your schema. Assuming there is a column for "year built" t...
10,923
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (status VARCHAR, height VARCHAR)\n\n Question: What is the year built of the home with a built status and a 42 m. he...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (height VARCHAR, stories VARCHAR, built VARCHAR) Question: What is the height of the home with stories greater than 22 and built in 2009? Here is the SQLit...
Your SQLite query to find the height of the home with stories greater than 22 and built in 2009 looks almost correct, but the `stories` field is defined as a `VARCHAR` type in your schema. Therefore, you need to cast it to an integer to compare it with the number 22. Here is the corrected SQLite query: ``` SELECT hei...
10,924
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (height VARCHAR, stories VARCHAR, built VARCHAR)\n\n Question: What is the height of the home with stories greater t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (stories INTEGER, height VARCHAR) Question: What is the highest number of stories in homes with a height of 42 m.? Here is the SQLite query to answer to the...
Your SQLite query is correct. It calculates the maximum number of stories in homes specifically with a height of 42 m. Here it is wrapped in code formatting: ``` SELECT MAX(stories) FROM table_name_7 WHERE height = "42 m."; ```
10,925
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (stories INTEGER, height VARCHAR)\n\n Question: What is the highest number of stories in homes with a height of 42 m....
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR) Question: When the game is listed as 2, what is the score? Here is the SQLite query to answer to the question: When the game ...
Here's the SQLite query to answer the question when the game is listed as 2: ``` SELECT score FROM table_name_81 WHERE game = '2' ``` Note that the game value is treated as a string ('2'), because the column 'game' is stored as a VARCHAR.
10,926
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR)\n\n Question: When the game is listed as 2, what is the score?\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_55 (november INTEGER, opponent VARCHAR, game VARCHAR) Question: What is the latest November date with an Opponent of @ Pittsburgh Pirates and the game is more ...
Here is the SQLite query to answer the question about the latest November date with an opponent of @ Pittsburgh Pirates and the game being more than 3: ``` SELECT MAX(november) FROM table_name_55 WHERE opponent = "@ Pittsburgh Pirates" AND game > 3 ```
10,927
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (november INTEGER, opponent VARCHAR, game VARCHAR)\n\n Question: What is the latest November date with an Opponent o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (game INTEGER, november VARCHAR, record VARCHAR) Question: When the record is listed as 2-0-0, and the November date is less than 27, what is the sum of the...
Your query is correct for the criteria specified. Here's the SQLite query wrapped in code formatting: ``` SELECT SUM(game) FROM table_name_71 WHERE november < 27 AND record = "2-0-0"; ``` This query will sum the `game` values in `table_name_71` where the `record` is "2-0-0" and the `november` date is less than 27.
10,928
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (game INTEGER, november VARCHAR, record VARCHAR)\n\n Question: When the record is listed as 2-0-0, and the November ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (total_foreign_born__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR) Question: What was the lowest number of Total Foreign-born (millions) peo...
To answer the question regarding the lowest number of Total Foreign-born (millions) people when the number of people Born in a non-EU state (millions) was 6.415, you can use the following SQLite query: ``` SELECT MIN(total_foreign_born__millions_) FROM table_name_38 WHERE born_in_a_non_eu_state__millions_ = '6.415';...
10,929
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (total_foreign_born__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR)\n\n Question: What was the lowest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (born_in_other_eu_state__millions_ INTEGER, total_foreign_born__millions_ VARCHAR, total_population__millions_ VARCHAR) Question: What was the average numbe...
Here is the corrected SQLite query to answer the question: ```sql SELECT AVG(born_in_other_eu_state__millions_) FROM table_name_57 WHERE total_foreign_born__millions_ = '0.5' AND total_population__millions_ < '5.534'; ``` Note that since `total_foreign_born__millions_` and `total_population__millions_` are of typ...
10,930
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (born_in_other_eu_state__millions_ INTEGER, total_foreign_born__millions_ VARCHAR, total_population__millions_ VARCHAR)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (born_in_other_eu_state__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR) Question: What was the average n...
Here is the correct SQLite query wrapped in the requested format: ``` SELECT AVG(born_in_other_eu_state__millions_) FROM table_name_88 WHERE born_in_a_non_eu_state__millions_ = '31.368' AND total_population__millions_ > '501.098'; ``` Please note that the values for `born_in_a_non_eu_state__millions_` and `total_...
10,931
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (born_in_other_eu_state__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARC...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR) Question: How many people were born in a non EU state (in millions), when t...
Your query looks correct for retrieving the number of people born in a non-EU state when the total population was specifically 62.008 million. However, it's important to consider data types and to ensure that the comparison is handled correctly, especially since the columns are defined as VARCHAR. You might want to con...
10,932
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR)\n\n Question: How many people were ...
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, home_team VARCHAR) Question: What away team has tottenham hotspur as the home team? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question: What away team has tottenham hotspur as the home team?: ``` SELECT away_team FROM table_name_67 WHERE home_team = "tottenham hotspur"; ```
10,933
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (away_team VARCHAR, home_team VARCHAR)\n\n Question: What away team has tottenham hotspur as the home team?\n\nHere ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (tamil_name VARCHAR, english_name VARCHAR) Question: What is the Tamil Name of the Thaipusam holiday? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question about the Tamil Name of the Thaipusam holiday: ``` SELECT tamil_name FROM table_name_96 WHERE english_name = "thaipusam" ```
10,934
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (tamil_name VARCHAR, english_name VARCHAR)\n\n Question: What is the Tamil Name of the Thaipusam holiday?\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_80 (type VARCHAR, tamil_name VARCHAR) Question: What is the Tamil Name of சந்திர புத்தாண்டு (தினம் 2)? Here is the SQLite query to answer to the question: Wha...
To get the Tamil Name of "சந்திர புத்தாண்டு (தினம் 2)", your query should actually select the `tamil_name` field instead of `type`. Here's the corrected SQLite query: ``` SELECT tamil_name FROM table_name_80 WHERE tamil_name = "சந்திர புத்தாண்டு (தினம் 2)" ``` This query will specifically look for the Tamil name tha...
10,935
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (type VARCHAR, tamil_name VARCHAR)\n\n Question: What is the Tamil Name of சந்திர புத்தாண்டு (தினம் 2)?\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_25 (chinese_name VARCHAR, type VARCHAR, tamil_name VARCHAR) Question: What is the Chinese Type Chinese Name of the holiday with a Tamil Name of சந்திர புத்தாண்...
Here is the SQLite query to answer the question regarding the Chinese Type Chinese Name of the holiday with the Tamil Name of சந்திர புத்தாண்டு (தினம் 3): ``` SELECT chinese_name FROM table_name_25 WHERE type = "chinese" AND tamil_name = "சந்திர புத்தாண்டு (தினம் 3)" ```
10,936
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (chinese_name VARCHAR, type VARCHAR, tamil_name VARCHAR)\n\n Question: What is the Chinese Type Chinese Name of the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (second VARCHAR, nation VARCHAR) Question: Who was second for the United States team? Here is the SQLite query to answer to the question: Who was second fo...
Here is the SQLite query to answer the question: Who was second for the United States team?: ``` SELECT second FROM table_name_35 WHERE nation = "united states"; ```
10,937
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (second VARCHAR, nation VARCHAR)\n\n Question: Who was second for the United States team?\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_23 (club VARCHAR, third VARCHAR) Question: Yumie Hayashi was third for which club? Here is the SQLite query to answer to the question: Yumie Hayashi was third...
Here is the SQLite query to answer the question: Yumie Hayashi was third for which club?: ``` SELECT club FROM table_name_23 WHERE third = "Yumie Hayashi"; ```
10,938
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (club VARCHAR, third VARCHAR)\n\n Question: Yumie Hayashi was third for which club?\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_86 (alternate VARCHAR, nation VARCHAR) Question: Who was Switzerland's alternate? Here is the SQLite query to answer to the question: Who was Switzerland's al...
Here is the SQLite query to answer the question about Switzerland's alternate: ``` SELECT alternate FROM table_name_86 WHERE nation = "Switzerland"; ```
10,939
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (alternate VARCHAR, nation VARCHAR)\n\n Question: Who was Switzerland's alternate?\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_27 (club VARCHAR, nation VARCHAR) Question: Which club was from Great Britain? Here is the SQLite query to answer to the question: Which club was from Great B...
Here is the SQLite query to answer the question: Which club was from Great Britain?: ```sql SELECT club FROM table_name_27 WHERE nation = "Great Britain"; ```
10,940
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (club VARCHAR, nation VARCHAR)\n\n Question: Which club was from Great Britain?\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_74 (nation VARCHAR, second VARCHAR) Question: Glenys Bakker was second for which nation? Here is the SQLite query to answer to the question: Glenys Bakker was...
Here is the SQLite query to answer the question: Glenys Bakker was second for which nation?: ``` SELECT nation FROM table_name_74 WHERE second = "Glenys Bakker" ```
10,941
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (nation VARCHAR, second VARCHAR)\n\n Question: Glenys Bakker was second for which nation?\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_64 (club VARCHAR, second VARCHAR) Question: Rosa Pompanin was second for which club? Here is the SQLite query to answer to the question: Rosa Pompanin was sec...
Your SQLite query is correctly structured to find the club where Rosa Pompanin was second. Here it is wrapped in code format as requested: ``` SELECT club FROM table_name_64 WHERE second = "rosa pompanin"; ```
10,942
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (club VARCHAR, second VARCHAR)\n\n Question: Rosa Pompanin was second for which club?\n\nHere is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (date VARCHAR, singapore_gross VARCHAR) Question: What date was the Singapore Gross 1999? Here is the SQLite query to answer to the question: What date was...
Here is the SQLite query wrapped as requested: ``` SELECT date FROM table_name_18 WHERE singapore_gross = "1999"; ```
10,943
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (date VARCHAR, singapore_gross VARCHAR)\n\n Question: What date was the Singapore Gross 1999?\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_71 (producer VARCHAR, production_cost VARCHAR) Question: What is the name of the producer that produced a film with a production cost of $1,000,000? Here is t...
Here is the SQLite query to answer the question: ``` SELECT producer FROM table_name_71 WHERE production_cost = "$1,000,000" ```
10,944
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (producer VARCHAR, production_cost VARCHAR)\n\n Question: What is the name of the producer that produced a film with...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (director VARCHAR, producer VARCHAR) Question: What is the name of the director who directed the movie that Raintree Pictures produced? Here is the SQLite ...
Here is the SQLite query wrapped in code formatting: ``` SELECT director FROM table_name_13 WHERE producer = "Raintree Pictures"; ```
10,945
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (director VARCHAR, producer VARCHAR)\n\n Question: What is the name of the director who directed the movie that Rain...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (title VARCHAR, production_cost VARCHAR) Question: What is the title of the film that had a production cost of $850,000? Here is the SQLite query to answer...
Here is the SQLite query to answer the question regarding the title of the film that had a production cost of $850,000: ``` SELECT title FROM table_name_93 WHERE production_cost = "$850,000"; ```
10,946
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (title VARCHAR, production_cost VARCHAR)\n\n Question: What is the title of the film that had a production cost of $...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (singapore_gross VARCHAR, director VARCHAR) Question: How much is the Singapore Gross for the film that Siu Wing directed? Here is the SQLite query to answ...
Your provided SQLite query is mostly correct, but it can be improved by ensuring that the case sensitivity of the director's name is considered, since SQL string comparisons can be case-sensitive depending on the collation settings. Here's the refined version of your query: ```sql SELECT singapore_gross FROM table_nam...
10,947
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (singapore_gross VARCHAR, director VARCHAR)\n\n Question: How much is the Singapore Gross for the film that Siu Wing...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (date VARCHAR, away VARCHAR) Question: What is the Date with an Away that is broadview hawks? Here is the SQLite query to answer to the question: What is th...
Here is the SQLite query to answer the question: What is the Date with an Away that is broadview hawks?: ``` SELECT date FROM table_name_5 WHERE away = "broadview hawks" ```
10,948
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (date VARCHAR, away VARCHAR)\n\n Question: What is the Date with an Away that is broadview hawks?\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_94 (home VARCHAR, away VARCHAR) Question: What is the Home with an Away that is toronto rebels? Here is the SQLite query to answer to the question: What is th...
Here is the SQLite query to answer the question: What is the Home with an Away that is toronto rebels?: ``` SELECT home FROM table_name_94 WHERE away = "toronto rebels"; ```
10,949
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (home VARCHAR, away VARCHAR)\n\n Question: What is the Home with an Away that is toronto rebels?\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_17 (time VARCHAR, score VARCHAR) Question: What is the Time with a Score that is 46-82? Here is the SQLite query to answer to the question: What is the Time w...
Here is the SQLite query to answer the question about the Time with a Score that is 46-82: ``` SELECT time FROM table_name_17 WHERE score = "46-82"; ```
10,950
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (time VARCHAR, score VARCHAR)\n\n Question: What is the Time with a Score that is 46-82?\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_15 (date VARCHAR, away VARCHAR) Question: What is the Date with an Away that is central blues? Here is the SQLite query to answer to the question: What is the...
Here is your SQLite query wrapped in code formatting: ``` SELECT date FROM table_name_15 WHERE away = "central blues"; ```
10,951
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (date VARCHAR, away VARCHAR)\n\n Question: What is the Date with an Away that is central blues?\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_31 (time VARCHAR, home VARCHAR) Question: What is the Time with a Home that is high park demons? Here is the SQLite query to answer to the question: What is t...
Your SQLite query is correct for retrieving the time associated with the home "high park demons". Here it is wrapped in the specified format: ``` SELECT time FROM table_name_31 WHERE home = "high park demons"; ```
10,952
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (time VARCHAR, home VARCHAR)\n\n Question: What is the Time with a Home that is high park demons?\n\nHere is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (away VARCHAR, score VARCHAR) Question: What is the Away with a Score that is 46-82? Here is the SQLite query to answer to the question: What is the Away w...
Here is the SQLite query to answer the question about finding the Away team with a Score of 46-82: ``` SELECT away FROM table_name_70 WHERE score = '46-82'; ```
10,953
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (away VARCHAR, score VARCHAR)\n\n Question: What is the Away with a Score that is 46-82?\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_35 (partner VARCHAR, date VARCHAR) Question: Which Partner is on 22 april 2002? Here is the SQLite query to answer to the question: Which Partner is on 22 apr...
Here is the SQLite query to answer the question: ``` SELECT partner FROM table_name_35 WHERE date = "22 april 2002" ```
10,954
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (partner VARCHAR, date VARCHAR)\n\n Question: Which Partner is on 22 april 2002?\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_24 (partner VARCHAR, opponents VARCHAR) Question: Which Partner has an Opponents of wayne arthurs sandon stolle? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question: Which Partner has an Opponents of wayne arthurs sandon stolle?: ``` SELECT partner FROM table_name_24 WHERE opponents = "wayne arthurs sandon stolle" ```
10,955
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (partner VARCHAR, opponents VARCHAR)\n\n Question: Which Partner has an Opponents of wayne arthurs sandon stolle?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR) Question: Which Score has a Tournament of san jose, us (2)? Here is the SQLite query to answer to the question: Which S...
Here is the SQLite query to answer the question: ``` SELECT score FROM table_name_56 WHERE tournament = "san jose, us (2)" ```
10,956
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR)\n\n Question: Which Score has a Tournament of san jose, us (2)?\n\nHere is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (opponents VARCHAR, score VARCHAR) Question: Which Opponents has a Score of 6–3, 6–4, 6–1? Here is the SQLite query to answer to the question: Which Oppone...
The provided query does not correctly address the requirement to find opponents with specific scores of "6-3", "6-4", and "6-1". Instead, it checks for a single score matching a string of these three scores combined. To find opponents with scores of "6–3", "6–4", or "6–1", you should use the `IN` clause or multiple co...
10,957
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (opponents VARCHAR, score VARCHAR)\n\n Question: Which Opponents has a Score of 6–3, 6–4, 6–1?\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_19 (outcome VARCHAR, score VARCHAR) Question: Which Outcome has a Score of 6–4, 6–4, 6–2? Here is the SQLite query to answer to the question: Which Outcome ha...
Here is the SQLite query to answer the question regarding which Outcome has a Score of 6–4, 6–4, 6–2: ``` SELECT outcome FROM table_name_19 WHERE score = "6–4, 6–4, 6–2"; ```
10,958
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (outcome VARCHAR, score VARCHAR)\n\n Question: Which Outcome has a Score of 6–4, 6–4, 6–2?\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_89 (tournament VARCHAR, score VARCHAR) Question: Which Tournament has a Score of 1–6, 0–6? Here is the SQLite query to answer to the question: Which Tournamen...
Here is the SQLite query to answer the question regarding which tournament has a score of 1–6, 0–6: ``` SELECT tournament FROM table_name_89 WHERE score = "1–6, 0–6"; ```
10,959
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (tournament VARCHAR, score VARCHAR)\n\n Question: Which Tournament has a Score of 1–6, 0–6?\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_73 (opponent VARCHAR, time VARCHAR) Question: Who is the opponent of the 3:00 time? Here is the SQLite query to answer to the question: Who is the opponent of...
Here is the SQLite query to answer the question: Who is the opponent of the 3:00 time?: ```sql SELECT opponent FROM table_name_73 WHERE time = "3:00" ```
10,960
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (opponent VARCHAR, time VARCHAR)\n\n Question: Who is the opponent of the 3:00 time?\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 (score VARCHAR, partnering VARCHAR) Question: What was the score of the game with Nathalie Tauziat as a partner? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question about the score of the game with Nathalie Tauziat as a partner: ``` SELECT score FROM table_name_7 WHERE partnering = "Nathalie Tauziat"; ```
10,961
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (score VARCHAR, partnering VARCHAR)\n\n Question: What was the score of the game with Nathalie Tauziat as a partner?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (surface VARCHAR, date VARCHAR) Question: What type of surface was used for the game played on September 20, 1993? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question about the type of surface used for the game played on September 20, 1993: ``` SELECT surface FROM table_name_93 WHERE date = "september 20, 1993"; ```
10,962
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (surface VARCHAR, date VARCHAR)\n\n Question: What type of surface was used for the game played on September 20, 199...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (score VARCHAR, surface VARCHAR) Question: What was the score of the game that was played on a grass surface? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about the score of the game that was played on a grass surface: ``` SELECT score FROM table_name_24 WHERE surface = 'grass'; ```
10,963
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (score VARCHAR, surface VARCHAR)\n\n Question: What was the score of the game that was played on a grass surface?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (date VARCHAR, partnering VARCHAR) Question: What was the date of the game that was played against Laura Golarsa? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question regarding the date of the game that was played against Laura Golarsa: ``` SELECT date FROM table_name_85 WHERE partnering = "laura golarsa"; ```
10,964
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (date VARCHAR, partnering VARCHAR)\n\n Question: What was the date of the game that was played against Laura Golarsa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (rank VARCHAR, average VARCHAR, season VARCHAR) Question: What is the total rank of the celebrity with a 34.66 average and a season greater than 1? Here is...
The SQLite query you've provided has a minor issue. The `average` column is of type `VARCHAR`, so you need to compare it as a string during your query. Additionally, if you're trying to get the total rank, it's better to clarify if you mean the count or sum of ranks. If you mean to count the entries, your query is fine...
10,965
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (rank VARCHAR, average VARCHAR, season VARCHAR)\n\n Question: What is the total rank of the celebrity with a 34.66 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 (average INTEGER, rank VARCHAR, celebrity VARCHAR) Question: What is the highest average of celebrity Natalia Lesz, who is ranked greater than 4? Here is t...
Here is the SQLite query to answer the question: ``` SELECT MAX(average) FROM table_name_19 WHERE rank > '4' AND celebrity = 'Natalia Lesz'; ```
10,966
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (average INTEGER, rank VARCHAR, celebrity VARCHAR)\n\n Question: What is the highest average of celebrity Natalia Le...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (professional_partner VARCHAR, celebrity VARCHAR, rank VARCHAR, season VARCHAR, average VARCHAR) Question: Who is the professional partner of celebrity małg...
Here is the SQLite query wrapped in the appropriate format: ``` SELECT professional_partner FROM table_name_52 WHERE season < 7 AND average > 34.66 AND rank < 10 AND celebrity = "małgorzata foremniak" ```
10,967
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (professional_partner VARCHAR, celebrity VARCHAR, rank VARCHAR, season VARCHAR, average VARCHAR)\n\n Question: Who i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (main_language_s_ VARCHAR, original_title VARCHAR) Question: What is the primary language used in the film title Nynke? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question about the primary language used in the film title "Nynke": ```sql SELECT main_language_s_ FROM table_name_86 WHERE original_title = "Nynke"; ```
10,968
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (main_language_s_ VARCHAR, original_title VARCHAR)\n\n Question: What is the primary language used in the film title...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (result VARCHAR, year VARCHAR) Question: For the film made in 1964: (37th), what was the result? Here is the SQLite query to answer to the question: For th...
Here is the corrected SQLite query to answer the question regarding the film made in 1964: ``` SELECT result FROM table_name_11 WHERE year = "1964"; ``` This query assumes that the `year` column contains just the year (e.g., "1964") and does not include the additional information "(37th)". If the data includes "(37th...
10,969
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (result VARCHAR, year VARCHAR)\n\n Question: For the film made in 1964: (37th), what was the result?\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_18 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) Question: What is the nomination title used for the original film, Monsieur Hawarden? Here ...
Here is the SQLite query you can use to find the nomination title used for the original film, Monsieur Hawarden: ```sql SELECT film_title_used_in_nomination FROM table_name_18 WHERE original_title = "Monsieur Hawarden"; ```
10,970
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)\n\n Question: What is the nomination title used for ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) Question: What is the nomination title used for the original film, Zwartboek? Here is the S...
Here's the SQLite query to find the nomination title used for the original film, Zwartboek: ``` SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_title = "Zwartboek"; ```
10,971
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)\n\n Question: What is the nomination title used for ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (main_language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) Question: What is the primary language used in the film, Black Book? Here is the SQLite q...
Here is the SQLite query wrapped in code formatting: ``` SELECT main_language_s_ FROM table_name_53 WHERE film_title_used_in_nomination = "Black Book" ```
10,972
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (main_language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: What is the primary language used in...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (agricultural_panel INTEGER, national_university_of_ireland VARCHAR, labour_panel VARCHAR, total VARCHAR) Question: What is the average agricultural panel v...
Here is the SQLite query you requested, formatted accordingly: ``` SELECT AVG(agricultural_panel) FROM table_name_53 WHERE labour_panel < 1 AND total < 21 AND national_university_of_ireland > 0; ```
10,973
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (agricultural_panel INTEGER, national_university_of_ireland VARCHAR, labour_panel VARCHAR, total VARCHAR)\n\n Questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (administrative_panel INTEGER, agricultural_panel VARCHAR, labour_panel VARCHAR) Question: What is the highest administrative panel value with an agricultur...
Here is the SQLite query to answer the question: ``` SELECT MAX(administrative_panel) FROM table_name_56 WHERE agricultural_panel < 1 AND labour_panel < 5 ```
10,974
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (administrative_panel INTEGER, agricultural_panel VARCHAR, labour_panel VARCHAR)\n\n Question: What is the highest a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (labour_panel INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR) Question: What is the highest labour panel value...
Here is the SQLite query to answer the question regarding the highest labour panel value under specific conditions: ```sql SELECT MAX(labour_panel) FROM table_name_43 WHERE cultural_and_educational_panel > 1 AND university_of_dublin > 0 AND total < 60; ```
10,975
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (labour_panel INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR)\n\n Ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (university_of_dublin VARCHAR, labour_panel INTEGER) Question: What is the total University of Dublin value with a labour panel greater than 11? Here is th...
It looks like you're trying to calculate the total count of entries in the `university_of_dublin` column where the corresponding `labour_panel` value is greater than 11. However, if you want to sum or aggregate values rather than count rows, you might want to clarify what "total value" means in this context since `univ...
10,976
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (university_of_dublin VARCHAR, labour_panel INTEGER)\n\n Question: What is the total University of Dublin value with...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (cultural_and_educational_panel INTEGER, administrative_panel VARCHAR, agricultural_panel VARCHAR) Question: What is the sum of the cultural and educational...
Your provided SQLite query looks good; however, there is a small clarification regarding the data types of the `administrative_panel` and `agricultural_panel` columns. Since `administrative_panel` is defined as a `VARCHAR`, comparing it to an integer (0) will not work as expected. Instead, you should compare it to the ...
10,977
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (cultural_and_educational_panel INTEGER, administrative_panel VARCHAR, agricultural_panel VARCHAR)\n\n Question: Wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (Id VARCHAR) Question: What is the highest 2012 immigration for a country with an immigration of 81,094 in 2011? Here is the SQLite query to answer to the ...
It looks like there are some errors in your SQL query, particularly in the syntax and the way you're trying to reference the columns. Since the schema you provided only includes a single column named `Id`, it is not clear how you are storing immigration data for the years 2011 and 2012. Assuming we have a table struct...
10,978
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (Id VARCHAR)\n\n Question: What is the highest 2012 immigration for a country with an immigration of 81,094 in 2011?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (gauge VARCHAR, locomotive VARCHAR, status VARCHAR, owner VARCHAR) Question: What is the Gauge of Locomotive G534 Owned by Aurizon which has a Status of Ope...
Here is the SQLite query to find the Gauge of Locomotive G534 owned by Aurizon that has a Status of Operational: ``` SELECT gauge FROM table_name_39 WHERE status = "Operational" AND owner = "Aurizon" AND locomotive = "G534"; ```
10,979
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (gauge VARCHAR, locomotive VARCHAR, status VARCHAR, owner VARCHAR)\n\n Question: What is the Gauge of Locomotive G53...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (locomotive VARCHAR, operator VARCHAR, entered_service VARCHAR) Question: Which Locomotive Entered Service in November 1984 and has an Operator of Southern ...
Here is the SQLite query to answer the question: ``` SELECT locomotive FROM table_name_59 WHERE operator = "Southern Shorthaul Railroad" AND entered_service = "November 1984"; ```
10,980
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (locomotive VARCHAR, operator VARCHAR, entered_service VARCHAR)\n\n Question: Which Locomotive Entered Service in No...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (serial_no VARCHAR, entered_service VARCHAR, owner VARCHAR) Question: What is the Serial number of the Locomotive that Entered Service in November 1984 and ...
Here is the SQLite query to answer the question regarding the serial number of the locomotive that entered service in November 1984 and has an owner of Chicago Freight Car Leasing Australia: ``` SELECT serial_no FROM table_name_90 WHERE entered_service = "november 1984" AND owner = "chicago freight car leasing austral...
10,981
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (serial_no VARCHAR, entered_service VARCHAR, owner VARCHAR)\n\n Question: What is the Serial number of the Locomotiv...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (serial_no VARCHAR, entered_service VARCHAR) Question: What is the Serial Number of the Locomotive that Entered Service October 1989? Here is the SQLite qu...
The SQLite query you've provided is mostly correct, but keep in mind that date formats can vary based on how data is stored in the `entered_service` column. Assuming that the format matches exactly with the string "october 1989", here’s how you can write it: ```sql SELECT serial_no FROM table_name_26 WHERE entered_ser...
10,982
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (serial_no VARCHAR, entered_service VARCHAR)\n\n Question: What is the Serial Number of the Locomotive that Entered ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (member_state VARCHAR) Question: What is the 2011 value with a 2008 value of 0.3 and is a member state of the European Union? Here is the SQLite query to a...
The schema you've provided only includes a single column `member_state`, which seems to represent member states of the European Union, but does not have any columns for values from 2008 or 2011. Therefore, the query cannot be written in a straightforward way as there are no relevant columns for the values you want to f...
10,983
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (member_state VARCHAR)\n\n Question: What is the 2011 value with a 2008 value of 0.3 and is a member state of the Eu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (Id VARCHAR) Question: What is the 2012 value with a 1.3 in 2010 and a 3.6 in 2008? Here is the SQLite query to answer to the question: What is the 2012 va...
It seems like there may be a misunderstanding in the query's structure. The table schema you provided only defines a single column named `Id`. However, to answer your question about selecting values based on specific conditions for different years, we typically would expect a table with columns representing different y...
10,984
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (Id VARCHAR)\n\n Question: What is the 2012 value with a 1.3 in 2010 and a 3.6 in 2008?\n\nHere is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (yellow INTEGER, category VARCHAR, amerindian VARCHAR) Question: What is the sum of Yellow, when Category is Bugre (Indian), and when Amerindian is less tha...
Your question involves querying a database with specific conditions. There's a small mistake in your syntax, particularly with the filtering of "Amerindian." In the query, we should assume that "amerindian" is stored as a string given its datatype is VARCHAR. Therefore, we should convert it to a number for comparison. ...
10,985
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (yellow INTEGER, category VARCHAR, amerindian VARCHAR)\n\n Question: What is the sum of Yellow, when Category is Bug...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (iata VARCHAR, airport VARCHAR) Question: What kind of IATA has an Airport of hamburg airport? Here is the SQLite query to answer to the question: What kin...
Here is the SQLite query to answer the question regarding the IATA code for the Hamburg airport: ``` SELECT iata FROM table_name_5 WHERE airport = "hamburg airport"; ```
10,986
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (iata VARCHAR, airport VARCHAR)\n\n Question: What kind of IATA has an Airport of hamburg airport?\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_83 (country VARCHAR, iata VARCHAR) Question: Which Country that has a IATA of bal? Here is the SQLite query to answer to the question: Which Country that has ...
Here is the SQLite query to answer the question: Which Country that has a IATA of bal?: ``` SELECT country FROM table_name_83 WHERE iata = "bal"; ```
10,987
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (country VARCHAR, iata VARCHAR)\n\n Question: Which Country that has a IATA of bal?\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 (country VARCHAR, iata VARCHAR) Question: Which Country has a IATA of vie? Here is the SQLite query to answer to the question: Which Country has a IATA of ...
Here is the SQLite query to answer the question: Which Country has a IATA of vie?: ``` SELECT country FROM table_name_32 WHERE iata = 'vie'; ```
10,988
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (country VARCHAR, iata VARCHAR)\n\n Question: Which Country has a IATA of vie?\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_46 (country VARCHAR, icao VARCHAR) Question: WHich Country has a ICAO of ltcd? Here is the SQLite query to answer to the question: WHich Country has a ICAO of...
Sure! Here is the SQLite query to answer the question "Which Country has an ICAO of ltcd?": ``` SELECT country FROM table_name_46 WHERE icao = "ltcd"; ```
10,989
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (country VARCHAR, icao VARCHAR)\n\n Question: WHich Country has a ICAO of ltcd?\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_63 (airport VARCHAR, iata VARCHAR) Question: Which Airport has a IATA of erz? Here is the SQLite query to answer to the question: Which Airport has a IATA of ...
Here is the SQLite query to answer the question: Which Airport has a IATA of erz?: ``` SELECT airport FROM table_name_63 WHERE iata = "erz"; ```
10,990
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (airport VARCHAR, iata VARCHAR)\n\n Question: Which Airport has a IATA of erz?\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_83 (iata VARCHAR, airport VARCHAR) Question: What kind of IATA that has a Airport of berlin schönefeld airport? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about the IATA code for the airport "berlin schönefeld airport": ``` SELECT iata FROM table_name_83 WHERE airport = 'berlin schönefeld airport'; ```
10,991
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (iata VARCHAR, airport VARCHAR)\n\n Question: What kind of IATA that has a Airport of berlin schönefeld airport?\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_46 (lyrics__l____music__m_ VARCHAR, artist VARCHAR) Question: Who provided lyrics or music to the artist Cube? Here is the SQLite query to answer to the quest...
Your SQLite query looks good for retrieving the information on who provided lyrics or music to the artist Cube. Here is your query wrapped correctly: ``` SELECT lyrics__l____music__m_ FROM table_name_46 WHERE artist = "Cube"; ``` Note that I've changed "cube" to "Cube" to match the case as it may be necessary dependi...
10,992
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (lyrics__l____music__m_ VARCHAR, artist VARCHAR)\n\n Question: Who provided lyrics or music to the artist Cube?\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_51 (aircraft VARCHAR) Question: What was the aircraft damage for the Boeing 707-320B? Here is the SQLite query to answer to the question: What was the aircraf...
Here is the SQLite query to answer the question about the aircraft damage for the Boeing 707-320B: ``` SELECT aircraft AS damage FROM table_name_51 WHERE aircraft = "Boeing 707-320B"; ```
10,993
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (aircraft VARCHAR)\n\n Question: What was the aircraft damage for the Boeing 707-320B?\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_71 (fatalities VARCHAR, aircraft VARCHAR) Question: What was the number of fatalities for the Viscount 700? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question regarding the number of fatalities for the Viscount 700: ```sql SELECT fatalities FROM table_name_71 WHERE aircraft = "Viscount 700"; ```
10,994
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (fatalities VARCHAR, aircraft VARCHAR)\n\n Question: What was the number of fatalities for the Viscount 700?\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_35 (aircraft VARCHAR, fatalities VARCHAR) Question: What was the aircraft damage for the accident that had fatalities of 30/30? Here is the SQLite query to an...
The SQLite query you've provided is structured to retrieve the aircraft that corresponds to the specified fatalities. However, based on your question, it seems you are asking about the "aircraft damage," but given your schema, there is no direct column for "aircraft damage." Instead, you're likely referring to the airc...
10,995
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (aircraft VARCHAR, fatalities VARCHAR)\n\n Question: What was the aircraft damage for the accident that had fataliti...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (location VARCHAR, aircraft VARCHAR, tail_number VARCHAR) Question: What was the location that had an accident by the F-27-600RF aircraft with tail number 6...
Here is the SQLite query you requested, wrapped in the appropriate code block: ``` SELECT location FROM table_name_42 WHERE aircraft = "F-27-600RF" AND tail_number = "6O-SAZ"; ```
10,996
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (location VARCHAR, aircraft VARCHAR, tail_number VARCHAR)\n\n Question: What was the location that had an accident b...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (tail_number VARCHAR, fatalities VARCHAR) Question: What was the tail number of the aircraft that had 5/30 fatalities? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question regarding the tail number of the aircraft that had 5/30 fatalities: ``` SELECT tail_number FROM table_name_86 WHERE fatalities = "5/30"; ```
10,997
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (tail_number VARCHAR, fatalities VARCHAR)\n\n Question: What was the tail number of the aircraft that had 5/30 fatal...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (location VARCHAR, fatalities VARCHAR) Question: What was the location of the accident that led to 50/50 fatalities? Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question regarding the location of the accident that led to 50/50 fatalities: ``` SELECT location FROM table_name_84 WHERE fatalities = "50/50"; ```
10,998
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (location VARCHAR, fatalities VARCHAR)\n\n Question: What was the location of the accident that led to 50/50 fatalit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (int_percentage VARCHAR, rlng VARCHAR) Question: What % has 4 RLng? Here is the SQLite query to answer to the question: What % has 4 RLng?: ``` SELECT int_...
Here is the SQLite query to answer the question: What % has 4 RLng?: ```sql SELECT int_percentage FROM table_name_80 WHERE rlng = "4"; ```
10,999
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (int_percentage VARCHAR, rlng VARCHAR)\n\n Question: What % has 4 RLng?\n\nHere is the SQLite query to answer to the...