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_30120619_1 (barony VARCHAR, townland VARCHAR) Question: What is the barony for the Ballintaggart townland? Here is the SQLite query to answer to the question: What...
Here is the SQLite query to answer the question regarding the barony for the Ballintaggart townland: ``` SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart"; ```
8,500
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR)\n\n Question: What is the barony for the Ballintaggart townland?\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR) Question: What is the poor law union for the Barnahely towland? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about the poor law union for the Barnahely townland: ``` SELECT poor_law_union FROM table_30120619_1 WHERE townland = "Barnahely"; ```
8,501
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR)\n\n Question: What is the poor law union for the Barnahely towland?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30120619_1 (barony VARCHAR, area__acres__ VARCHAR) Question: What is the barony of the townland whose area is 150 acres? Here is the SQLite query to answer to the...
The area value in the database is stored as a string (VARCHAR), so you need to compare it as a string rather than an integer. Therefore, the value '150' should be in quotes. Here's the correct SQLite query: ``` SELECT barony FROM table_30120619_1 WHERE area__acres__ = '150' ```
8,502
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30120619_1 (barony VARCHAR, area__acres__ VARCHAR)\n\n Question: What is the barony of the townland whose area is 150 acres?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30120619_1 (townland VARCHAR, civil_parish VARCHAR) Question: In which townlands is the civil parish Monkstown? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about the townlands in the civil parish of Monkstown: ``` SELECT townland FROM table_30120619_1 WHERE civil_parish = "Monkstown"; ```
8,503
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30120619_1 (townland VARCHAR, civil_parish VARCHAR)\n\n Question: In which townlands is the civil parish Monkstown? \n\nHere...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30120619_1 (townland VARCHAR, area__acres__ VARCHAR) Question: Which townland has an area of 165 acres? Here is the SQLite query to answer to the question: Which t...
The area is stored as a string (`VARCHAR`) in the database schema, so you need to compare it as such. Here's the corrected SQL query: ```sql SELECT townland FROM table_30120619_1 WHERE area__acres__ = '165'; ```
8,504
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30120619_1 (townland VARCHAR, area__acres__ VARCHAR)\n\n Question: Which townland has an area of 165 acres?\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_30120559_1 (barony VARCHAR, townland VARCHAR) Question: Name the total number of barony for kilmore Here is the SQLite query to answer to the question: Name the to...
Your SQLite query to count the total number of baronies for "Kilmore" looks good. Here it is formatted properly: ``` SELECT COUNT(barony) FROM table_30120559_1 WHERE townland = "Kilmore"; ``` This query counts the number of distinct baronies associated with the townland "Kilmore" in the specified table. If you also ...
8,505
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30120559_1 (barony VARCHAR, townland VARCHAR)\n\n Question: Name the total number of barony for kilmore\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_30120559_1 (poor_law_union VARCHAR, area__acres__ VARCHAR) Question: Name the poor law union for area being 332 Here is the SQLite query to answer to the question:...
The provided SQLite query counts the number of poor law unions for the area being 332, rather than naming the poor law union itself. To correctly retrieve the name of the poor law union for the area of 332, the query should select the `poor_law_union` column instead. Here’s the corrected query: ``` SELECT poor_law_uni...
8,506
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30120559_1 (poor_law_union VARCHAR, area__acres__ VARCHAR)\n\n Question: Name the poor law union for area being 332\n\nHere ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR) Question: How many townlands are there for caheragh and is larger than 270 acres? Here i...
It looks like there is a slight mistake in the query you provided. Specifically, you want to count townlands that are larger than 270 acres, not equal to 270 acres. In SQLite, we should convert the area from a string to a numeric value for comparison. Here's the corrected query: ``` SELECT COUNT(townland) FROM tabl...
8,507
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR)\n\n Question: How many townlands are there for ca...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30121096_1 (civil_parish VARCHAR, townland VARCHAR) Question: Which civil parish is for the townland clooncugger? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question regarding the civil parish for the townland 'Clooncugger': ``` SELECT civil_parish FROM table_30121096_1 WHERE townland = 'Clooncugger'; ```
8,508
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30121096_1 (civil_parish VARCHAR, townland VARCHAR)\n\n Question: Which civil parish is for the townland clooncugger?\n\nHer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30121096_1 (poor_law_union VARCHAR, area__acres__ VARCHAR, civil_parish VARCHAR) Question: How many poor law unions have an area of 262 acres and is in drinagh civi...
Your SQLite query is almost correct, but it has a slight issue with the comparison to the area. Since the `area__acres__` column is defined as `VARCHAR`, the comparison to the integer `262` should be done as a string. Here’s the corrected SQLite query: ```sql SELECT COUNT(poor_law_union) FROM table_30121096_1 WHERE ar...
8,509
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30121096_1 (poor_law_union VARCHAR, area__acres__ VARCHAR, civil_parish VARCHAR)\n\n Question: How many poor law unions have...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR) Question: How many current account balances ...
Here is the SQLite query to answer the question regarding how many current account balances are associated with GDP at constant prices growth rates of 4.6: ``` SELECT COUNT(current_account_balance__percent_of_gdp_) FROM table_30133_1 WHERE gdp_at_constant_prices_growth_rate__percent_change_ = "4.6"; ```
8,510
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR)\n\n ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_constant_prices__thb_trillions_ VARCHAR) Question: How many export volume of goods/ser...
Here is the SQLite query to answer the question regarding the count of export volume of goods/services associated with GDP at constant prices values of 3.072: ``` SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_constant_prices__thb_trillions_ = "3.072"; ```
8,511
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_constant_prices__thb_trillions_ VARCHAR)\n\n Q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) Question: How many export volume of goods and s...
Here is the SQLite query to answer the question about how many export volume of goods and services values are associated with GDP at current prices of 161.340: ``` SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = '161.340'; ```
8,512
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)\n\n Que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, export_volume_of_goods_and_services__percent_change_ VARCHAR) Question: What is the current account balan...
Here is the SQLite query to answer the question regarding the current account balance for an export volume of goods and services value of -4.2: ``` SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE export_volume_of_goods_and_services__percent_change_ = '-4.2'; ```
8,513
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, export_volume_of_goods_and_services__percent_change_ VARCHAR)\n\n ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) Question: What is the current account balance for a GDP at ...
Here is the SQLite query to answer the question about the current account balance for a GDP at current prices of 142.640: ``` SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "142.640" ```
8,514
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)\n\n Question: What ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30133_1 (gdp_at_constant_prices__thb_trillions_ VARCHAR, current_account_balance__percent_of_gdp_ VARCHAR) Question: What is the GDP at constant prices for a curren...
Here is the SQLite query to answer the question regarding the GDP at constant prices for a current account balance of 12.8: ```sql SELECT gdp_at_constant_prices__thb_trillions_ FROM table_30133_1 WHERE current_account_balance__percent_of_gdp_ = "12.8" ```
8,515
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_30133_1 (gdp_at_constant_prices__thb_trillions_ VARCHAR, current_account_balance__percent_of_gdp_ 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_87 (games VARCHAR, years VARCHAR, total VARCHAR, sport VARCHAR) Question: Tell me the games for total less than 4 for swimming 1968 Here is the SQLite query t...
Here is the SQLite query to answer the question about games with a total less than 4 for swimming in 1968: ``` SELECT games FROM table_name_87 WHERE total < 4 AND sport = "swimming" AND years = "1968" ```
8,516
[ { "from": "human", "value": " 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 (games VARCHAR, years VARCHAR, total VARCHAR, sport VARCHAR)\n\n Question: Tell me the games for total less than 4 f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (bronze VARCHAR, total VARCHAR, silver VARCHAR, sport VARCHAR) Question: Tell me the total number of bronze for silver being 0 and sport of wrestling and to...
Here is the corrected SQLite query to answer the question about the total number of bronze for silver being 0, in the sport of wrestling, and where the total is more than 3: ``` SELECT COUNT(bronze) FROM table_name_16 WHERE silver = '0' AND sport = 'wrestling' AND total > '3'; ``` Note: In the query, `silver` and `to...
8,517
[ { "from": "human", "value": " 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 (bronze VARCHAR, total VARCHAR, silver VARCHAR, sport VARCHAR)\n\n Question: Tell me the total number of bronze for ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR) Question: Tell me the lowest Bronze for gold of 3 in the winter for cross-count...
Here is the corrected SQLite query based on your requirements: ```sql SELECT MIN(bronze) FROM table_name_56 WHERE gold = '3' AND games = 'winter' AND sport = 'cross-country skiing' AND silver < '0'; ``` Note: In SQLite, strings (like the contents of a VARCHAR column) need to be enclosed in quotes, so ensure that `g...
8,518
[ { "from": "human", "value": " 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 (bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR)\n\n Question: Tell me the lowest Bronze...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (round INTEGER, overall VARCHAR, position VARCHAR) Question: What is the lowest round for an offensive guard when the overall is smaller than 150? Here is ...
Your SQLite query is correctly structured to find the lowest round for an offensive guard with an overall value smaller than 150. Here is the query wrapped in code formatting: ``` SELECT MIN(round) FROM table_name_59 WHERE overall < 150 AND position = "offensive guard"; ```
8,519
[ { "from": "human", "value": " 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 (round INTEGER, overall VARCHAR, position VARCHAR)\n\n Question: What is the lowest round for an offensive guard whe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (college VARCHAR, round VARCHAR) Question: Which college was the player selected from in round 1? Here is the SQLite query to answer to the question: Which...
The SQLite query you've provided has a slight issue because it is missing quotes around the round value, as it should be treated as a string. Here is the corrected version of the query: ``` SELECT college FROM table_name_43 WHERE round = '1' ``` This query will select the college from `table_name_43` where the `round...
8,520
[ { "from": "human", "value": " 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 (college VARCHAR, round VARCHAR)\n\n Question: Which college was the player selected from in round 1?\n\nHere is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (district_attorney VARCHAR, position VARCHAR) Question: Tell me the DA for bureau chief ada Here is the SQLite query to answer to the question: Tell me the...
Here is the SQLite query to answer the question "Tell me the DA for bureau chief ada": ``` SELECT district_attorney FROM table_name_22 WHERE position = "bureau chief ada" ```
8,521
[ { "from": "human", "value": " 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 (district_attorney VARCHAR, position VARCHAR)\n\n Question: Tell me the DA for bureau chief ada\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_83 (left_office VARCHAR, minister VARCHAR) Question: Tell me the left office for enrico la loggia Here is the SQLite query to answer to the question: Tell me ...
Here is the SQLite query to answer the question: ``` SELECT left_office FROM table_name_83 WHERE minister = "enrico la loggia" ```
8,522
[ { "from": "human", "value": " 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 (left_office VARCHAR, minister VARCHAR)\n\n Question: Tell me the left office for enrico la loggia\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_77 (portfolio VARCHAR, minister VARCHAR) Question: Tell me the portfolio of minister of carlo giovanardi Here is the SQLite query to answer to the question: T...
Here is the SQLite query to answer the question regarding the portfolio of minister Carlo Giovanardi: ``` SELECT portfolio FROM table_name_77 WHERE minister = "carlo giovanardi" ```
8,523
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (portfolio VARCHAR, minister VARCHAR)\n\n Question: Tell me the portfolio of minister of carlo giovanardi\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_20 (left_office VARCHAR, minister VARCHAR) Question: Tell me the left office for mirko tremaglia Here is the SQLite query to answer to the question: Tell me t...
Here is the SQLite query to answer the question regarding the left office for Mirko Tremaglia: ``` SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia" ```
8,524
[ { "from": "human", "value": " 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 (left_office VARCHAR, minister VARCHAR)\n\n Question: Tell me the left office for mirko tremaglia\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_58 (school_club_team VARCHAR, position VARCHAR, player VARCHAR) Question: What School/Club Team has a Player named Juan Dixon and a Position of guard? Here is...
Here's the SQLite query to find the School/Club Team with a Player named Juan Dixon and a Position of guard: ``` SELECT school_club_team FROM table_name_58 WHERE position = "guard" AND player = "Juan Dixon"; ```
8,525
[ { "from": "human", "value": " 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 (school_club_team VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: What School/Club Team has a Player named ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR) Question: Which Player's Position is guard and played in Toronto during the Years 2007-08? Her...
Here is the SQLite query you can use to find the player's name whose position is guard and played in Toronto during the years 2007-08: ``` SELECT player FROM table_name_16 WHERE position = "guard" AND years_in_toronto = "2007-08" ```
8,526
[ { "from": "human", "value": " 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 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR)\n\n Question: Which Player's Position is guard and play...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR) Question: What Player is from Argentina and whose position is a guard-forward? Here is the SQLite qu...
Here is the SQLite query to answer the question regarding which player is from Argentina and whose position is a guard-forward: ``` SELECT player FROM table_name_9 WHERE position = "guard-forward" AND nationality = "argentina"; ```
8,527
[ { "from": "human", "value": " 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 (player VARCHAR, position VARCHAR, nationality VARCHAR)\n\n Question: What Player is from Argentina and whose positio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (school_club_team VARCHAR, years_in_toronto VARCHAR) Question: What School/Club Team played in Toronto during 2012? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question about what School/Club Team played in Toronto during 2012: ``` SELECT school_club_team FROM table_name_43 WHERE years_in_toronto = "2012" ```
8,528
[ { "from": "human", "value": " 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 (school_club_team VARCHAR, years_in_toronto VARCHAR)\n\n Question: What School/Club Team played in Toronto during 20...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (result VARCHAR, event VARCHAR) Question: What was the result of the syracuse grand prix? Here is the SQLite query to answer to the question: What was the ...
Here is the SQLite query to answer the question about the result of the Syracuse Grand Prix: ``` SELECT result FROM table_name_80 WHERE event = "syracuse grand prix"; ```
8,529
[ { "from": "human", "value": " 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 (result VARCHAR, event VARCHAR)\n\n Question: What was the result of the syracuse grand prix?\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_25 (year INTEGER, result VARCHAR, venue VARCHAR) Question: What year has a result of 3 in the venue of Jarama. Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question about what year has a result of 3 in the venue of Jarama: ``` SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "Jarama"; ```
8,530
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR)\n\n Question: What year has a result of 3 in the venue of Jarama.\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_97 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR) Question: Tell me the highest opponents for record of 7-3 and vikings points more than 7 Here i...
Here is the SQLite query to answer the question about the highest opponents for a record of 7-3 and vikings points more than 7: ```sql SELECT MAX(opponents) FROM table_name_97 WHERE record = "7-3" AND vikings_points > 7 ```
8,531
[ { "from": "human", "value": " 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 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR)\n\n Question: Tell me the highest opponents for record o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (attendance INTEGER, game INTEGER) Question: Tell me the most attendance for game less than 1 Here is the SQLite query to answer to the question: Tell me t...
Your SQLite query is correctly constructed to find the maximum attendance for games where the game identifier is less than 1. Here it is wrapped in the code block format: ``` SELECT MAX(attendance) FROM table_name_15 WHERE game < 1; ```
8,532
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (attendance INTEGER, game INTEGER)\n\n Question: Tell me the most attendance for game less than 1\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_58 (surface VARCHAR, date VARCHAR) Question: Tell me the surface of 2 december 1974 Here is the SQLite query to answer to the question: Tell me the surface of...
Here is the SQLite query to answer the question: Tell me the surface of 2 December 1974: ```sql SELECT surface FROM table_name_58 WHERE date = "2 december 1974"; ```
8,533
[ { "from": "human", "value": " 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 (surface VARCHAR, date VARCHAR)\n\n Question: Tell me the surface of 2 december 1974\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_57 (score_in_the_final VARCHAR, location VARCHAR, date VARCHAR) Question: Name the score for moscow, ussr 15 february 1971 Here is the SQLite query to answer ...
Here is the SQLite query to answer the question: ``` SELECT score_in_the_final FROM table_name_57 WHERE location = "moscow, ussr" AND date = "15 february 1971" ```
8,534
[ { "from": "human", "value": " 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 (score_in_the_final VARCHAR, location VARCHAR, date VARCHAR)\n\n Question: Name the score for moscow, ussr 15 februa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (year INTEGER, position VARCHAR) Question: Name the lowest year for 12th position Here is the SQLite query to answer to the question: Name the lowest year f...
Here is the SQLite query to answer the question of naming the lowest year for the 12th position: ``` SELECT MIN(year) FROM table_name_4 WHERE position = "12th"; ```
8,535
[ { "from": "human", "value": " 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 (year INTEGER, position VARCHAR)\n\n Question: Name the lowest year for 12th position\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_70 (competition VARCHAR, notes VARCHAR) Question: Tell me the competition for half marathon Here is the SQLite query to answer to the question: Tell me the co...
Here is the SQLite query to answer the question: Tell me the competition for half marathon: ``` SELECT competition FROM table_name_70 WHERE notes = "half marathon" ```
8,536
[ { "from": "human", "value": " 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 (competition VARCHAR, notes VARCHAR)\n\n Question: Tell me the competition for half marathon\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_75 (category VARCHAR, director VARCHAR) Question: Tell me the category of na director Here is the SQLite query to answer to the question: Tell me the category...
Here is the SQLite query to answer the question: Tell me the category of a director: ``` SELECT category FROM table_name_75 WHERE director = "na"; ```
8,537
[ { "from": "human", "value": " 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 (category VARCHAR, director VARCHAR)\n\n Question: Tell me the category of na director\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_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR) Question: I want to know the highest heat rank for overall rank of t63 and time less than 25.47 Her...
Here is the SQLite query to answer your question: ``` SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.47; ```
8,538
[ { "from": "human", "value": " 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 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR)\n\n Question: I want to know the highest heat rank for overa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (country VARCHAR, lane VARCHAR) Question: Tell me the country for lane of 6 Here is the SQLite query to answer to the question: Tell me the country for lan...
Here is the SQLite query to answer the question "Tell me the country for lane of 6": ``` SELECT country FROM table_name_66 WHERE lane = '6' ``` Note: Since lane is defined as a VARCHAR, '6' should be enclosed in single quotes.
8,539
[ { "from": "human", "value": " 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 (country VARCHAR, lane VARCHAR)\n\n Question: Tell me the country for lane of 6\n\nHere is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (overall_rank VARCHAR, heat_rank VARCHAR) Question: Tell me the overall rank for heat rank of 8 Here is the SQLite query to answer to the question: Tell me...
Here is the SQLite query to answer the question: Tell me the overall rank for heat rank of 8: ``` SELECT overall_rank FROM table_name_60 WHERE heat_rank = '8' ``` (Note: The heat_rank value is compared as a string, assuming that the data type is VARCHAR.)
8,540
[ { "from": "human", "value": " 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 (overall_rank VARCHAR, heat_rank VARCHAR)\n\n Question: Tell me the overall rank for heat rank of 8\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_8 (position VARCHAR, player VARCHAR) Question: Tell me the position of chris clark Here is the SQLite query to answer to the question: Tell me the position of...
Here is the SQLite query to answer the question about the position of chris clark: ``` SELECT position FROM table_name_8 WHERE player = "chris clark" ```
8,541
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (position VARCHAR, player VARCHAR)\n\n Question: Tell me the position of chris clark\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_75 (nhl_team VARCHAR, pick VARCHAR) Question: Tell me the nhl team for 74 Here is the SQLite query to answer to the question: Tell me the nhl team for 74: ```...
Here is the SQLite query to answer the question: Tell me the nhl team for 74: ```sql SELECT nhl_team FROM table_name_75 WHERE pick = "74"; ```
8,542
[ { "from": "human", "value": " 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 (nhl_team VARCHAR, pick VARCHAR)\n\n Question: Tell me the nhl team for 74\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_74 (pick VARCHAR, position VARCHAR, nationality VARCHAR) Question: Tell me the pick for canada centre Here is the SQLite query to answer to the question: Tell...
Here is the SQLite query to answer the question: Tell me the pick for canada centre: ``` SELECT pick FROM table_name_74 WHERE position = "centre" AND nationality = "canada"; ```
8,543
[ { "from": "human", "value": " 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 (pick VARCHAR, position VARCHAR, nationality VARCHAR)\n\n Question: Tell me the pick for canada centre\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, region VARCHAR) Question: Tell me the format for geffen of the united states Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question regarding the format for geffen of the united states: ``` SELECT format FROM table_name_3 WHERE label = "geffen" AND region = "united states" ```
8,544
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, region VARCHAR)\n\n Question: Tell me the format for geffen of the united states\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_67 (format VARCHAR, region VARCHAR, date VARCHAR) Question: Tell me the format for worldwide region july 22, 2008 Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question "Tell me the format for worldwide region July 22, 2008": ``` SELECT format FROM table_name_67 WHERE region = 'worldwide' AND date = 'july 22, 2008'; ```
8,545
[ { "from": "human", "value": " 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 (format VARCHAR, region VARCHAR, date VARCHAR)\n\n Question: Tell me the format for worldwide region july 22, 2008\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (label VARCHAR, format VARCHAR, edition_s_ VARCHAR) Question: Tell me the label for digital download for bonus tracks version Here is the SQLite query to a...
Here is the SQLite query to answer the question about the label for digital download for the bonus tracks version: ``` SELECT label FROM table_name_39 WHERE format = "digital download" AND edition_s_ = "bonus tracks version" ```
8,546
[ { "from": "human", "value": " 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 (label VARCHAR, format VARCHAR, edition_s_ VARCHAR)\n\n Question: Tell me the label for digital download for bonus t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (team VARCHAR, rank VARCHAR) Question: Which team has a rank of 6? Here is the SQLite query to answer to the question: Which team has a rank of 6?: ``` SEL...
Here is the corrected SQLite query to answer the question about which team has a rank of 6: ``` SELECT team FROM table_name_43 WHERE rank = '6'; ``` Note that the rank is defined as VARCHAR in the schema, so the value should be compared as a string.
8,547
[ { "from": "human", "value": " 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 (team VARCHAR, rank VARCHAR)\n\n Question: Which team has a rank of 6?\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_94 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR) Question: Name the horsepower for VIN code of h and engine for 351-2v cleveland v8 Here is the SQLit...
Here is the SQLite query that answers your question: ```sql SELECT horsepower FROM table_name_94 WHERE vin_code = 'h' AND engine = '351-2v cleveland v8'; ```
8,548
[ { "from": "human", "value": " 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 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR)\n\n Question: Name the horsepower for VIN code of h and engin...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR) Question: Name the horsepwer for compression ratio of 9.00:1 and carbure...
Here is the SQLite query to answer the question regarding the horsepower for a compression ratio of 9.00:1, carburetor of 2-barrel, and engine 302-2v windsor v8: ``` SELECT horsepower FROM table_name_19 WHERE compression_ratio = "9.00:1" AND carburetor = "2-barrel" AND engine = "302-2v windsor v8" ```
8,549
[ { "from": "human", "value": " 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 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR)\n\n Question: Name the horsepwer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (vin_code VARCHAR, compression_ratio VARCHAR) Question: Tell me the VIN code for compression ratio of 10.50:1 Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question: ``` SELECT vin_code FROM table_name_7 WHERE compression_ratio = "10.50:1" ```
8,550
[ { "from": "human", "value": " 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 (vin_code VARCHAR, compression_ratio VARCHAR)\n\n Question: Tell me the VIN code for compression ratio of 10.50:1\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_80 (network VARCHAR, premiere VARCHAR) Question: Tell me the network for 13 january 2009 Here is the SQLite query to answer to the question: Tell me the netwo...
Here is the SQLite query to answer the question: Tell me the network for 13 January 2009: ``` SELECT network FROM table_name_80 WHERE premiere = "13 january 2009" ```
8,551
[ { "from": "human", "value": " 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 (network VARCHAR, premiere VARCHAR)\n\n Question: Tell me the network for 13 january 2009\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_53 (prize VARCHAR, country_region VARCHAR) Question: Tell me the prize for belgium Here is the SQLite query to answer to the question: Tell me the prize for b...
Here is the SQLite query to answer the question about the prize for Belgium: ``` SELECT prize FROM table_name_53 WHERE country_region = "belgium"; ```
8,552
[ { "from": "human", "value": " 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 (prize VARCHAR, country_region VARCHAR)\n\n Question: Tell me the prize for belgium\n\nHere is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (host VARCHAR, premiere VARCHAR) Question: Tell me the 13 january 2009 host Here is the SQLite query to answer to the question: Tell me the 13 january 2009...
Here is the SQLite query to answer the question: Tell me the 13 January 2009 host: ``` SELECT host FROM table_name_19 WHERE premiere = "13 january 2009"; ```
8,553
[ { "from": "human", "value": " 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 (host VARCHAR, premiere VARCHAR)\n\n Question: Tell me the 13 january 2009 host\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_6 (host VARCHAR, network VARCHAR) Question: Tell me the host for rtl-tvi Here is the SQLite query to answer to the question: Tell me the host for rtl-tvi: ```...
Here is the SQLite query to answer the question: ``` SELECT host FROM table_name_6 WHERE network = "rtl-tvi"; ```
8,554
[ { "from": "human", "value": " 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 (host VARCHAR, network VARCHAR)\n\n Question: Tell me the host for rtl-tvi\n\nHere is the SQLite query to answer to t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (meet VARCHAR, time VARCHAR) Question: I want to meet that has a time 2:15.93 Here is the SQLite query to answer to the question: I want to meet that has a...
Here is the SQLite query to answer the question about meeting at the time 2:15.93: ``` SELECT meet FROM table_name_92 WHERE time = "2:15.93"; ```
8,555
[ { "from": "human", "value": " 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 (meet VARCHAR, time VARCHAR)\n\n Question: I want to meet that has a time 2:15.93\n\nHere is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (location VARCHAR, nationality VARCHAR, date VARCHAR) Question: Tell me the location of lithuania 12 october 2013 Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question: Tell me the location of lithuania 12 october 2013: ``` SELECT location FROM table_name_86 WHERE nationality = "lithuania" AND date = "12 october 2013" ```
8,556
[ { "from": "human", "value": " 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 (location VARCHAR, nationality VARCHAR, date VARCHAR)\n\n Question: Tell me the location of lithuania 12 october 201...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (title_of_work VARCHAR, year INTEGER) Question: Tell me the title of work for year more than 2009 Here is the SQLite query to answer to the question: Tell ...
Here is the SQLite query to answer the question about titles of work for years more than 2009: ``` SELECT title_of_work FROM table_name_17 WHERE year > 2009 ```
8,557
[ { "from": "human", "value": " 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 (title_of_work VARCHAR, year INTEGER)\n\n Question: Tell me the title of work for year more than 2009\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_48 (date VARCHAR, result VARCHAR, score VARCHAR) Question: When was there a Result of 8–0 and a Score of 1–0? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question: When was there a Result of 8–0 and a Score of 1–0?: ``` SELECT date FROM table_name_48 WHERE result = "8–0" AND score = "1–0" ```
8,558
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR)\n\n Question: When was there a Result of 8–0 and a Score of 1–0?\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_33 (result VARCHAR, venue VARCHAR) Question: What was the result of Bridgeview, Illinois? Here is the SQLite query to answer to the question: What was the res...
Here is the SQLite query to answer the question regarding the result of Bridgeview, Illinois: ``` SELECT result FROM table_name_33 WHERE venue = "Bridgeview, Illinois"; ```
8,559
[ { "from": "human", "value": " 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 (result VARCHAR, venue VARCHAR)\n\n Question: What was the result of Bridgeview, Illinois?\n\nHere is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR) Question: When did a Competition of friendly, and a Score of 2–1, and a Venue of philadelph...
Here is the SQLite query to answer the question regarding when a Competition of "friendly", a Score of "2–1", and a Venue of "philadelphia, pennsylvania" occurred: ``` SELECT date FROM table_name_4 WHERE competition = "friendly" AND score = "2–1" AND venue = "philadelphia, pennsylvania"; ```
8,560
[ { "from": "human", "value": " 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 VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR)\n\n Question: When did a Competition of friendly, a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (score VARCHAR, date VARCHAR) Question: What was the score on June 28, 2009? Here is the SQLite query to answer to the question: What was the score on June...
Here is the SQLite query to answer the question: What was the score on June 28, 2009?: ```sql SELECT score FROM table_name_56 WHERE date = "June 28, 2009"; ```
8,561
[ { "from": "human", "value": " 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, date VARCHAR)\n\n Question: What was the score on June 28, 2009?\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_67 (nationality VARCHAR, pick VARCHAR) Question: Tell me the nationality of pick 140 Here is the SQLite query to answer to the question: Tell me the nationali...
Here is the SQLite query to answer the question: Tell me the nationality of pick 140: ``` SELECT nationality FROM table_name_67 WHERE pick = "140" ```
8,562
[ { "from": "human", "value": " 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 (nationality VARCHAR, pick VARCHAR)\n\n Question: Tell me the nationality of pick 140\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 (position VARCHAR, pick VARCHAR) Question: Tell me the position for pick of 146 Here is the SQLite query to answer to the question: Tell me the position for...
Here is the SQLite query to answer the question about the position for pick of 146: ``` SELECT position FROM table_name_7 WHERE pick = "146" ```
8,563
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR)\n\n Question: Tell me the position for pick of 146\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_53 (nhl_team VARCHAR, player VARCHAR) Question: Tell me the NHL team for mike gaffney Here is the SQLite query to answer to the question: Tell me the NHL team...
Here is the SQLite query to answer the question about the NHL team for Mike Gaffney: ``` SELECT nhl_team FROM table_name_53 WHERE player = "mike gaffney" ```
8,564
[ { "from": "human", "value": " 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 (nhl_team VARCHAR, player VARCHAR)\n\n Question: Tell me the NHL team for mike gaffney\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_85 (nationality VARCHAR, pick VARCHAR) Question: Tell me the nationality of pick of 153 Here is the SQLite query to answer to the question: Tell me the nation...
Here is the SQLite query to answer the question: Tell me the nationality of pick of 153: ``` SELECT nationality FROM table_name_85 WHERE pick = '153'; ```
8,565
[ { "from": "human", "value": " 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 (nationality VARCHAR, pick VARCHAR)\n\n Question: Tell me the nationality of pick of 153\n\nHere is the SQLite query...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (player VARCHAR, pick VARCHAR) Question: Tell me the player for pick of 145 Here is the SQLite query to answer to the question: Tell me the player for pick ...
Here is the SQLite query to answer the question: Tell me the player for pick of 145: ``` SELECT player FROM table_name_9 WHERE pick = '145'; ```
8,566
[ { "from": "human", "value": " 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 (player VARCHAR, pick VARCHAR)\n\n Question: Tell me the player for pick of 145\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_23 (tournament VARCHAR, date VARCHAR) Question: What tournament took place on October 11, 2013? Here is the SQLite query to answer to the question: What tourn...
Your SQLite query is almost correct, but it could benefit from a slight adjustment for case sensitivity and format consistency. Here's the corrected version wrapped in the appropriate markdown format: ``` SELECT tournament FROM table_name_23 WHERE date = 'October 11, 2013'; ``` Make sure the date format matches exac...
8,567
[ { "from": "human", "value": " 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 (tournament VARCHAR, date VARCHAR)\n\n Question: What tournament took place on October 11, 2013?\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 (tournament VARCHAR, date VARCHAR) Question: Which tournament took place on June 18, 2013? Here is the SQLite query to answer to the question: Which tourna...
Here's the SQLite query to answer the question of which tournament took place on June 18, 2013: ``` SELECT tournament FROM table_name_94 WHERE date = "June 18, 2013"; ```
8,568
[ { "from": "human", "value": " 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 (tournament VARCHAR, date VARCHAR)\n\n Question: Which tournament took place on June 18, 2013?\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_94 (week INTEGER, date VARCHAR, attendance VARCHAR) Question: What is the average week on November 7, 1976 with an attendance less than 46,735? Here is the SQ...
The provided SQL query has a syntax issue, particularly with the condition for attendance. The condition should compare the attendance values as integers rather than as strings. Here’s the corrected SQLite query: ``` SELECT AVG(week) FROM table_name_94 WHERE date = "November 7, 1976" AND CAST(attendance AS INTEGER) <...
8,569
[ { "from": "human", "value": " 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 (week INTEGER, date VARCHAR, attendance VARCHAR)\n\n Question: What is the average week on November 7, 1976 with an ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR) Question: Who is the opponent for week 5? Here is the SQLite query to answer to the question: Who is the opponent for week...
Here is the SQLite query to answer the question: Who is the opponent for week 5?: ``` SELECT opponent FROM table_name_96 WHERE week = '5' ```
8,570
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR)\n\n Question: Who is the opponent for week 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_68 (overall_rank INTEGER, heat_rank VARCHAR, lane VARCHAR) Question: Tell me the highest overall rank for heat rank more than 4 and lane less than 2 Here is t...
Here is the SQLite query to answer the question: Tell me the highest overall rank for heat rank more than 4 and lane less than 2: ``` SELECT MAX(overall_rank) FROM table_name_68 WHERE heat_rank > 4 AND lane < 2 ```
8,571
[ { "from": "human", "value": " 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 (overall_rank INTEGER, heat_rank VARCHAR, lane VARCHAR)\n\n Question: Tell me the highest overall rank for heat rank...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (partner VARCHAR, outcome VARCHAR, date VARCHAR) Question: Who is the partner with a runner-up outcome on April 6, 1992? Here is the SQLite query to answer...
Here is the SQLite query to answer the question: Who is the partner with a runner-up outcome on April 6, 1992?: ``` SELECT partner FROM table_name_26 WHERE outcome = "runner-up" AND date = "April 6, 1992"; ```
8,572
[ { "from": "human", "value": " 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 (partner VARCHAR, outcome VARCHAR, date VARCHAR)\n\n Question: Who is the partner with a runner-up outcome on April ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (outcome VARCHAR, surface VARCHAR, score VARCHAR) Question: What outcome occurs on a hard surface with a score of 4–6, 6–7(3)? Here is the SQLite query to a...
Here is the SQLite query to answer the question about the outcome that occurs on a hard surface with the specified score: ```sql SELECT outcome FROM table_name_3 WHERE surface = "hard" AND score = "4–6, 6–7(3)" ```
8,573
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (outcome VARCHAR, surface VARCHAR, score VARCHAR)\n\n Question: What outcome occurs on a hard surface with a score of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (date VARCHAR, partner VARCHAR, score VARCHAR) Question: On what date did Lori McNeil play as a partner with a score of 6–7(6), 5–7? Here is the SQLite que...
Here is the SQLite query to answer the question regarding the date Lori McNeil played as a partner with the specified score: ``` SELECT date FROM table_name_84 WHERE partner = "Lori McNeil" AND score = "6–7(6), 5–7"; ```
8,574
[ { "from": "human", "value": " 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 (date VARCHAR, partner VARCHAR, score VARCHAR)\n\n Question: On what date did Lori McNeil play as a partner with a s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (losses INTEGER, year VARCHAR, finish VARCHAR, percentage VARCHAR, wins VARCHAR) Question: What is the most losses that the Royals had when they had a perce...
Here is the SQLite query to answer the question based on the provided schema: ``` SELECT MAX(losses) FROM table_name_62 WHERE percentage > '0.461' AND wins > '86' AND finish = '2nd' AND year = '1953'; ```
8,575
[ { "from": "human", "value": " 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 (losses INTEGER, year VARCHAR, finish VARCHAR, percentage VARCHAR, wins VARCHAR)\n\n Question: What is the most loss...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (opponent VARCHAR, tournament VARCHAR, score VARCHAR) Question: Tell the opponent of eastbourne with score of 6–0, 5–7, 3–6 Here is the SQLite query to ans...
Here is the SQLite query to answer the question about the opponent of Eastbourne with the specified score: ``` SELECT opponent FROM table_name_59 WHERE tournament = 'eastbourne' AND score = '6–0, 5–7, 3–6'; ```
8,576
[ { "from": "human", "value": " 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 (opponent VARCHAR, tournament VARCHAR, score VARCHAR)\n\n Question: Tell the opponent of eastbourne with score of 6–...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (outcome VARCHAR, score VARCHAR) Question: Tell me the outcome of 2–6, 1–6 Here is the SQLite query to answer to the question: Tell me the outcome of 2–6, ...
Here is the SQLite query to answer the question about the outcome of 2–6, 1–6: ``` SELECT outcome FROM table_name_40 WHERE score IN ("2–6", "1–6"); ```
8,577
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (outcome VARCHAR, score VARCHAR)\n\n Question: Tell me the outcome of 2–6, 1–6\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_6 (surface VARCHAR, tournament VARCHAR, date VARCHAR) Question: Tell me the surface for eastbourne 14 june 1999 Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about the surface for Eastbourne on 14 June 1999: ```sql SELECT surface FROM table_name_6 WHERE tournament = "eastbourne" AND date = "14 june 1999"; ```
8,578
[ { "from": "human", "value": " 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 (surface VARCHAR, tournament VARCHAR, date VARCHAR)\n\n Question: Tell me the surface for eastbourne 14 june 1999\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_77 (category VARCHAR, result VARCHAR, year VARCHAR) Question: Tell me the category for result of won and year more than 2009 Here is the SQLite query to answe...
Here is the SQLite query to answer the question about the category for results of "won" and years more than 2009: ``` SELECT category FROM table_name_77 WHERE result = 'won' AND year > '2009' ```
8,579
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (category VARCHAR, result VARCHAR, year VARCHAR)\n\n Question: Tell me the category for result of won and year more ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (nominated_work VARCHAR, year INTEGER) Question: Tell me the nominated work larger than 2011 Here is the SQLite query to answer to the question: Tell me th...
Here is the SQLite query to answer the question "Tell me the nominated work larger than 2011": ``` SELECT nominated_work FROM table_name_54 WHERE year > 2011 ```
8,580
[ { "from": "human", "value": " 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 (nominated_work VARCHAR, year INTEGER)\n\n Question: Tell me the nominated work larger than 2011\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 (result VARCHAR, association VARCHAR) Question: Tell me the result for primetime emmy awards Here is the SQLite query to answer to the question: Tell me th...
Here is the SQLite query to answer the question regarding the result for primetime emmy awards: ``` SELECT result FROM table_name_94 WHERE association = "primetime emmy awards"; ```
8,581
[ { "from": "human", "value": " 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 (result VARCHAR, association VARCHAR)\n\n Question: Tell me the result for primetime emmy awards\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_31 (competition VARCHAR, date VARCHAR) Question: What competition was held 1 March 1909? Here is the SQLite query to answer to the question: What competition ...
Here is the SQLite query to answer the question about what competition was held on 1 March 1909: ``` SELECT competition FROM table_name_31 WHERE date = "1 March 1909"; ```
8,582
[ { "from": "human", "value": " 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 (competition VARCHAR, date VARCHAR)\n\n Question: What competition was held 1 March 1909?\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_62 (gold VARCHAR, total INTEGER) Question: Tell me the total number of gold for total less than 1 Here is the SQLite query to answer to the question: Tell me ...
Here is the SQLite query to answer the question: ``` SELECT COUNT(gold) FROM table_name_62 WHERE total < 1 ```
8,583
[ { "from": "human", "value": " 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 (gold VARCHAR, total INTEGER)\n\n Question: Tell me the total number of gold for total less than 1\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_30 (model VARCHAR, total_production VARCHAR) Question: Tell me the model for total production of 1347 Here is the SQLite query to answer to the question: Tell...
Here is the SQLite query to answer your question: ``` SELECT model FROM table_name_30 WHERE total_production = '1347' ```
8,584
[ { "from": "human", "value": " 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 (model VARCHAR, total_production VARCHAR)\n\n Question: Tell me the model for total production of 1347\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (gold INTEGER, nation VARCHAR, silver VARCHAR) Question: What is the total amount of Gold from guatemala and silver smaller than 0? Here is the SQLite quer...
Here is the SQLite query to answer the question regarding the total amount of Gold from Guatemala where silver is smaller than 0: ``` SELECT SUM(gold) FROM table_name_88 WHERE nation = "guatemala" AND silver < 0 ```
8,585
[ { "from": "human", "value": " 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 (gold INTEGER, nation VARCHAR, silver VARCHAR)\n\n Question: What is the total amount of Gold from guatemala and sil...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (event VARCHAR, games VARCHAR) Question: Tell me the event for 2012 london games Here is the SQLite query to answer to the question: Tell me the event for ...
Here is the SQLite query to answer the question about the event for the 2012 London games: ``` SELECT event FROM table_name_70 WHERE games = "2012 london games"; ```
8,586
[ { "from": "human", "value": " 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 (event VARCHAR, games VARCHAR)\n\n Question: Tell me the event for 2012 london games\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 (games VARCHAR, event VARCHAR) Question: Tell me the games for men's 5000 metres Here is the SQLite query to answer to the question: Tell me the games for ...
Here is the SQLite query to answer the question regarding the games for men's 5000 metres: ``` SELECT games FROM table_name_18 WHERE event = "men's 5000 metres"; ```
8,587
[ { "from": "human", "value": " 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 (games VARCHAR, event VARCHAR)\n\n Question: Tell me the games for men's 5000 metres\n\nHere is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR) Question: When did the w 20-19 happen? Here is the SQLite query to answer to the question: When did the w 20-19 happen?: ```...
Here is the SQLite query to answer the question "When did the w 20-19 happen?": ``` SELECT date FROM table_name_72 WHERE result = "w 20-19" ```
8,588
[ { "from": "human", "value": " 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, result VARCHAR)\n\n Question: When did the w 20-19 happen?\n\nHere is the SQLite query to answer to t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (attendance VARCHAR, result VARCHAR) Question: What was the attendance of the w 28-13 game? Here is the SQLite query to answer to the question: What was th...
Here is the SQLite query to answer the question regarding the attendance of the w 28-13 game: ``` SELECT attendance FROM table_name_61 WHERE result = "w 28-13"; ```
8,589
[ { "from": "human", "value": " 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 (attendance VARCHAR, result VARCHAR)\n\n Question: What was the attendance of the w 28-13 game?\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_91 (voting_turnout VARCHAR, general_elections VARCHAR) Question: Tell me the voting turnout for 1985 general elections Here is the SQLite query to answer to t...
Here is the correct SQLite query to retrieve the voting turnout for the 1985 general elections, wrapped in code formatting: ``` SELECT voting_turnout FROM table_name_91 WHERE general_elections = '1985' ```
8,590
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (voting_turnout VARCHAR, general_elections VARCHAR)\n\n Question: Tell me the voting turnout for 1985 general electi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (total INTEGER, nation VARCHAR) Question: What is total number of wins for England? Here is the SQLite query to answer to the question: What is total numbe...
Here is the SQLite query to answer the question regarding the total number of wins for England: ``` SELECT SUM(total) FROM table_name_59 WHERE nation = "England"; ```
8,591
[ { "from": "human", "value": " 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 (total INTEGER, nation VARCHAR)\n\n Question: What is total number of wins for England?\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_44 (bronze VARCHAR, nation VARCHAR, silver VARCHAR) Question: The Soviet Union has won more than 2 Silver, but how many Bronzes? Here is the SQLite query to a...
Here's the corrected SQLite query to answer the question about the number of Bronzes the Soviet Union has won, given that it has more than 2 Silvers: ```sql SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "soviet union" AND (silver IS NOT NULL AND silver != '') GROUP BY nation HAVING COUNT(silver) > 2; ``` ...
8,592
[ { "from": "human", "value": " 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 (bronze VARCHAR, nation VARCHAR, silver VARCHAR)\n\n Question: The Soviet Union has won more than 2 Silver, but how ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR) Question: Which Alliance Constituency has Seamus Close, positio...
Here is the SQLite query to answer the question: ``` SELECT constituency FROM table_name_41 WHERE party = "alliance" AND election < 1997 AND position = "2" AND candidate = "seamus close"; ```
8,593
[ { "from": "human", "value": " 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 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR)\n\n Question: Which All...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR) Question: I want the average for evening gown of 7.52 and swimsuit larger than 7.78 Here is the S...
Here is the correct SQLite query to answer the question regarding the average for evening gown of 7.52 and swimsuit larger than 7.78: ``` SELECT AVG(average) FROM table_name_54 WHERE evening_gown = '7.52' AND swimsuit > '7.78' ``` Please note that string comparisons for decimal values may be handled differently depen...
8,594
[ { "from": "human", "value": " 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 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR)\n\n Question: I want the average for evening gown of 7.52 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (interview INTEGER, state VARCHAR, swimsuit VARCHAR) Question: Tell me the lowest interview for oklahoma and swimsuit less than 8.8 Here is the SQLite quer...
Here is the SQLite query to answer the question: Tell me the lowest interview for oklahoma and swimsuit less than 8.8: ``` SELECT MIN(interview) FROM table_name_46 WHERE state = "oklahoma" AND swimsuit < 8.8 ```
8,595
[ { "from": "human", "value": " 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 (interview INTEGER, state VARCHAR, swimsuit VARCHAR)\n\n Question: Tell me the lowest interview for oklahoma and swi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR) Question: Tell me the sum of evening gown for average of 9.06 and swimsuit less than 8.76 Here is...
Here is the SQLite query to answer the question regarding the sum of evening gown for an average of 9.06 and a swimsuit less than 8.76: ``` SELECT SUM(evening_gown) FROM table_name_53 WHERE average = '9.06' AND swimsuit < '8.76' ```
8,596
[ { "from": "human", "value": " 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 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR)\n\n Question: Tell me the sum of evening gown for average ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (interview INTEGER, state VARCHAR, evening_gown VARCHAR) Question: Tell me the highest interview for north carolina and evening gown more than 7.68 Here is...
Here is the SQLite query to answer the question posed: ```sql SELECT MAX(interview) FROM table_name_19 WHERE state = "north carolina" AND evening_gown > 7.68 ```
8,597
[ { "from": "human", "value": " 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 (interview INTEGER, state VARCHAR, evening_gown VARCHAR)\n\n Question: Tell me the highest interview for north carol...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR) Question: Which NCAA Tournament Appearances have Conference T...
Your provided SQLite query is almost correct, but there are a couple of minor improvements and formatting suggestions. Generally, it's a good practice to use uppercase for SQL keywords for better readability. Additionally, string comparisons in SQL are case-sensitive, so if you want to ensure it matches regardless of c...
8,598
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR)\n\n Question: Which N...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (category VARCHAR, year VARCHAR, award VARCHAR) Question: Tell me the category for 2012 and drama league award Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question you provided: ``` SELECT category FROM table_name_92 WHERE year = '2012' AND award = 'drama league award'; ```
8,599
[ { "from": "human", "value": " 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 (category VARCHAR, year VARCHAR, award VARCHAR)\n\n Question: Tell me the category for 2012 and drama league award\n...