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_52 (part_number_s_ VARCHAR, turbo VARCHAR, frequency VARCHAR) Question: what is the part number(s) when the turbo is 9/11 and the frequency is 1.5 ghz? Here i...
Here is the SQLite query to answer the question about the part number(s) when the turbo is 9/11 and the frequency is 1.5 ghz: ``` SELECT part_number_s_ FROM table_name_52 WHERE turbo = "9/11" AND frequency = "1.5 ghz" ```
16,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_52 (part_number_s_ VARCHAR, turbo VARCHAR, frequency VARCHAR)\n\n Question: what is the part number(s) when the turbo i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (time VARCHAR, res VARCHAR, round VARCHAR) Question: What was the time for the match that resulted in a loss in less than 3 rounds? Here is the SQLite quer...
Here is the SQLite query to answer the question about the match that resulted in a loss in less than 3 rounds: ``` SELECT time FROM table_name_84 WHERE res = 'loss' AND CAST(round AS INTEGER) < 3; ``` Note: The `CAST` function is used to ensure that the comparison with the integer 3 is done correctly, assuming the `...
16,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_84 (time VARCHAR, res VARCHAR, round VARCHAR)\n\n Question: What was the time for the match that resulted in a loss in ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (hometown_school VARCHAR, team VARCHAR) Question: Which Hometown/School has a Team of cleveland indians? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about which Hometown/School has a Team of "cleveland indians": ``` SELECT hometown_school FROM table_name_94 WHERE team = "cleveland indians"; ```
16,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_94 (hometown_school VARCHAR, team VARCHAR)\n\n Question: Which Hometown/School has a Team of cleveland indians?\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_6 (player VARCHAR, team VARCHAR, pick VARCHAR, position VARCHAR) Question: Which Player has a Pick smaller than 11, and a Position of rhp, and a Team of new yo...
Here is the SQLite query to answer the question regarding which player has a pick smaller than 11, a position of "rhp", and a team of "new york mets": ``` SELECT player FROM table_name_6 WHERE pick < 11 AND position = "rhp" AND team = "new york mets"; ```
16,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_6 (player VARCHAR, team VARCHAR, pick VARCHAR, position VARCHAR)\n\n Question: Which Player has a Pick smaller than 11,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (hometown_school VARCHAR, team VARCHAR) Question: Which Hometown/School has a Team of atlanta braves? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question about which Hometown/School has a Team of "atlanta braves": ``` SELECT hometown_school FROM table_name_74 WHERE team = "atlanta braves"; ```
16,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_74 (hometown_school VARCHAR, team VARCHAR)\n\n Question: Which Hometown/School has a Team of atlanta braves?\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_71 (enrollment INTEGER, location VARCHAR) Question: What's the most enrollment in Hamilton? Here is the SQLite query to answer to the question: What's the mos...
Here is the SQLite query to answer the question: What's the most enrollment in Hamilton?: ``` SELECT MAX(enrollment) FROM table_name_71 WHERE location = "hamilton" ```
16,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_71 (enrollment INTEGER, location VARCHAR)\n\n Question: What's the most enrollment in Hamilton?\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_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR) Question: What's the school that has an enrollment more than 441 with chargers as their mascot? Here i...
Your SQLite query is almost correct, but you need to ensure that the `enrollment` is treated as a numeric value since it's defined as VARCHAR. You can cast it to an integer for the comparison. Here is the improved query: ``` SELECT school FROM table_name_35 WHERE CAST(enrollment AS INTEGER) > 441 AND mascot = 'charger...
16,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_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR)\n\n Question: What's the school that has an enrollment more tha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (enrollment VARCHAR, _number___county VARCHAR, ihsaa_class VARCHAR) Question: What's the total enrollment in 57 Noble having a # and AA as the IHSAA Class? ...
To answer the question regarding the total enrollment in 57 Noble specifically for IHSAA Classes that are either "#" or "AA", you will want to sum the enrollments for these two classes. Here’s the corrected SQL query: ```sql SELECT SUM(enrollment) FROM table_name_95 WHERE _number___county = "57 noble" AND (ihsaa_cl...
16,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_95 (enrollment VARCHAR, _number___county VARCHAR, ihsaa_class VARCHAR)\n\n Question: What's the total enrollment in 57 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR) Question: What year joined had an enrollment less than 438 and an AA as the IHSAA Class? Her...
Here is the SQLite query to answer the question regarding the enrollment and IHSAA class: ``` SELECT year_joined FROM table_name_63 WHERE enrollment < 438 AND ihsaa_class = 'AA'; ```
16,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_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)\n\n Question: What year joined had an enrollment less...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (branding VARCHAR, call_sign VARCHAR) Question: what is the branding when the call sign is ckua-fm-3? Here is the SQLite query to answer to the question: w...
Your SQLite query looks correct. Here it is wrapped in code formatting: ``` SELECT branding FROM table_name_33 WHERE call_sign = "ckua-fm-3"; ```
16,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_33 (branding VARCHAR, call_sign VARCHAR)\n\n Question: what is the branding when the call sign is ckua-fm-3?\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_58 (format VARCHAR, frequency VARCHAR) Question: what is the format when the frequency is fm 94.5? Here is the SQLite query to answer to the question: what is...
Here is the SQLite query to answer the question about the format when the frequency is "fm 94.5": ``` SELECT format FROM table_name_58 WHERE frequency = "fm 94.5"; ```
16,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_58 (format VARCHAR, frequency VARCHAR)\n\n Question: what is the format when the frequency is fm 94.5?\n\nHere is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (owner VARCHAR, frequency VARCHAR) Question: who is the owner of fm 94.5? Here is the SQLite query to answer to the question: who is the owner of fm 94.5?:...
Here is the SQLite query to answer the question of who is the owner of fm 94.5: ``` SELECT owner FROM table_name_69 WHERE frequency = "fm 94.5"; ```
16,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_69 (owner VARCHAR, frequency VARCHAR)\n\n Question: who is the owner of fm 94.5?\n\nHere is the SQLite query to answer ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (language_rebroadcast VARCHAR, branding VARCHAR) Question: what is the language/rebroadcast for cbc radio one? Here is the SQLite query to answer to the qu...
Here's the SQLite query wrapped in code blocks as you requested: ``` SELECT language_rebroadcast FROM table_name_30 WHERE branding = "cbc radio one"; ```
16,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_30 (language_rebroadcast VARCHAR, branding VARCHAR)\n\n Question: what is the language/rebroadcast for cbc radio one?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (frequency VARCHAR, format VARCHAR) Question: what is the frequency when the format is contemporary christian music? Here is the SQLite query to answer to ...
Here is the SQLite query that answers the question regarding the frequency for the format "contemporary christian music": ``` SELECT frequency FROM table_name_68 WHERE format = "contemporary christian music"; ```
16,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_68 (frequency VARCHAR, format VARCHAR)\n\n Question: what is the frequency when the format is contemporary christian mu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (branding VARCHAR, owner VARCHAR, frequency VARCHAR) Question: what is the branding when the owner is jim pattison group and the frequency is fm 94.5? Here...
Here is the SQLite query to answer the question about the branding when the owner is "jim pattison group" and the frequency is "fm 94.5": ``` SELECT branding FROM table_name_55 WHERE owner = "jim pattison group" AND frequency = "fm 94.5"; ```
16,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_55 (branding VARCHAR, owner VARCHAR, frequency VARCHAR)\n\n Question: what is the branding when the owner is jim pattis...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (draw INTEGER, lost VARCHAR, goals_scored VARCHAR) Question: What is the fewest number of draws with more than 9 losts and more than 16 goals scored? Here ...
Your query is almost correct, but there are a couple of points to refine. First, the columns `lost` and `goals_scored` are defined as `VARCHAR`, so you need to cast them to integers in the condition check. Here’s the corrected SQLite query: ```sql SELECT MIN(draw) FROM table_name_99 WHERE CAST(lost AS INTEGER) > 9 A...
16,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_99 (draw INTEGER, lost VARCHAR, goals_scored VARCHAR)\n\n Question: What is the fewest number of draws with more than 9...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (draw INTEGER, lost VARCHAR, played VARCHAR) Question: How many total draws was played less than 18 with 11 losts? Here is the SQLite query to answer to the...
It looks like you're seeking an SQLite query to find the total number of draws where the "played" is less than 18, and the "lost" is exactly 11. However, the columns "lost" and "played" are defined as VARCHAR (which means they hold strings), but your filter conditions treat them as integers. To ensure proper comparison...
16,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_2 (draw INTEGER, lost VARCHAR, played VARCHAR)\n\n Question: How many total draws was played less than 18 with 11 losts...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (goals_scored VARCHAR, played VARCHAR, points VARCHAR, goals_conceded VARCHAR) Question: What is the total goals scored with more than 11 points, 18 goals c...
The SQLite query you provided aims to count the number of entries that meet certain criteria. However, if the intention is to sum the total goals scored instead of counting the number of entries, you would want to use `SUM()` instead of `COUNT()`. Here’s the corrected query to calculate the total goals scored under the...
16,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_17 (goals_scored VARCHAR, played VARCHAR, points VARCHAR, goals_conceded VARCHAR)\n\n Question: What is the total goals...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (record VARCHAR, games VARCHAR) Question: What is the Record of the 1991 Port of Spain Games? Here is the SQLite query to answer to the question: What is t...
Here is the SQLite query to answer the question regarding the Record of the 1991 Port of Spain Games: ``` SELECT record FROM table_name_56 WHERE games = "1991 Port of Spain"; ```
16,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_56 (record VARCHAR, games VARCHAR)\n\n Question: What is the Record of the 1991 Port of Spain Games?\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_72 (record VARCHAR, nationality VARCHAR, games VARCHAR) Question: What is the Record of the 2012 Hamilton Games from Bahamas? Here is the SQLite query to answ...
Here is the SQLite query to answer the question regarding the Record of the 2012 Hamilton Games from Bahamas: ``` SELECT record FROM table_name_72 WHERE nationality = "Bahamas" AND games = "2012 Hamilton"; ```
16,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_72 (record VARCHAR, nationality VARCHAR, games VARCHAR)\n\n Question: What is the Record of the 2012 Hamilton Games fro...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (record VARCHAR, event VARCHAR) Question: What is the Record of the 3000 M? Here is the SQLite query to answer to the question: What is the Record of the 3...
Here is the SQLite query wrapped in code formatting: ``` SELECT record FROM table_name_15 WHERE event = "3000 M"; ```
16,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_15 (record VARCHAR, event VARCHAR)\n\n Question: What is the Record of the 3000 M?\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_2 (record VARCHAR, games VARCHAR) Question: What is the Record of the 2013 Nassau Games? Here is the SQLite query to answer to the question: What is the Recor...
Here is the SQLite query to answer the question "What is the Record of the 2013 Nassau Games?": ``` SELECT record FROM table_name_2 WHERE games = "2013 Nassau"; ```
16,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_2 (record VARCHAR, games VARCHAR)\n\n Question: What is the Record of the 2013 Nassau Games?\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_92 (quantity_made VARCHAR, class VARCHAR) Question: What is the Quantity made when class is f-7? Here is the SQLite query to answer to the question: What is t...
Here is the SQLite query to answer the question regarding the quantity made when the class is f-7: ``` SELECT quantity_made FROM table_name_92 WHERE class = "f-7"; ```
16,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_92 (quantity_made VARCHAR, class VARCHAR)\n\n Question: What is the Quantity made when class is f-7?\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_16 (class VARCHAR, year_made VARCHAR) Question: What is the Class of 1899–1900? Here is the SQLite query to answer to the question: What is the Class of 1899–...
Here is the SQLite query to answer to the question: What is the Class of 1899–1900?: ``` SELECT class FROM table_name_16 WHERE year_made = '1899–1900'; ```
16,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_16 (class VARCHAR, year_made VARCHAR)\n\n Question: What is the Class of 1899–1900?\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_82 (manufacturer VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) Question: What is the manufacturer with a wheel arrangement of 2-8-0, and Year made of ...
Here is the SQLite query to answer the question regarding the manufacturer with a wheel arrangement of 2-8-0 and a year made of 1883: ``` SELECT manufacturer FROM table_name_82 WHERE wheel_arrangement = "2-8-0" AND year_made = "1883" ```
16,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_82 (manufacturer VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR)\n\n Question: What is the manufacturer with a w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) Question: What is the quantity when the wheel arrangement is 2-8-0, and class is f-4? Her...
Here's the SQLite query that answers the question regarding the quantity when the wheel arrangement is 2-8-0 and the class is f-4: ``` SELECT quantity_made FROM table_name_92 WHERE wheel_arrangement = "2-8-0" AND class = "f-4"; ```
16,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_92 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)\n\n Question: What is the quantity when the wheel ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (wheel_arrangement VARCHAR, fleet_number_s_ VARCHAR) Question: What wheel arrangement has a fleet number(s) of 45–46? Here is the SQLite query to answer to...
It seems there was a misunderstanding in the query regarding the range of fleet numbers. If you're looking for wheel arrangements that have fleet numbers in the range from 45 to 46, you should use a SQL query that checks for those values. Here is the corrected SQLite query to retrieve the wheel arrangements for fleet ...
16,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_46 (wheel_arrangement VARCHAR, fleet_number_s_ VARCHAR)\n\n Question: What wheel arrangement has a fleet number(s) of 4...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (manufacturer VARCHAR, year_made VARCHAR) Question: What manufacturer has a year made of 1883? Here is the SQLite query to answer to the question: What man...
Here is the SQLite query to answer the question about which manufacturer has a year made of 1883: ``` SELECT manufacturer FROM table_name_76 WHERE year_made = "1883"; ```
16,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_76 (manufacturer VARCHAR, year_made VARCHAR)\n\n Question: What manufacturer has a year made of 1883?\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_72 (date VARCHAR, attendance INTEGER) Question: When hasn an Attendance larger than 66,926? Here is the SQLite query to answer to the question: When hasn an A...
It looks like there is a minor mistake in the SQL query you provided. The `OFFSET` clause is used for pagination in queries and should not be used to filter attendance values. Instead, you should be using a simple `WHERE` clause to filter records based on attendance. Here is the corrected SQL query that retrieves the ...
16,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_72 (date VARCHAR, attendance INTEGER)\n\n Question: When hasn an Attendance larger than 66,926?\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_14 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) Question: what is the manner of departure when the date of vacancy is 15 september 2008? Here is the...
Here is the SQLite query to answer the question regarding the manner of departure when the date of vacancy is 15 September 2008: ``` SELECT manner_of_departure FROM table_name_14 WHERE date_of_vacancy = "15 september 2008" ```
16,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_14 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)\n\n Question: what is the manner of departure when the date o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (replaced_by VARCHAR, team VARCHAR) Question: who is the replacement when the team is port vale? Here is the SQLite query to answer to the question: who is...
Here is the SQLite query to answer the question: who is the replacement when the team is port vale?: ``` SELECT replaced_by FROM table_name_97 WHERE team = "port vale" ```
16,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_97 (replaced_by VARCHAR, team VARCHAR)\n\n Question: who is the replacement when the team is port vale?\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_87 (replaced_by VARCHAR, team VARCHAR, outgoing_manager VARCHAR) Question: who is the replacement when the team is bournemouth and the outgoing manager is kevi...
Here is the SQLite query to answer the question about the replacement for the Bournemouth team when the outgoing manager is Kevin Bond: ``` SELECT replaced_by FROM table_name_87 WHERE team = "bournemouth" AND outgoing_manager = "kevin bond" ```
16,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_87 (replaced_by VARCHAR, team VARCHAR, outgoing_manager VARCHAR)\n\n Question: who is the replacement when the team is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR) Question: who is the outgoing manager when the manner of departure is contr...
Here is the SQLite query to answer the question regarding the outgoing manager when the manner of departure is "contract terminated" and the date of vacancy is "1 September 2008": ``` SELECT outgoing_manager FROM table_name_22 WHERE manner_of_departure = "contract terminated" AND date_of_vacancy = "1 september 2008" `...
16,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_22 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)\n\n Question: who is the outgoing m...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) Question: what is the date of vacancy when the...
Here is the SQLite query to answer the question about the date of vacancy based on the given criteria: ``` SELECT date_of_vacancy FROM table_name_4 WHERE manner_of_departure = "contract terminated" AND position_in_table = "23rd" AND date_of_appointment = "31 december 2008" ```
16,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_4 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR, position_in_table 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_51 (replaced_by VARCHAR, date_of_vacancy VARCHAR) Question: who is the replacement when the date of vacancy is 1 september 2008? Here is the SQLite query to a...
Here is the SQLite query to answer the question regarding the replacement on the specified date: ``` SELECT replaced_by FROM table_name_51 WHERE date_of_vacancy = "1 september 2008"; ```
16,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_51 (replaced_by VARCHAR, date_of_vacancy VARCHAR)\n\n Question: who is the replacement when the date of vacancy is 1 se...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (wins INTEGER, tournament VARCHAR, events VARCHAR) Question: How many times did Morgan win The Masters Tournament with fewer than 12 appearances? Here is t...
The query you've provided is not quite correct for answering the question. Instead of calculating the average of wins, you should be counting the wins for Morgan specifically. Here’s how you can correct the query: ```sql SELECT SUM(wins) FROM table_name_12 WHERE tournament = "The Masters Tournament" AND events < 12...
16,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_12 (wins INTEGER, tournament VARCHAR, events VARCHAR)\n\n Question: How many times did Morgan win The Masters Tournamen...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR) Question: What is the lowest losses for a team that has 0 draws, fewer than 4 wins, and no Byes?...
The provided query contains some errors in the conditions, particularly the checks for `draws` and `byes`. In SQLite, the `draws` and `byes` columns are defined as VARCHAR, so we should check for `'0'` for draws and `''` for no byes (empty string). Here is the corrected query: ```sql SELECT MIN(losses) FROM table_na...
16,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_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR)\n\n Question: What is the lowest losses for a team that ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (population VARCHAR, median_family_income VARCHAR) Question: What Population has a Median family income of $38,044? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question regarding the population with a median family income of $38,044: ``` SELECT population FROM table_name_18 WHERE median_family_income = "$38,044"; ```
16,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_18 (population VARCHAR, median_family_income VARCHAR)\n\n Question: What Population has a Median family income of $38,0...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (county VARCHAR, median_family_income VARCHAR) Question: What county has a Median family income of $37,667? Here is the SQLite query to answer to the quest...
Your SQLite query is almost correct, but you should use single quotes for the string value instead of double quotes. In SQL, single quotes are used to denote string literals. Here is the corrected query wrapped in code blocks: ``` SELECT county FROM table_name_95 WHERE median_family_income = '$37,667'; ```
16,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_95 (county VARCHAR, median_family_income VARCHAR)\n\n Question: What county has a Median family income of $37,667?\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) Question: What is the highest Population that has a Median household inc...
Here's the corrected SQLite query to find the highest population that has a median household income of $32,902 and a number of households less than 11,125: ```sql SELECT MAX(population) FROM table_name_34 WHERE median_household_income = '$32,902' AND number_of_households < '11,125'; ``` Make sure to note the change...
16,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_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)\n\n Question: What is the highes...
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's the 1851 when 1881 had 764? Here is the SQLite query to answer to the question: What's the 1851 when 1881 had 764?: ``` SELEC...
It looks like you're trying to query the value associated with the year 1851, based on a condition for the year 1881. However, the provided schema does not specify any columns besides `Id`. Assuming that there are additional columns representing the years and their respective values, the SQL query might need to be adju...
16,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_67 (Id VARCHAR)\n\n Question: What's the 1851 when 1881 had 764?\n\nHere is the SQLite query to answer to the question:...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (year VARCHAR) Question: What's the year when 1851 had 634? Here is the SQLite query to answer to the question: What's the year when 1851 had 634?: ``` SEL...
It seems there is some confusion in the query provided. The comparison in the `WHERE` clause appears to be incorrect because it is checking if the value `1851` is equal to the string `"634"`, which doesn’t seem to make sense in the context you provided. If you're looking to find the year associated with the value `63...
16,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_29 (year VARCHAR)\n\n Question: What's the year when 1851 had 634?\n\nHere is the SQLite query to answer to the questio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (Id VARCHAR) Question: What's the 1881 when 1871 had 1017? Here is the SQLite query to answer to the question: What's the 1881 when 1871 had 1017?: ``` SEL...
It looks like there is a misunderstanding in the query syntax and the question framing. The table schema you provided has only one column ("Id"), and the query is trying to select a column that does not exist. Assuming you meant to compare values within the same column (Id), we cannot derive values like 1881 or 1871 d...
16,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_38 (Id VARCHAR)\n\n Question: What's the 1881 when 1871 had 1017?\n\nHere is the SQLite query to answer to the question...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (Id VARCHAR) Question: What's the 1861 had 1991 in 1881 and a year of year? Here is the SQLite query to answer to the question: What's the 1861 had 1991 in...
It looks like there may be some confusion in your question and the corresponding SQL query. The question seems to mix years with unclear relationships, and the query provided does not correctly follow SQL syntax or logic. However, if you're trying to select rows based on specific conditions related to the years 1861, ...
16,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_82 (Id VARCHAR)\n\n Question: What's the 1861 had 1991 in 1881 and a year of year?\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_54 (Id VARCHAR) Question: What's the 1881 with 1961 in 1851? Here is the SQLite query to answer to the question: What's the 1881 with 1961 in 1851?: ``` SELEC...
It looks like you're trying to formulate an SQLite query based on the schema provided. However, your query seems to have some issues as it doesn't adhere to typical SQL syntax. Assuming you want to select a value from column 'Id' where one condition matches another, here’s a corrected version of your query: ```sql S...
16,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_54 (Id VARCHAR)\n\n Question: What's the 1881 with 1961 in 1851?\n\nHere is the SQLite query to answer to the question:...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (stage VARCHAR, start_of_stage VARCHAR) Question: Who was the stage winner when the start of stage is Cauterets? Here is the SQLite query to answer to the ...
Your SQLite query looks mostly correct, but it's important to ensure that you're reflecting the correct intent of what constitutes the "stage winner." The column you are selecting should represent the winner, so it's essential to clarify that the `stage` column contains the names of the stage winners. Assuming `stage...
16,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_38 (stage VARCHAR, start_of_stage VARCHAR)\n\n Question: Who was the stage winner when the start of stage is Cauterets?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (stage VARCHAR, yellow_jersey VARCHAR) Question: Who was the stage winner when the stage was more than 10 and yellow jersey was Joseph Planckaert? Here is ...
It looks like you're trying to write a query to find the stage winner based on specific conditions. However, the column selected in your query should reflect the stage winner rather than simply renaming the stage column. Assuming there is a separate column, perhaps called `winner`, for the actual stage winner, the quer...
16,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_99 (stage VARCHAR, yellow_jersey VARCHAR)\n\n Question: Who was the stage winner when the stage was more than 10 and ye...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (stage VARCHAR, distance__km_ VARCHAR, year VARCHAR) Question: who was the Stage winner when the stage was smaller than 16, earlier than 1986, and a distanc...
It looks like there are a few issues with the initial query you've provided. Specifically, the `stage` column is defined as a `VARCHAR`, which means it would be treated as text rather than a number. Also, the `distance__km_` should also be compared as a numeric value. Here’s a corrected version of the query that assume...
16,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_44 (stage VARCHAR, distance__km_ VARCHAR, year VARCHAR)\n\n Question: who was the Stage winner when the stage was small...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (year INTEGER, yellow_jersey VARCHAR) Question: What year was yellow jersey of Jacques Anquetil? Here is the SQLite query to answer to the question: What y...
Here is the SQLite query to answer the question "What year was the yellow jersey of Jacques Anquetil?": ``` SELECT MIN(year) FROM table_name_66 WHERE yellow_jersey = "jacques anquetil" ```
16,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_66 (year INTEGER, yellow_jersey VARCHAR)\n\n Question: What year was yellow jersey of Jacques Anquetil?\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_33 (gpu_model VARCHAR, sspec_number VARCHAR) Question: What's the GPU model that has sSpec number SR16Z(c0)? Here is the SQLite query to answer to the questio...
Your SQL query is almost correct, but it should account for case sensitivity in the `sspec_number`. SQLite is case-sensitive by default for string comparisons, so if your data may vary in case, it's a good practice to use a case-insensitive comparison. Here is the revised query: ``` SELECT gpu_model FROM table_name_3...
16,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_33 (gpu_model VARCHAR, sspec_number VARCHAR)\n\n Question: What's the GPU model that has sSpec number SR16Z(c0)?\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_84 (l3_cache VARCHAR, part_number_s_ VARCHAR) Question: What's the L3 cache that has a low power part number? Here is the SQLite query to answer to the questi...
The SQLite query you provided is almost correct, but it assumes a specific value for the `part_number_s_` column. If you are looking for all `l3_cache` entries that are associated with any "low power" part number, the query should be as follows: ```sql SELECT l3_cache FROM table_name_84 WHERE part_number_s_ LIKE '%low...
16,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_84 (l3_cache VARCHAR, part_number_s_ VARCHAR)\n\n Question: What's the L3 cache that has a low power part number?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (gpu_frequency VARCHAR, cores VARCHAR) Question: What's the GPU frequency that has ultra-low power in cores? Here is the SQLite query to answer to the ques...
Here's the SQLite query to find the GPU frequency that corresponds to ultra-low power in cores: ``` SELECT gpu_frequency FROM table_name_87 WHERE cores = "ultra-low power" ```
16,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_87 (gpu_frequency VARCHAR, cores VARCHAR)\n\n Question: What's the GPU frequency that has ultra-low power in cores?\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_89 (cores VARCHAR, part_number_s_ VARCHAR) Question: What's the cores with the part number cl8064701477202? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question: ``` SELECT cores FROM table_name_89 WHERE part_number_s_ = "cl8064701477202"; ```
16,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_89 (cores VARCHAR, part_number_s_ VARCHAR)\n\n Question: What's the cores with the part number cl8064701477202?\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_65 (to_par VARCHAR, year_s__won VARCHAR, total VARCHAR) Question: What is the To par for the player that won in 2003, with a total larger than 145? Here is th...
Your query is counting the number of players who won in 2003 with a total larger than 145. However, to retrieve the "To par" value for that player instead, you need to select the `to_par` column. Here is the corrected SQLite query: ``` SELECT to_par FROM table_name_65 WHERE year_s__won = "2003" AND total > 145 ```
16,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_65 (to_par VARCHAR, year_s__won VARCHAR, total VARCHAR)\n\n Question: What is the To par for the player that won in 200...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (total INTEGER, country VARCHAR, year_s__won VARCHAR) Question: What is United States total in the year(s) won of 2000 , 2005 , 2006? Here is the SQLite que...
The provided query has a couple of issues. Firstly, the `year_s__won` field should contain individual years, and you need to check for multiple years using the `IN` clause instead of looking for a string match. Here’s the corrected query to find the total for the United States in the years 2000, 2005, and 2006: ```sq...
16,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_1 (total INTEGER, country VARCHAR, year_s__won VARCHAR)\n\n Question: What is United States total in the year(s) won of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (player VARCHAR, country VARCHAR, total VARCHAR) Question: Who was the player from the United States, with a total larger than 145? Here is the SQLite quer...
Your SQLite query looks good, but to ensure proper comparison of the `total` column (which is defined as a VARCHAR), it may be safer to cast it to an INTEGER. Here's a refined version of your query: ``` SELECT player FROM table_name_32 WHERE country = 'united states' AND CAST(total AS INTEGER) > 145 ``` This ensures...
16,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_32 (player VARCHAR, country VARCHAR, total VARCHAR)\n\n Question: Who was the player from the United States, with a tot...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (year_s__won VARCHAR, to_par VARCHAR) Question: What is the Year won for the player with a To par of 8? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question about the Year won for the player with a To par of 8: ``` SELECT year_s__won FROM table_name_70 WHERE to_par = '8' ``` Note: Make sure that the data type in the query matches the data type in the database. In this case, if `to_par` is stored as a string (VARCHAR), you ...
16,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_70 (year_s__won VARCHAR, to_par VARCHAR)\n\n Question: What is the Year won for the player with a To par of 8?\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_21 (to_par VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR) Question: What is the To par of the United States, when the Total was 145, in 2004? ...
Here is the SQLite query to answer the question about the "To par" of the United States when the "Total" was 145 in 2004: ``` SELECT to_par FROM table_name_21 WHERE country = "united states" AND total = "145" AND year_s__won = "2004" ```
16,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_21 (to_par VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)\n\n Question: What is the To par of the Unite...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (tally INTEGER, venue VARCHAR) Question: What is the fewest tally for the game played at Vasil Levski National Stadium, Sofia, Bulgaria? Here is the SQLite ...
Here is the SQLite query to find the fewest tally for the game played at Vasil Levski National Stadium, Sofia, Bulgaria: ``` SELECT MIN(tally) FROM table_name_9 WHERE venue = "Vasil Levski National Stadium, Sofia, Bulgaria" ```
16,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_9 (tally INTEGER, venue VARCHAR)\n\n Question: What is the fewest tally for the game played at Vasil Levski National St...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (competition VARCHAR, date VARCHAR) Question: For what competition was the game played on 28 March 2009? Here is the SQLite query to answer to the question...
Here is the SQLite query wrapped in code formatting: ``` SELECT competition FROM table_name_28 WHERE date = "28 March 2009"; ```
16,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_28 (competition VARCHAR, date VARCHAR)\n\n Question: For what competition was the game played on 28 March 2009?\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_81 (rank INTEGER, lane VARCHAR) Question: The swimmer in lane 7 has what as the smallest rank? Here is the SQLite query to answer to the question: The swimmer...
Here is the SQLite query to answer the question: The swimmer in lane 7 has what as the smallest rank?: ``` SELECT MIN(rank) FROM table_name_81 WHERE lane = '7' ```
16,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_81 (rank INTEGER, lane VARCHAR)\n\n Question: The swimmer in lane 7 has what as the smallest rank?\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_88 (nationality VARCHAR, name VARCHAR) Question: Swimmer Aurore Mongel has what nationality? Here is the SQLite query to answer to the question: Swimmer Auror...
Here is the SQLite query to answer the question about Swimmer Aurore Mongel's nationality: ``` SELECT nationality FROM table_name_88 WHERE name = "Aurore Mongel"; ```
16,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_88 (nationality VARCHAR, name VARCHAR)\n\n Question: Swimmer Aurore Mongel has what nationality?\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_50 (lane VARCHAR, name VARCHAR) Question: Swimmer Jiao Liuyang has what for the sum of lane? Here is the SQLite query to answer to the question: Swimmer Jiao ...
The query you provided is intended to count the number of lanes associated with swimmer Jiao Liuyang, not the sum of lane values. However, if you need to calculate the sum of lanes (assuming lanes are numeric), you would need to adjust the query accordingly. Given that the `lane` column is of type VARCHAR, you would ...
16,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_50 (lane VARCHAR, name VARCHAR)\n\n Question: Swimmer Jiao Liuyang has what for the sum of lane?\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_42 (time VARCHAR, lane VARCHAR, rank VARCHAR) Question: For the swimmer in the lane less than 4, and is ranked greater than 4 what was the time? Here is the S...
Your SQLite query has a small issue regarding the comparison of the `lane` and `rank` fields, as they are stored as `VARCHAR`. When comparing numeric values that are stored as strings, you should cast them to INTEGER or use a proper numeric comparison. Here’s the corrected query: ``` SELECT time FROM table_name_42 W...
16,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_42 (time VARCHAR, lane VARCHAR, rank VARCHAR)\n\n Question: For the swimmer in the lane less than 4, and is ranked grea...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (time VARCHAR, name VARCHAR) Question: Swimmer Audrey Lacroix finished in what time? Here is the SQLite query to answer to the question: Swimmer Audrey Lac...
Here is the SQLite query to answer the question regarding the finishing time of Swimmer Audrey Lacroix: ``` SELECT time FROM table_name_20 WHERE name = "audrey lacroix"; ```
16,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_20 (time VARCHAR, name VARCHAR)\n\n Question: Swimmer Audrey Lacroix finished in what time?\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_12 (competition VARCHAR, notes VARCHAR) Question: In which competition was Moradi's time 1:48.58? Here is the SQLite query to answer to the question: In which...
Here is the SQLite query to answer the question about in which competition Moradi's time was 1:48.58: ``` SELECT competition FROM table_name_12 WHERE notes = '1:48.58'; ```
16,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_12 (competition VARCHAR, notes VARCHAR)\n\n Question: In which competition was Moradi's time 1:48.58?\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_21 (event VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR, competition VARCHAR) Question: In which event did Moradi compete and finish in 2nd at the Asi...
Here is the SQLite query to answer the question: ``` SELECT event FROM table_name_21 WHERE year > 2005 AND competition = "asian championships" AND position = "2nd" AND venue = "kobe, japan"; ```
16,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_21 (event VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR, competition VARCHAR)\n\n Question: In which event did...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (competition VARCHAR, year VARCHAR, notes VARCHAR) Question: What competition was held earlier than 2007 and has 7434 in the notes field? Here is the SQLit...
Here is the SQLite query to answer the question: ``` SELECT competition FROM table_name_47 WHERE year < '2007' AND notes = '7434'; ```
16,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_47 (competition VARCHAR, year VARCHAR, notes VARCHAR)\n\n Question: What competition was held earlier than 2007 and has...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (event VARCHAR, notes VARCHAR) Question: What event has 7860 notes? Here is the SQLite query to answer to the question: What event has 7860 notes?: ``` SEL...
The SQLite query you provided contains a minor error because it checks for the string "7860" in the `notes` column instead of filtering based on the actual count of notes. To find what event has 7860 notes, you actually need to use a counting mechanism. Assuming you want to count the occurrences of a certain event, her...
16,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 (event VARCHAR, notes VARCHAR)\n\n Question: What event has 7860 notes?\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_81 (venue VARCHAR, notes VARCHAR) Question: What venue has 7964 pb notes? Here is the SQLite query to answer to the question: What venue has 7964 pb notes?: `...
Here is the SQLite query that answers the question about which venue has "7964 pb" notes: ```sql SELECT venue FROM table_name_81 WHERE notes = '7964 pb'; ```
16,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_81 (venue VARCHAR, notes VARCHAR)\n\n Question: What venue has 7964 pb notes?\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_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR) Question: How many times is vuelta wins when points is more than 0, country is spain an...
Here is the SQLite query to answer the question: ``` SELECT COUNT(vuelta_wins) FROM table_name_67 WHERE points > 0 AND country = "spain" AND name = "josé pérez-francés" ```
16,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_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR)\n\n Question: How many times is vuelta wins whe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (constituency_number VARCHAR, name VARCHAR) Question: Which constituency number has a name of Timarni? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question about which constituency number has a name of Timarni: ```sql SELECT constituency_number FROM table_name_99 WHERE name = "Timarni"; ```
16,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_99 (constituency_number VARCHAR, name VARCHAR)\n\n Question: Which constituency number has a name of Timarni?\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_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) Question: What is the reserved for value for constituency number 132? Here is the SQLi...
Certainly! Here’s the SQLite query to get the reserved for value for constituency number 132: ``` SELECT reserved_for___sc___st__none_ FROM table_name_76 WHERE constituency_number = "132"; ```
16,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_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)\n\n Question: What is the reserved for value fo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR) Question: What is the place of the player with a 72-70-67=209 score? Here is the SQLite query to answer to the question: Wha...
It looks like there is a mistake in the query you provided. The condition for checking the score should be directly comparing the score as a string (since it's stored as VARCHAR) rather than performing arithmetic operations. Here's the corrected query: ```sql SELECT place FROM table_name_51 WHERE score = '209'; ``` ...
16,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_51 (place VARCHAR, score VARCHAR)\n\n Question: What is the place of the player with a 72-70-67=209 score?\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_87 (to_par VARCHAR, player VARCHAR) Question: What is the to par of player hunter mahan? Here is the SQLite query to answer to the question: What is the to pa...
Here is the SQLite query to answer the question about the to par of the player Hunter Mahan: ``` SELECT to_par FROM table_name_87 WHERE player = "hunter mahan" ```
16,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_87 (to_par VARCHAR, player VARCHAR)\n\n Question: What is the to par of player hunter mahan?\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_65 (to_par VARCHAR, country VARCHAR) Question: What is the to par of canada? Here is the SQLite query to answer to the question: What is the to par of canada?...
Here is the SQLite query to answer the question: What is the to par of canada?: ``` SELECT to_par FROM table_name_65 WHERE country = "canada"; ```
16,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_65 (to_par VARCHAR, country VARCHAR)\n\n Question: What is the to par of canada?\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_93 (album VARCHAR, year VARCHAR, title VARCHAR) Question: What album came out before 2008 called We're not Made in the USA? Here is the SQLite query to answer...
Here is the SQLite query to answer the question regarding the album that came out before 2008 and is titled "We're not Made in the USA": ``` SELECT album FROM table_name_93 WHERE year < '2008' AND title = "We're not Made in the USA"; ```
16,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_93 (album VARCHAR, year VARCHAR, title VARCHAR)\n\n Question: What album came out before 2008 called We're not Made in ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (year INTEGER, title VARCHAR) Question: What is the average year for Faces? Here is the SQLite query to answer to the question: What is the average year fo...
Here is the SQLite query to answer the question about the average year for "Faces": ``` SELECT AVG(year) FROM table_name_61 WHERE title = "Faces"; ```
16,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_61 (year INTEGER, title VARCHAR)\n\n Question: What is the average year for Faces?\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_69 (election INTEGER, municipality VARCHAR) Question: What is livorno's average election? Here is the SQLite query to answer to the question: What is livorno'...
```sql SELECT AVG(election) FROM table_name_69 WHERE municipality = "livorno"; ```
16,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 (election INTEGER, municipality VARCHAR)\n\n Question: What is livorno's average election?\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_52 (election INTEGER, party VARCHAR, mayor VARCHAR) Question: Which Election has a Party of democratic party, and a Mayor of leonardo betti? Here is the SQLit...
Here is the SQLite query to answer the question of which Election has a Party of "democratic party" and a Mayor of "leonardo betti": ``` SELECT MAX(election) FROM table_name_52 WHERE party = "democratic party" AND mayor = "leonardo betti" ```
16,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_52 (election INTEGER, party VARCHAR, mayor VARCHAR)\n\n Question: Which Election has a Party of democratic party, and a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (inhabitants INTEGER, mayor VARCHAR, election VARCHAR) Question: Which Inhabitants have a Mayor of matteo renzi, and an Election larger than 2009? Here is t...
Here's the SQLite query to answer the given question: ``` SELECT inhabitants FROM table_name_4 WHERE mayor = "matteo renzi" AND election > 2009; ```
16,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_4 (inhabitants INTEGER, mayor VARCHAR, election VARCHAR)\n\n Question: Which Inhabitants have a Mayor of matteo renzi, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR) Question: Which Inhabitants have a Party of democratic party, and a Municipalit...
Here is the SQLite query to answer the question: ``` SELECT inhabitants FROM table_name_99 WHERE party = "democratic party" AND municipality = "florence" AND election < 2009; ``` This query will return all inhabitants that match the specified criteria. If you're specifically interested in using aggregation functions...
16,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_99 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)\n\n Question: Which Inhabitants have a ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR) Question: Which Seatshave a Share of votes of 18%, and a Share of s...
Here is the SQLite query that answers the question as requested: ``` SELECT MIN(seats) FROM table_name_6 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election < 1992 ```
16,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_6 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)\n\n Question: Which Seatsha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (general_election INTEGER, share_of_votes VARCHAR) Question: How much General election has a Share of votes of 17%? Here is the SQLite query to answer to t...
Your query is almost correct, but it's important to ensure that the comparison in the `WHERE` clause matches the format in the database. If the share of votes is stored as a string with a '%' sign, your query is valid. Here’s the completed query wrapped with triple backticks: ``` SELECT SUM(general_election) FROM ta...
16,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_92 (general_election INTEGER, share_of_votes VARCHAR)\n\n Question: How much General election has a Share of votes 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_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR) Question: Which Seats have a Share of votes of 18%, and a Share of...
Here is the SQLite query to answer the question about Seats with a Share of votes of 18%, a Share of seats of 3%, and a General election year greater than 1992: ```sql SELECT seats FROM table_name_62 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election > 1992; ```
16,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_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)\n\n Question: Which Seats ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (share_of_seats VARCHAR, general_election VARCHAR, seats VARCHAR, name VARCHAR) Question: Which Share of seats has Seats smaller than 52, and a Name of sdp–...
Here is the SQLite query to answer the question: ``` SELECT share_of_seats FROM table_name_66 WHERE seats < 52 AND name = "sdp–liberal alliance" AND general_election = "1983" ```
16,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_66 (share_of_seats VARCHAR, general_election VARCHAR, seats VARCHAR, name VARCHAR)\n\n Question: Which Share of seats h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (voltage VARCHAR, l2_cache VARCHAR, turbo VARCHAR) Question: What is the voltage when the L2 cache is 2 × 256 kb and the turbo is 5/8? Here is the SQLite q...
Here is the SQLite query to answer the question regarding the voltage when the L2 cache is 2 × 256 kb and the turbo is 5/8: ``` SELECT voltage FROM table_name_71 WHERE l2_cache = "2 × 256 kb" AND turbo = "5/8" ```
16,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_71 (voltage VARCHAR, l2_cache VARCHAR, turbo VARCHAR)\n\n Question: What is the voltage when the L2 cache is 2 × 256 kb...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (l2_cache VARCHAR, sspec_number VARCHAR) Question: What is the L2 cache with ec number of slbmm(c2)slbsr(k0)? Here is the SQLite query to answer to the que...
Here is the SQLite query that answers your question: ``` SELECT l2_cache FROM table_name_92 WHERE sspec_number = "slbmm(c2)slbsr(k0)" ```
16,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_92 (l2_cache VARCHAR, sspec_number VARCHAR)\n\n Question: What is the L2 cache with ec number of slbmm(c2)slbsr(k0)?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (voltage VARCHAR, turbo VARCHAR, cores VARCHAR, release_date VARCHAR) Question: What is the voltage when there are 2 cores, turbo is 5/8 and the release dat...
Here is the SQLite query to answer the question: ``` SELECT voltage FROM table_name_71 WHERE cores = "2" AND turbo = "5/8" AND release_date = "September 2010"; ```
16,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_71 (voltage VARCHAR, turbo VARCHAR, cores VARCHAR, release_date VARCHAR)\n\n Question: What is the voltage when there a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (frequency VARCHAR, part_number_s_ VARCHAR, i_o_bus VARCHAR, voltage VARCHAR) Question: What is the frequency for I/O bus of DMI, voltage of 0.725–1.4v and p...
Here is the SQLite query to answer the question regarding the frequency for the specified I/O bus, voltage, and part number: ``` SELECT frequency FROM table_name_4 WHERE i_o_bus = "DMI" AND voltage = "0.725–1.4v" AND part_number_s_ = "cn80617004458ab"; ```
16,989
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (frequency VARCHAR, part_number_s_ VARCHAR, i_o_bus VARCHAR, voltage VARCHAR)\n\n Question: What is the frequency for...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (i_o_bus VARCHAR, socket VARCHAR) Question: What is I/O bus when socket is socket g1bga-1288? Here is the SQLite query to answer to the question: What is I...
Here is the SQLite query to answer the question regarding the I/O bus for the socket "socket g1bga-1288": ``` SELECT i_o_bus FROM table_name_46 WHERE socket = "socket g1bga-1288"; ```
16,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_46 (i_o_bus VARCHAR, socket VARCHAR)\n\n Question: What is I/O bus when socket is socket g1bga-1288?\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_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR) Question: What is the memory when release date is January 2010 and socket is BGA-1288? Here is the S...
Here is the SQLite query to answer the question regarding the memory based on the specified release date and socket: ``` SELECT memory FROM table_name_13 WHERE release_date = "January 2010" AND socket = "BGA-1288"; ```
16,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_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR)\n\n Question: What is the memory when release date is January...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (no_of_premierships VARCHAR, nickname VARCHAR) Question: How many Premierships have Nicknamed of kangaroos? Here is the SQLite query to answer to the quest...
Your SQLite query to count the number of Premierships for the nickname "kangaroos" is correct. Here it is wrapped as you requested: ``` SELECT COUNT(no_of_premierships) FROM table_name_72 WHERE nickname = "kangaroos"; ```
16,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_72 (no_of_premierships VARCHAR, nickname VARCHAR)\n\n Question: How many Premierships have Nicknamed of kangaroos?\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_69 (ihsaa_class VARCHAR, school VARCHAR) Question: What is the IHSAA class for Muncie Burris? Here is the SQLite query to answer to the question: What is the ...
Here is the SQLite query to answer the question regarding the IHSAA class for Muncie Burris: ``` SELECT ihsaa_class FROM table_name_69 WHERE school = "Muncie Burris"; ```
16,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_69 (ihsaa_class VARCHAR, school VARCHAR)\n\n Question: What is the IHSAA class for Muncie Burris?\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_27 (ihsaa_class VARCHAR, school VARCHAR) Question: What is the IHSAA class for Muncie Cowan? Here is the SQLite query to answer to the question: What is the I...
Here is the SQLite query to answer the question about the IHSAA class for Muncie Cowan: ``` SELECT ihsaa_class FROM table_name_27 WHERE school = "Muncie Cowan"; ```
16,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_27 (ihsaa_class VARCHAR, school VARCHAR)\n\n Question: What is the IHSAA class for Muncie Cowan?\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_30 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR) Question: What is the location where enrollment is 266 and and the county is 18 Delaware? ...
Here is the SQLite query to answer the question regarding the specific location where enrollment is 266 and the county is 18 Delaware: ``` SELECT location FROM table_name_30 WHERE _number___county = "18 delaware" AND enrollment = '266' ```
16,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_30 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR)\n\n Question: What is the location where enrollment...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) Question: What is the enrollment at the school with IHSAA class A and where mascot is the Vikings?...
Here is the SQLite query to answer the question about the enrollment at the school with IHSAA class A and mascot Vikings: ``` SELECT enrollment FROM table_name_39 WHERE ihsaa_class = "A" AND mascot = "Vikings"; ```
16,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_39 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)\n\n Question: What is the enrollment at the school with IH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR) Question: What is the IHSAA class for the school where the mascot is the Rebels? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question regarding the IHSAA class for the school where the mascot is the Rebels: ``` SELECT ihsaa_class FROM table_name_80 WHERE mascot = "Rebels"; ```
16,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_80 (ihsaa_class VARCHAR, mascot VARCHAR)\n\n Question: What is the IHSAA class for the school where the mascot is the R...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR) Question: What is the location with enrollment of 316 and county is 68 Randolph? Here is t...
Here is the SQLite query to answer the question regarding the location with an enrollment of 316 and a county of 68 Randolph: ``` SELECT location FROM table_name_21 WHERE _number___county = "68 Randolph" AND enrollment = "316" ```
16,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_21 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR)\n\n Question: What is the location with enrollment ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (result VARCHAR, year VARCHAR, award VARCHAR) Question: What result took pace in 2009 and had an award of sopot international song festival? Here is the SQ...
Here is the SQLite query you can use to answer the question: ``` SELECT result FROM table_name_17 WHERE year = '2009' AND award = 'sopot international song festival'; ```
16,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_17 (result VARCHAR, year VARCHAR, award VARCHAR)\n\n Question: What result took pace in 2009 and had an award of sopot ...