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_97 (city VARCHAR, year VARCHAR) Question: What city was in 1889? Here is the SQLite query to answer to the question: What city was in 1889?: ``` SELECT city F...
Here is the SQLite query to answer the question about which city was in 1889: ```sql SELECT city FROM table_name_97 WHERE year = '1889'; ```
48,600
[ { "from": "human", "value": " 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 (city VARCHAR, year VARCHAR)\n\n Question: What city was in 1889?\n\nHere is the SQLite query to answer to the quest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (score VARCHAR, city VARCHAR) Question: What is the score in Leicester? Here is the SQLite query to answer to the question: What is the score in Leicester?...
Here is the SQLite query to answer the question: What is the score in Leicester?: ``` SELECT score FROM table_name_42 WHERE city = "Leicester"; ```
48,601
[ { "from": "human", "value": " 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 (score VARCHAR, city VARCHAR)\n\n Question: What is the score in Leicester?\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_53 (year VARCHAR, score VARCHAR) Question: How many years has 1 run? Here is the SQLite query to answer to the question: How many years has 1 run?: ``` SELECT...
Your query to count how many years have a score of "1 run" is correct. Here it is wrapped in the appropriate format: ``` SELECT COUNT(year) FROM table_name_53 WHERE score = "1 run"; ```
48,602
[ { "from": "human", "value": " 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 (year VARCHAR, score VARCHAR)\n\n Question: How many years has 1 run?\n\nHere is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (year INTEGER, venue VARCHAR) Question: What year was in Aigburth? Here is the SQLite query to answer to the question: What year was in Aigburth?: ``` SELE...
Here is the SQLite query to answer the question: What year was in Aigburth?: ``` SELECT MAX(year) FROM table_name_26 WHERE venue = "Aigburth" ```
48,603
[ { "from": "human", "value": " 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 (year INTEGER, venue VARCHAR)\n\n Question: What year was in Aigburth?\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_63 (season__number INTEGER, format__number VARCHAR) Question: Which season has q145 as its format? Here is the SQLite query to answer to the question: Which s...
Here's the SQLite query to find which season has "q145" as its format: ``` SELECT season__number FROM table_name_63 WHERE format__number = "q145" ```
48,604
[ { "from": "human", "value": " 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 (season__number INTEGER, format__number VARCHAR)\n\n Question: Which season has q145 as its format?\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_26 (episode__number INTEGER, format__number VARCHAR) Question: What is the average episode number with q146 format? Here is the SQLite query to answer to the ...
Here's the SQLite query you need to find the average episode number with the format "q146": ``` SELECT AVG(episode__number) FROM table_name_26 WHERE format__number = 'q146'; ```
48,605
[ { "from": "human", "value": " 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 (episode__number INTEGER, format__number VARCHAR)\n\n Question: What is the average episode number with q146 format?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (opponent VARCHAR, game VARCHAR, record VARCHAR) Question: Who is the opponent of Game 1 with a 3-2-0 record? Here is the SQLite query to answer to the que...
The provided query seems to contain a mistake in the `WHERE` clause, specifically in the condition `game > 1`. To find the opponent for Game 1 with a specific record, you should match `game` exactly to '1' instead. Here is the correct SQLite query: ``` SELECT opponent FROM table_name_21 WHERE game = '1' AND record = '...
48,606
[ { "from": "human", "value": " 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 (opponent VARCHAR, game VARCHAR, record VARCHAR)\n\n Question: Who is the opponent of Game 1 with a 3-2-0 record?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (record VARCHAR, game VARCHAR) Question: What is game 9's record? Here is the SQLite query to answer to the question: What is game 9's record?: ``` SELECT ...
Here is the SQLite query to answer the question regarding game 9's record: ``` SELECT record FROM table_name_36 WHERE game = '9' ```
48,607
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (record VARCHAR, game VARCHAR)\n\n Question: What is game 9's record?\n\nHere is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR) Question: Who is the opponent of the team with a 1-1-0 record? Here is the SQLite query to answer to the question: Who i...
```sql SELECT opponent FROM table_name_53 WHERE record = "1-1-0"; ```
48,608
[ { "from": "human", "value": " 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 (opponent VARCHAR, record VARCHAR)\n\n Question: Who is the opponent of the team with a 1-1-0 record?\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_41 (date VARCHAR) Question: What is the 3rd Liga from 2010-11? Here is the SQLite query to answer to the question: What is the 3rd Liga from 2010-11?: ``` SEL...
It seems there might be a misunderstanding regarding the structure of the query based on the provided schema and question. The schema only contains a single VARCHAR column for dates, but the question refers to a specific league (3rd Liga) for a particular season (2010-11). To answer the question properly, additional ...
48,609
[ { "from": "human", "value": " 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 (date VARCHAR)\n\n Question: What is the 3rd Liga from 2010-11?\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_36 (game_1 VARCHAR, date VARCHAR) Question: What is the 3rd Liga from Game 1 of 0-1 between the years 2008-09? Here is the SQLite query to answer to the quest...
Based on the schema and the question provided, the following SQLite query should retrieve the requested information. However, note that the original question seems to ask for the "3rd Liga" but the query may lack clarity about what "3rd Liga" specifically refers to. Assuming it means simply retrieving a static value of...
48,610
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (game_1 VARCHAR, date VARCHAR)\n\n Question: What is the 3rd Liga from Game 1 of 0-1 between the years 2008-09?\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_12 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) Question: Which Score in the final has an Outcome of winner, and a Surface of hard (i)? Here...
Here is the SQLite query to answer the question regarding which score in the final has an outcome of winner and a surface of hard (i): ``` SELECT score_in_the_final FROM table_name_12 WHERE outcome = "winner" AND surface = "hard (i)" ```
48,611
[ { "from": "human", "value": " 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 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)\n\n Question: Which Score in the final has an Outcome...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR, date VARCHAR) Question: Which Surface has a Partner of jim thomas, and a Date of 2007? Here is the SQLite query to answe...
Here is the SQLite query to answer the question: Which Surface has a Partner of jim thomas, and a Date of 2007?: ``` SELECT surface FROM table_name_45 WHERE partner = "jim thomas" AND date = "2007"; ```
48,612
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR, date VARCHAR)\n\n Question: Which Surface has a Partner of jim thomas, and a Date...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (attendance VARCHAR, result VARCHAR) Question: What was the Attendance in the game with a Result of won 5-2? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about the attendance in the game with a result of "won 5-2": ``` SELECT attendance FROM table_name_58 WHERE result = "won 5-2" ```
48,613
[ { "from": "human", "value": " 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 (attendance VARCHAR, result VARCHAR)\n\n Question: What was the Attendance in the game with a Result of won 5-2?\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_39 (competition VARCHAR, venue VARCHAR, attendance VARCHAR) Question: What was the home Competition with Attendance of 1,268? Here is the SQLite query to answ...
Here is the SQLite query to answer the question regarding the home Competition with Attendance of 1,268: ``` SELECT competition FROM table_name_39 WHERE venue = "home" AND attendance = "1,268" ```
48,614
[ { "from": "human", "value": " 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 (competition VARCHAR, venue VARCHAR, attendance VARCHAR)\n\n Question: What was the home Competition with Attendance...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (school_club_team VARCHAR, wnba_team VARCHAR) Question: What school or club team did the player chosen for the Sacramento Monarchs play for? Here is the SQ...
Your SQLite query looks correct for the given question and schema. Here it is wrapped for clarity: ``` SELECT school_club_team FROM table_name_94 WHERE wnba_team = "sacramento monarchs"; ``` This query will retrieve the school or club team associated with the Sacramento Monarchs.
48,615
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (school_club_team VARCHAR, wnba_team VARCHAR)\n\n Question: What school or club team did the player chosen for 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_57 (player VARCHAR, wnba_team VARCHAR) Question: What player was chosen for the Chicago Sky? Here is the SQLite query to answer to the question: What player w...
Here is the SQLite query to answer the question about which player was chosen for the Chicago Sky: ``` SELECT player FROM table_name_57 WHERE wnba_team = "Chicago Sky"; ```
48,616
[ { "from": "human", "value": " 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 (player VARCHAR, wnba_team VARCHAR)\n\n Question: What player was chosen for the Chicago Sky?\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_47 (player VARCHAR, wnba_team VARCHAR) Question: Which player was picked for the Chicago Sky? Here is the SQLite query to answer to the question: Which player...
Here is the SQLite query to answer the question about which player was picked for the Chicago Sky: ``` SELECT player FROM table_name_47 WHERE wnba_team = "chicago sky"; ```
48,617
[ { "from": "human", "value": " 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 (player VARCHAR, wnba_team VARCHAR)\n\n Question: Which player was picked for the Chicago Sky?\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_14 (position VARCHAR, height VARCHAR, shirt_no VARCHAR) Question: What is the position of the player with a height of 205 and shirt no 8? Here is the SQLite q...
Here is the SQLite query to answer the question about the position of the player with a height of 205 and shirt number 8: ``` SELECT position FROM table_name_14 WHERE height = '205' AND shirt_no = '8' ``` Please note that the values for `height` and `shirt_no` are wrapped in quotes because they are stored as VARCHAR...
48,618
[ { "from": "human", "value": " 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 (position VARCHAR, height VARCHAR, shirt_no VARCHAR)\n\n Question: What is the position of the player with a height ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (player VARCHAR, height VARCHAR) Question: What is the name of the player who is a height of 182? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question of what is the name of the player who is a height of 182: ``` SELECT player FROM table_name_84 WHERE height = '182' ```
48,619
[ { "from": "human", "value": " 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 (player VARCHAR, height VARCHAR)\n\n Question: What is the name of the player who is a height of 182?\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_81 (gold INTEGER, participants VARCHAR, silver VARCHAR) Question: What is the sum of Gold with Participants that are 4 and a Silver that is smaller than 0? He...
Here is the SQLite query to sum the Gold values where Participants are 4 and Silver is smaller than 0: ``` SELECT SUM(gold) FROM table_name_81 WHERE participants = '4' AND silver < '0' ``` Note that if the `participants` and `silver` fields are VARCHAR, you must ensure to compare them correctly (as strings) or conve...
48,620
[ { "from": "human", "value": " 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 (gold INTEGER, participants VARCHAR, silver VARCHAR)\n\n Question: What is the sum of Gold with Participants that ar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (opponent VARCHAR, score VARCHAR) Question: Who was the opponent with a score of 141–102? Here is the SQLite query to answer to the question: Who was the o...
Here is the SQLite query to answer the question "Who was the opponent with a score of 141–102?": ``` SELECT opponent FROM table_name_97 WHERE score = "141–102"; ```
48,621
[ { "from": "human", "value": " 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 (opponent VARCHAR, score VARCHAR)\n\n Question: Who was the opponent with a score of 141–102?\n\nHere is the SQLite ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) Question: Who was the opponent with a score of 109–108? Here is the SQLite query to answer to the question: Who was the op...
Here is the SQLite query to answer the question: Who was the opponent with a score of 109–108?: ``` SELECT opponent FROM table_name_7 WHERE score = "109–108" ```
48,622
[ { "from": "human", "value": " 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 (opponent VARCHAR, score VARCHAR)\n\n Question: Who was the opponent with a score of 109–108?\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 (result VARCHAR, record VARCHAR) Question: What was the result when the record was 62–12? 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 when the record was 62–12: ``` SELECT result FROM table_name_75 WHERE record = '62–12'; ```
48,623
[ { "from": "human", "value": " 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 (result VARCHAR, record VARCHAR)\n\n Question: What was the result when the record was 62–12?\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_49 (result VARCHAR, record VARCHAR) Question: What was the result with a record of 58–11? Here is the SQLite query to answer to the question: What was the res...
Here is the SQLite query to answer the question: What was the result with a record of 58–11?: ``` SELECT result FROM table_name_49 WHERE record = "58–11" ```
48,624
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (result VARCHAR, record VARCHAR)\n\n Question: What was the result with a record of 58–11?\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_10 (number INTEGER, date VARCHAR) Question: What's the number of the game played on January 2, 1936? Here is the SQLite query to answer to the question: What'...
The SQLite query to find the number of the game played on January 2, 1936, can be written as follows: ``` SELECT number FROM table_name_10 WHERE date = "January 2, 1936" ``` This query selects the `number` from `table_name_10` where the `date` matches "January 2, 1936". If you want to ensure that you retrieve the sp...
48,625
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (number INTEGER, date VARCHAR)\n\n Question: What's the number of the game played on January 2, 1936?\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_50 (record VARCHAR, number VARCHAR) Question: What's the record of game number 23? Here is the SQLite query to answer to the question: What's the record of ga...
Here is the SQLite query to answer the question about the record of game number 23: ``` SELECT record FROM table_name_50 WHERE number = '23'; ```
48,626
[ { "from": "human", "value": " 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 (record VARCHAR, number VARCHAR)\n\n Question: What's the record of game number 23?\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_5 (points INTEGER, february INTEGER) Question: How many Points a February smaller than 1 have? Here is the SQLite query to answer to the question: How many Po...
The query you've provided is looking for the minimum points where February is smaller than 1. However, to answer the question of how many points there are (rather than the minimum), you would typically want to sum the points or simply count the number of records. If you want to get the total points for February values...
48,627
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (points INTEGER, february INTEGER)\n\n Question: How many Points a February smaller than 1 have?\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_40 (february VARCHAR, points VARCHAR, score VARCHAR) Question: How many February days have Points of 63 and a Score of 1–2? Here is the SQLite query to answer...
Your query is almost correct, but I noticed that the values for `points` and `score` should be treated as integers and you might have quotes around them since they are defined as VARCHAR. However, the query does not account for the possibility of either integers or strings in the case of `points`. Additionally, to en...
48,628
[ { "from": "human", "value": " 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 (february VARCHAR, points VARCHAR, score VARCHAR)\n\n Question: How many February days have Points of 63 and a Score...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (player VARCHAR, wins INTEGER) Question: What is the name of the player with less than 2 wins? Here is the SQLite query to answer to the question: What is ...
Here is the SQLite query to answer the question about the name of the player with less than 2 wins: ``` SELECT player FROM table_name_24 WHERE wins < 2; ```
48,629
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (player VARCHAR, wins INTEGER)\n\n Question: What is the name of the player with less than 2 wins?\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_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR) Question: What is the number of earning for more than 2 wins and less than 25 events? Here is the SQLit...
Here is the corrected SQLite query to answer the question about the number of earnings for more than 2 wins and less than 25 events: ```sql SELECT SUM(earnings___) AS total_earnings FROM table_name_97 WHERE CAST(wins AS INTEGER) > 2 AND CAST(events AS INTEGER) < 25; ``` In this query, we are using `CAST` to conver...
48,630
[ { "from": "human", "value": " 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 (earnings___ INTEGER, wins VARCHAR, events VARCHAR)\n\n Question: What is the number of earning for more than 2 wins...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (events INTEGER, wins VARCHAR, earnings___$__ VARCHAR) Question: What is the largest events number for more than 2 wins and less than $446,893 in earnings? ...
It looks like there are a couple of mistakes in the provided SQL query. Specifically, the comparisons for `wins` and `earnings___$__` need to be corrected. The `wins` column is a `VARCHAR`, so we should convert it to an integer for comparison. Additionally, the earning should also be converted from the `VARCHAR` format...
48,631
[ { "from": "human", "value": " 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 (events INTEGER, wins VARCHAR, earnings___$__ VARCHAR)\n\n Question: What is the largest events number for more than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (visitor VARCHAR, time VARCHAR) Question: Who was the visitor at 5:00 pm? Here is the SQLite query to answer to the question: Who was the visitor at 5:00 p...
Here is the SQLite query to answer the question: Who was the visitor at 5:00 pm?: ``` SELECT visitor FROM table_name_42 WHERE time = "5:00 pm"; ```
48,632
[ { "from": "human", "value": " 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 (visitor VARCHAR, time VARCHAR)\n\n Question: Who was the visitor at 5:00 pm?\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_14 (visitor VARCHAR, record VARCHAR, home VARCHAR, time VARCHAR) Question: Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2...
Here is the SQLite query to answer the question about the visitor at the Pittsburgh Penguins at 7:00 pm with a record of 0-2-2: ``` SELECT visitor FROM table_name_14 WHERE home = "pittsburgh penguins" AND time = "7:00 pm" AND record = "0-2-2" ```
48,633
[ { "from": "human", "value": " 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 (visitor VARCHAR, record VARCHAR, home VARCHAR, time VARCHAR)\n\n Question: Who was the visitor at the pittsburgh pe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (home VARCHAR, record VARCHAR, time VARCHAR, location_attendance VARCHAR) Question: What is the home in mellon arena at 7:30 pm with a record o 2-5-2? Here...
Here is the SQLite query to answer the question about the home in Mellon Arena at 7:30 PM with a record of 2-5-2: ``` SELECT home FROM table_name_25 WHERE time = "7:30 pm" AND location_attendance = "mellon arena" AND record = "2-5-2" ```
48,634
[ { "from": "human", "value": " 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 (home VARCHAR, record VARCHAR, time VARCHAR, location_attendance VARCHAR)\n\n Question: What is the home in mellon a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (drawn INTEGER, games INTEGER) Question: Which average Drawn has Games larger than 7? Here is the SQLite query to answer to the question: Which average Dra...
Your SQLite query to find the average of `drawn` where `games` is greater than 7 is correct. Here it is again wrapped in the required format: ``` SELECT AVG(drawn) FROM table_name_29 WHERE games > 7; ```
48,635
[ { "from": "human", "value": " 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 (drawn INTEGER, games INTEGER)\n\n Question: Which average Drawn has Games larger than 7?\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_58 (make VARCHAR, pos VARCHAR) Question: Which Make has a Pos of 3? Here is the SQLite query to answer to the question: Which Make has a Pos of 3?: ``` SELECT...
Your SQLite query is almost correct, but since `pos` is a VARCHAR type, you need to use quotes around the value '3'. Here is the corrected query: ``` SELECT make FROM table_name_58 WHERE pos = '3'; ```
48,636
[ { "from": "human", "value": " 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 (make VARCHAR, pos VARCHAR)\n\n Question: Which Make has a Pos of 3?\n\nHere is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (car__number INTEGER, pos VARCHAR, make VARCHAR, driver VARCHAR) Question: Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger ...
Here is the SQLite query to answer the question: ``` SELECT car__number FROM table_name_19 WHERE make = "toyota" AND driver = "mike skinner" AND pos > 3 ```
48,637
[ { "from": "human", "value": " 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 (car__number INTEGER, pos VARCHAR, make VARCHAR, driver VARCHAR)\n\n Question: Which Car # has a Make of toyota, and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (make VARCHAR, car__number INTEGER) Question: Which Make has a Car # larger than 59? Here is the SQLite query to answer to the question: Which Make has a C...
Your SQLite query looks correct. Here it is wrapped in code formatting: ``` SELECT make FROM table_name_48 WHERE car__number > 59 ```
48,638
[ { "from": "human", "value": " 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 (make VARCHAR, car__number INTEGER)\n\n Question: Which Make has a Car # larger than 59?\n\nHere is the SQLite query...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (results¹ VARCHAR, type_of_game VARCHAR) Question: What was the result of the Euro '64 qualifying game? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question about the result of the Euro '64 qualifying game: ```sql SELECT results¹ FROM table_name_65 WHERE type_of_game = "euro '64 qualifying"; ```
48,639
[ { "from": "human", "value": " 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 (results¹ VARCHAR, type_of_game VARCHAR)\n\n Question: What was the result of the Euro '64 qualifying game?\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_64 (date VARCHAR, type_of_game VARCHAR) Question: What is the date of the Euro '64 qualifying game? Here is the SQLite query to answer to the question: What i...
Here is the SQLite query to answer the question about the date of the Euro '64 qualifying game: ``` SELECT date FROM table_name_64 WHERE type_of_game = "euro '64 qualifying"; ```
48,640
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (date VARCHAR, type_of_game VARCHAR)\n\n Question: What is the date of the Euro '64 qualifying game?\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_26 (title VARCHAR, year VARCHAR) Question: What was the title in 1996? Here is the SQLite query to answer to the question: What was the title in 1996?: ``` SE...
Here is the SQLite query to answer the question "What was the title in 1996?": ``` SELECT title FROM table_name_26 WHERE year = '1996' ```
48,641
[ { "from": "human", "value": " 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 (title VARCHAR, year VARCHAR)\n\n Question: What was the title in 1996?\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_91 (role VARCHAR, year VARCHAR) Question: What was the role in 2001? Here is the SQLite query to answer to the question: What was the role in 2001?: ``` SELEC...
Here is the SQLite query to answer the question: What was the role in 2001?: ``` SELECT role FROM table_name_91 WHERE year = "2001" ```
48,642
[ { "from": "human", "value": " 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 (role VARCHAR, year VARCHAR)\n\n Question: What was the role in 2001?\n\nHere is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (language VARCHAR, title VARCHAR) Question: What language was Taken in? Here is the SQLite query to answer to the question: What language was Taken in?: ``...
Here is the SQLite query to answer the question: What language was Taken in?: ``` SELECT language FROM table_name_68 WHERE title = "Taken"; ```
48,643
[ { "from": "human", "value": " 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 (language VARCHAR, title VARCHAR)\n\n Question: What language was Taken in?\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_90 (title VARCHAR, notes VARCHAR) Question: Which title had Notes of 8 episodes? Here is the SQLite query to answer to the question: Which title had Notes of ...
Your query looks good! Here it is properly wrapped in code formatting: ``` SELECT title FROM table_name_90 WHERE notes = "8 episodes"; ``` This query will select the titles from `table_name_90` that have notes specifically stating "8 episodes".
48,644
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (title VARCHAR, notes VARCHAR)\n\n Question: Which title had Notes of 8 episodes?\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_28 (title VARCHAR, language VARCHAR) Question: Which title is in Portuguese? Here is the SQLite query to answer to the question: Which title is in Portuguese?...
Here is the SQLite query to answer the question: Which title is in Portuguese?: ``` SELECT title FROM table_name_28 WHERE language = "portuguese" ```
48,645
[ { "from": "human", "value": " 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 (title VARCHAR, language VARCHAR)\n\n Question: Which title is in Portuguese?\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_80 (role VARCHAR, year VARCHAR) Question: What was the role in 1996? Here is the SQLite query to answer to the question: What was the role in 1996?: ``` SELEC...
Here is the SQLite query to answer the question "What was the role in 1996?": ``` SELECT role FROM table_name_80 WHERE year = '1996'; ```
48,646
[ { "from": "human", "value": " 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 (role VARCHAR, year VARCHAR)\n\n Question: What was the role in 1996?\n\nHere is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (dates_active VARCHAR, storm_name VARCHAR) Question: what date did the irwin storm take place Here is the SQLite query to answer to the question: what date...
Here is the SQLite query to answer the question regarding the date the Irwin storm took place: ``` SELECT dates_active FROM table_name_78 WHERE storm_name = "irwin"; ```
48,647
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (dates_active VARCHAR, storm_name VARCHAR)\n\n Question: what date did the irwin storm take place\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_15 (min_press___mbar__ VARCHAR, storm_name VARCHAR) Question: what is the minimum force of storm Adrian Here is the SQLite query to answer to the question: wh...
Sure! Here is the SQLite query wrapped in code blocks to find the minimum pressure for storm Adrian: ``` SELECT min_press___mbar__ FROM table_name_15 WHERE storm_name = "Adrian"; ```
48,648
[ { "from": "human", "value": " 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 (min_press___mbar__ VARCHAR, storm_name VARCHAR)\n\n Question: what is the minimum force of storm Adrian\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_70 (number_of_households INTEGER, county VARCHAR) Question: How many households are in highlands county? Here is the SQLite query to answer to the question: H...
Your SQLite query seems to intend to calculate the average number of households, but the question asks for the total number of households in Highlands County. To correctly answer that question, you should sum the `number_of_households` instead. Here's the correct query: ``` SELECT SUM(number_of_households) FROM table_...
48,649
[ { "from": "human", "value": " 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 (number_of_households INTEGER, county VARCHAR)\n\n Question: How many households are in highlands county?\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_56 (median_household_income VARCHAR, median_family_income VARCHAR) Question: What is the Median household income associated with a median family income of $46,...
Here is the SQLite query to answer the question about the median household income associated with a median family income of $46,616: ```sql SELECT median_household_income FROM table_name_56 WHERE median_family_income = "$46,616"; ```
48,650
[ { "from": "human", "value": " 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 (median_household_income VARCHAR, median_family_income VARCHAR)\n\n Question: What is the Median household income as...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (time___et__ VARCHAR, location VARCHAR) Question: What time did the game at memorial stadium take place? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about the time the game at memorial stadium took place: ``` SELECT time___et__ FROM table_name_49 WHERE location = "memorial stadium" ```
48,651
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (time___et__ VARCHAR, location VARCHAR)\n\n Question: What time did the game at memorial stadium take place?\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_88 (bronze VARCHAR, total VARCHAR, silver VARCHAR) Question: What is the number of Bronze medals of the Nation with 64 total and silver greater than 16? Here ...
The SQLite query to answer the question regarding the number of Bronze medals for the specified conditions would be: ``` SELECT COUNT(bronze) FROM table_name_88 WHERE total = '64' AND silver > '16'; ``` Make sure to use quotes around the values since the columns are defined as VARCHAR.
48,652
[ { "from": "human", "value": " 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 (bronze VARCHAR, total VARCHAR, silver VARCHAR)\n\n Question: What is the number of Bronze medals of the Nation with...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (bronze INTEGER, nation VARCHAR, silver VARCHAR) Question: What is the bronze for Kyrgyzstan nation with a silver record of greater than 0? Here is the SQLi...
Your query is almost correct, but there are a couple of points to be aware of regarding the `silver` column. Since `silver` is defined as a `VARCHAR`, you need to ensure that the comparison to `0` is made with a numeric value (which means you should convert or cast it). Additionally, you're looking for the `bronze` v...
48,653
[ { "from": "human", "value": " 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 (bronze INTEGER, nation VARCHAR, silver VARCHAR)\n\n Question: What is the bronze for Kyrgyzstan nation with a silver...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR) Question: What is the gold for the nation with a record of bronze 1, Syria nation with a grand...
The provided SQLite query seems incorrect based on the question asked. If the goal is to retrieve the `gold` value for a specific nation (Syria) that has a bronze record of 1 and a total less than 1, then it should actually select `gold` directly instead of calculating the average. You should use the following query i...
48,654
[ { "from": "human", "value": " 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 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)\n\n Question: What is the gold for the nation with a r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (date VARCHAR, result VARCHAR) Question: When was the game with a result of w 27-24 (ot)? Here is the SQLite query to answer to the question: When was the ...
The SQLite query to find the date of the game that resulted in "w 27-24 (ot)" is as follows: ``` SELECT date FROM table_name_26 WHERE result = "w 27-24 (ot)" ```
48,655
[ { "from": "human", "value": " 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 (date VARCHAR, result VARCHAR)\n\n Question: When was the game with a result of w 27-24 (ot)?\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_65 (date VARCHAR, record VARCHAR) Question: When was the game with a record of 9-3? Here is the SQLite query to answer to the question: When was the game with...
Here is the SQLite query to answer the question: When was the game with a record of 9-3?: ``` SELECT date FROM table_name_65 WHERE record = "9-3"; ```
48,656
[ { "from": "human", "value": " 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 (date VARCHAR, record VARCHAR)\n\n Question: When was the game with a record of 9-3?\n\nHere is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (game_time VARCHAR, record VARCHAR) Question: What time was the game with a record of 7-3? Here is the SQLite query to answer to the question: What time wa...
Here is the SQLite query to answer the question about the time of the game with a record of 7-3: ``` SELECT game_time FROM table_name_96 WHERE record = "7-3"; ```
48,657
[ { "from": "human", "value": " 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 (game_time VARCHAR, record VARCHAR)\n\n Question: What time was the game with a record of 7-3?\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_36 (week VARCHAR, venue VARCHAR, attendance VARCHAR) Question: What is the number of weeks where the venue was memorial stadium and the attendance was less tha...
It looks like there is a small error in your SQL query regarding how you're comparing the attendance. The attendance is stored as a VARCHAR type, so we need to cast it to an integer for comparison. Additionally, the `OFFSET` keyword is not appropriate in this context. Here is the corrected query: ```sql SELECT COUNT(w...
48,658
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (week VARCHAR, venue VARCHAR, attendance VARCHAR)\n\n Question: What is the number of weeks where the venue was memo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (week INTEGER, date VARCHAR, attendance VARCHAR) Question: What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans att...
It looks like there is a small mistake in your query regarding the `attendance` comparison. In SQLite, you cannot directly compare a string column like `attendance` to a number. You need to convert it to an integer first. Here is the revised query: ```sql SELECT SUM(week) FROM table_name_20 WHERE date = 'october 21,...
48,659
[ { "from": "human", "value": " 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 (week INTEGER, date VARCHAR, attendance VARCHAR)\n\n Question: What is the sum of the weeks that games occured on oc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (frequency VARCHAR, launched VARCHAR) Question: What is the frequency of the station that was launched on 21 August 1994? Here is the SQLite query to answe...
Here is the SQLite query to answer the question regarding the frequency of the station launched on 21 August 1994: ```sql SELECT frequency FROM table_name_97 WHERE launched = '21 August 1994'; ```
48,660
[ { "from": "human", "value": " 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 (frequency VARCHAR, launched VARCHAR)\n\n Question: What is the frequency of the station that was launched on 21 Aug...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (launched VARCHAR, languages VARCHAR) Question: What is the launched date of the station in cora huichol tepehuano nahuatl language? Here is the SQLite quer...
Here is the SQLite query wrapped in the requested format: ``` SELECT launched FROM table_name_1 WHERE languages = "cora huichol tepehuano nahuatl"; ```
48,661
[ { "from": "human", "value": " 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 (launched VARCHAR, languages VARCHAR)\n\n Question: What is the launched date of the station in cora huichol tepehuan...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (transmitting_from VARCHAR, coverage VARCHAR) Question: Where is the station with a coverage of yucatán quintana roo campeche transmitting from? Here is th...
Here is the SQLite query to answer the question about the station with a coverage of "yucatán quintana roo campeche": ``` SELECT transmitting_from FROM table_name_15 WHERE coverage = "yucatán quintana roo campeche"; ```
48,662
[ { "from": "human", "value": " 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 (transmitting_from VARCHAR, coverage VARCHAR)\n\n Question: Where is the station with a coverage of yucatán quintana...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (frequency VARCHAR, coverage VARCHAR) Question: What is the frequency of the station with a coverage of oaxaca guerrero puebla? Here is the SQLite query to...
```sql SELECT frequency FROM table_name_24 WHERE coverage = "oaxaca guerrero puebla"; ```
48,663
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (frequency VARCHAR, coverage VARCHAR)\n\n Question: What is the frequency of the station with a coverage of oaxaca g...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (transmitting_from VARCHAR, launched VARCHAR) Question: Where is the station that was launched on 17 July 1997 transmitting from? Here is the SQLite query ...
Here is the SQLite query to answer the question about the station that was launched on 17 July 1997 and its transmitting location: ``` SELECT transmitting_from FROM table_name_18 WHERE launched = "17 July 1997" ```
48,664
[ { "from": "human", "value": " 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 (transmitting_from VARCHAR, launched VARCHAR)\n\n Question: Where is the station that was launched on 17 July 1997 t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (coverage VARCHAR, launched VARCHAR) Question: What is the coverage of the station that was launched on 22 January 1996? Here is the SQLite query to answer...
Here is the SQLite query to answer the question about the coverage of the station that was launched on 22 January 1996: ``` SELECT coverage FROM table_name_83 WHERE launched = "22 January 1996"; ```
48,665
[ { "from": "human", "value": " 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 (coverage VARCHAR, launched VARCHAR)\n\n Question: What is the coverage of the station that was launched on 22 Janua...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR) Question: How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers? ...
Your SQLite query has a small mistake in the comparison operators for the `gold` and `silver` columns. Since `gold` and `silver` are stored as VARCHAR, you should convert them to integers for numerical comparison. Here is the corrected query: ``` SELECT COUNT(bronze) FROM table_name_79 WHERE CAST(gold AS INTEGER) > ...
48,666
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)\n\n Question: How many bronzes for the nation ranked 14...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: How many total medals for germany with under 56 bronzes? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question about the total medals for Germany with under 56 bronzes: ``` SELECT SUM(total) FROM table_name_46 WHERE nation = "germany" AND bronze < 56; ```
48,667
[ { "from": "human", "value": " 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 (total INTEGER, nation VARCHAR, bronze VARCHAR)\n\n Question: How many total medals for germany with under 56 bronze...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, bronze VARCHAR) Question: How many total medals for the nation with 1 gold and 6 bronzes? Here is the SQLite query to answer ...
Your SQL query is almost correct, but it needs a slight adjustment. Since the columns `total`, `gold`, and `bronze` are of type `VARCHAR`, you'll need to make sure to convert the `gold` and `bronze` fields to integers to compare them properly. Here’s the corrected query: ```sql SELECT COUNT(total) FROM table_name_52 W...
48,668
[ { "from": "human", "value": " 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 (total VARCHAR, gold VARCHAR, bronze VARCHAR)\n\n Question: How many total medals for the nation with 1 gold and 6 b...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game when the record was 32–34? Here is the SQLite query to answer to the question: What ...
Here is the SQLite query to answer the question regarding the loss of the game when the record was 32–34: ``` SELECT loss FROM table_name_52 WHERE record = "32–34" ```
48,669
[ { "from": "human", "value": " 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 (loss VARCHAR, record VARCHAR)\n\n Question: What was the loss of the game when the record was 32–34?\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_15 (date VARCHAR, score VARCHAR) Question: What was the date of the game with a score of 15–6? Here is the SQLite query to answer to the question: What was th...
Your SQLite query correctly retrieves the date of the game with a score of 15–6. Here it is wrapped in code formatting: ``` SELECT date FROM table_name_15 WHERE score = "15–6"; ```
48,670
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR)\n\n Question: What was the date of the game with a score of 15–6?\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_65 (frequency VARCHAR, website VARCHAR) Question: what is the frequency of visits to elmanana.com.mx Here is the SQLite query to answer to the question: what ...
Here is the SQLite query to answer the question about the frequency of visits to elmanana.com.mx: ``` SELECT frequency FROM table_name_65 WHERE website = 'elmanana.com.mx'; ```
48,671
[ { "from": "human", "value": " 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 (frequency VARCHAR, website VARCHAR)\n\n Question: what is the frequency of visits to elmanana.com.mx\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_3 (result VARCHAR, opponent VARCHAR) Question: What was the game result against the minnesota vikings? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question: ``` SELECT result FROM table_name_3 WHERE opponent = "minnesota vikings" ```
48,672
[ { "from": "human", "value": " 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 (result VARCHAR, opponent VARCHAR)\n\n Question: What was the game result against the minnesota vikings?\n\nHere is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (week VARCHAR, date VARCHAR) Question: What week shows for december 31, 1993? Here is the SQLite query to answer to the question: What week shows for decem...
It seems that you're looking to retrieve the week associated with the date "December 31, 1993" from the `table_name_25`. However, your original query counts the number of weeks instead of selecting the week itself. Here’s how you can write the query to get the week for that specific date: ```sql SELECT week FROM table...
48,673
[ { "from": "human", "value": " 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 (week VARCHAR, date VARCHAR)\n\n Question: What week shows for december 31, 1993?\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_48 (result VARCHAR, date VARCHAR) Question: What was the result on October 4, 1993? Here is the SQLite query to answer to the question: What was the result on...
Here is the SQLite query to answer the question: What was the result on October 4, 1993?: ``` SELECT result FROM table_name_48 WHERE date = "October 4, 1993"; ```
48,674
[ { "from": "human", "value": " 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 (result VARCHAR, date VARCHAR)\n\n Question: What was the result on October 4, 1993?\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_52 (week INTEGER, result VARCHAR) Question: What Week has a Result of l 17-14? Here is the SQLite query to answer to the question: What Week has a Result of l...
The provided SQLite query seems to be attempting to sum the weeks where the result matches "l 17-14". However, if you just want to find out which week has that result, you should select the week directly instead of using `SUM()`. Here’s a corrected version of the query: ``` SELECT week FROM table_name_52 WHERE result ...
48,675
[ { "from": "human", "value": " 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 (week INTEGER, result VARCHAR)\n\n Question: What Week has a Result of l 17-14?\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_86 (year VARCHAR, position VARCHAR) Question: How many years have a position of 2nd? Here is the SQLite query to answer to the question: How many years have a...
Here is the SQLite query to answer the question of how many years have a position of 2nd: ``` SELECT COUNT(year) FROM table_name_86 WHERE position = "2nd" ```
48,676
[ { "from": "human", "value": " 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 (year VARCHAR, position VARCHAR)\n\n Question: How many years have a position of 2nd?\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 (event VARCHAR, year VARCHAR) Question: Which event has a year of 2000? Here is the SQLite query to answer to the question: Which event has a year of 2000?...
Here is the SQLite query to answer the question: Which event has a year of 2000?: ``` SELECT event FROM table_name_72 WHERE year = '2000' ```
48,677
[ { "from": "human", "value": " 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 (event VARCHAR, year VARCHAR)\n\n Question: Which event has a year of 2000?\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_7 (position VARCHAR, notes VARCHAR) Question: What position has notes of 2:12:53? Here is the SQLite query to answer to the question: What position has notes ...
Here is the SQLite query to answer the question: What position has notes of 2:12:53?: ``` SELECT position FROM table_name_7 WHERE notes = "2:12:53" ```
48,678
[ { "from": "human", "value": " 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, notes VARCHAR)\n\n Question: What position has notes of 2:12:53?\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_90 (round INTEGER, college VARCHAR, pick__number VARCHAR) Question: What is the average round for draft pick #49 from Notre Dame? Here is the SQLite query to ...
Your SQLite query to find the average round for draft pick #49 from Notre Dame looks correct. Here it is, wrapped as you requested: ``` SELECT AVG(round) FROM table_name_90 WHERE college = "notre dame" AND pick__number = "49" ```
48,679
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (round INTEGER, college VARCHAR, pick__number VARCHAR)\n\n Question: What is the average round for draft pick #49 fr...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (college VARCHAR, pick__number VARCHAR) Question: What college is draft pick #327 from? Here is the SQLite query to answer to the question: What college is...
Your SQLite query is correct for retrieving the college associated with draft pick #327. Here it is wrapped as requested: ``` SELECT college FROM table_name_80 WHERE pick__number = "327"; ```
48,680
[ { "from": "human", "value": " 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 (college VARCHAR, pick__number VARCHAR)\n\n Question: What college is draft pick #327 from?\n\nHere is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (college VARCHAR, pick__number VARCHAR) Question: What college is pick number 268 from? Here is the SQLite query to answer to the question: What college is...
Here is the SQLite query to answer the question: What college is pick number 268 from?: ``` SELECT college FROM table_name_44 WHERE pick__number = "268"; ```
48,681
[ { "from": "human", "value": " 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 (college VARCHAR, pick__number VARCHAR)\n\n Question: What college is pick number 268 from?\n\nHere is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR) Question: What round pick was pick number 101 who plays defensive back? Here is the SQLite query to...
```sql SELECT round FROM table_name_92 WHERE position = "defensive back" AND pick__number = "101"; ```
48,682
[ { "from": "human", "value": " 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 (round VARCHAR, position VARCHAR, pick__number VARCHAR)\n\n Question: What round pick was pick number 101 who plays ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (pick__number VARCHAR, round VARCHAR, college VARCHAR) Question: What pick number was from the college of maryland and was picked in a round larger than 7? ...
Here is the SQLite query to answer the question: ``` SELECT pick__number FROM table_name_65 WHERE round > 7 AND college = "maryland"; ```
48,683
[ { "from": "human", "value": " 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 (pick__number VARCHAR, round VARCHAR, college VARCHAR)\n\n Question: What pick number was from the college of maryla...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (overall INTEGER, pick__number VARCHAR) Question: How much Overall has a Pick # of 26? Here is the SQLite query to answer to the question: How much Overall...
Here is the SQLite query to answer the question of how much Overall has a Pick # of 26: ``` SELECT SUM(overall) FROM table_name_25 WHERE pick__number = '26'; ```
48,684
[ { "from": "human", "value": " 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 (overall INTEGER, pick__number VARCHAR)\n\n Question: How much Overall has a Pick # of 26?\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_88 (position VARCHAR, round VARCHAR, college VARCHAR) Question: Which Position has a Round smaller than 14, and a College of illinois? Here is the SQLite quer...
Here is the SQLite query to answer the question regarding which Position has a Round smaller than 14 and a College of Illinois: ``` SELECT position FROM table_name_88 WHERE round < 14 AND college = "illinois" ```
48,685
[ { "from": "human", "value": " 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 (position VARCHAR, round VARCHAR, college VARCHAR)\n\n Question: Which Position has a Round smaller than 14, and a C...
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 INTEGER, round VARCHAR, pick__number VARCHAR) Question: How much Overall has a Round smaller than 6, and a Pick # of 26? Here is the SQLite query ...
Here is the correct SQLite query to answer the question regarding the Overall for a Round smaller than 6 and a Pick # of 26: ``` SELECT SUM(overall) FROM table_name_68 WHERE CAST(round AS INTEGER) < 6 AND pick__number = '26' ``` In this query, we cast the `round` column as an integer to properly compare it to the nu...
48,686
[ { "from": "human", "value": " 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 INTEGER, round VARCHAR, pick__number VARCHAR)\n\n Question: How much Overall has a Round smaller than 6, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (round INTEGER, name VARCHAR) Question: What is Roy Hall's highest round? Here is the SQLite query to answer to the question: What is Roy Hall's highest ro...
Here is the SQLite query to answer the question about Roy Hall's highest round: ``` SELECT MAX(round) FROM table_name_67 WHERE name = "Roy Hall"; ```
48,687
[ { "from": "human", "value": " 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 (round INTEGER, name VARCHAR)\n\n Question: What is Roy Hall's highest round?\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 (overall VARCHAR, pick__number VARCHAR, name VARCHAR) Question: How much Overall has a Pick # larger than 2, and a Name of claude humphrey? Here is the SQL...
Here is the SQLite query to answer the question: ``` SELECT COUNT(overall) FROM table_name_93 WHERE pick__number > 2 AND name = "claude humphrey" ```
48,688
[ { "from": "human", "value": " 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 (overall VARCHAR, pick__number VARCHAR, name VARCHAR)\n\n Question: How much Overall has a Pick # larger than 2, and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (opponent VARCHAR, score VARCHAR) Question: What is the oppenent when the score was 5–0? Here is the SQLite query to answer to the question: What is the op...
Here is the SQLite query to answer the question about the opponent when the score was 5–0: ``` SELECT opponent FROM table_name_70 WHERE score = "5–0"; ```
48,689
[ { "from": "human", "value": " 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 (opponent VARCHAR, score VARCHAR)\n\n Question: What is the oppenent when the score was 5–0?\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_61 (opponent VARCHAR, game VARCHAR, score VARCHAR) Question: What is the opponent before game 57 when the score was 4–5? Here is the SQLite query to answer to...
Your query is mostly correct, but you should also specify that you are looking for the opponent specifically before game 57 and not including game 57 itself. Here is the refined SQLite query: ``` SELECT opponent FROM table_name_61 WHERE game < 57 AND score = "4–5" ORDER BY game DESC LIMIT 1; ``` This ensures that ...
48,690
[ { "from": "human", "value": " 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 (opponent VARCHAR, game VARCHAR, score VARCHAR)\n\n Question: What is the opponent before game 57 when the score was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (score VARCHAR, points VARCHAR, game VARCHAR) Question: What is the score when the points are larger than 74 and the game is 57? Here is the SQLite query to...
Here's the SQLite query formatted as you requested: ``` SELECT score FROM table_name_7 WHERE points > 74 AND game = '57' ```
48,691
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (score VARCHAR, points VARCHAR, game VARCHAR)\n\n Question: What is the score when the points are larger than 74 and ...
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, chassis VARCHAR, points VARCHAR) Question: When is the latest year that an entrant has toro rosso str1 chassis and under 1 point? Here is the...
Here is the SQLite query to answer the question about the latest year that an entrant has a "toro rosso str1" chassis and under 1 point: ```sql SELECT MAX(year) FROM table_name_4 WHERE chassis = "toro rosso str1" AND points < 1; ```
48,692
[ { "from": "human", "value": " 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, chassis VARCHAR, points VARCHAR)\n\n Question: When is the latest year that an entrant has toro rosso ...
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 VARCHAR, engine VARCHAR, points VARCHAR) Question: How many entrants have a mercedes fo 108w 2.4l v8 engine and over 0 points? Here is the SQLite quer...
Here's the SQLite query to answer the question about how many entrants have a "mercedes fo 108w 2.4l v8" engine and over 0 points: ``` SELECT COUNT(year) FROM table_name_4 WHERE engine = 'mercedes fo 108w 2.4l v8' AND points > '0' ``` Note: Since the `points` column is defined as a `VARCHAR`, the comparison to `'0'`...
48,693
[ { "from": "human", "value": " 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 VARCHAR, engine VARCHAR, points VARCHAR)\n\n Question: How many entrants have a mercedes fo 108w 2.4l v8 engine...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (engine VARCHAR, points VARCHAR) Question: What is the engine for the car with 3 points? Here is the SQLite query to answer to the question: What is the eng...
The SQLite query you provided contains a small mistake in regards to the data type of the `points` field. Since `points` is defined as a VARCHAR, you should enclose the value `3` in single quotes. Here is the corrected query: ```sql SELECT engine FROM table_name_6 WHERE points = '3' ``` This query will correctly ret...
48,694
[ { "from": "human", "value": " 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 (engine VARCHAR, points VARCHAR)\n\n Question: What is the engine for the car with 3 points?\n\nHere is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR) Question: Which International tourism expenditure (2012...
Here is the correct SQLite query to answer your question: ``` SELECT international_tourism_expenditure__2012_ FROM table_name_65 WHERE international_tourism_expenditure__2011_ = '$33.3 billion'; ```
48,695
[ { "from": "human", "value": " 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 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR)\n\n Question: W...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (unwto_region VARCHAR, country VARCHAR) Question: What is Italy's UNWTO region? Here is the SQLite query to answer to the question: What is Italy's UNWTO r...
Here is the SQLite query to answer the question: What is Italy's UNWTO region?: ``` SELECT unwto_region FROM table_name_24 WHERE country = "Italy" ```
48,696
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (unwto_region VARCHAR, country VARCHAR)\n\n Question: What is Italy's UNWTO region?\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_4 (international_tourism_expenditure__2011_ VARCHAR, country VARCHAR) Question: What is China's International tourism expenditure (2011)? Here is the SQLite ...
Here is the SQLite query to answer the question about China's international tourism expenditure in 2011: ``` SELECT international_tourism_expenditure__2011_ FROM table_name_4 WHERE country = "china"; ```
48,697
[ { "from": "human", "value": " 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 (international_tourism_expenditure__2011_ VARCHAR, country VARCHAR)\n\n Question: What is China's International tour...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (format VARCHAR, region_4 VARCHAR, _number_episodes VARCHAR, _number_disc_s_ VARCHAR) Question: What was the format for the 4 disc season that had less than...
Here is the SQLite query to answer the question: ``` SELECT format FROM table_name_86 WHERE _number_episodes < 22 AND _number_disc_s_ = '4' AND region_4 = 'n/a'; ```
48,698
[ { "from": "human", "value": " 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 (format VARCHAR, region_4 VARCHAR, _number_episodes VARCHAR, _number_disc_s_ VARCHAR)\n\n Question: What was the for...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (top_25 INTEGER, tournament VARCHAR, top_10 VARCHAR) Question: What is the lowest Top-25 for the open championship, with a Top-10 larger than 3? Here is th...
Here is the SQLite query to find the lowest Top-25 for the open championship, with a Top-10 larger than 3: ``` SELECT MIN(top_25) FROM table_name_55 WHERE tournament = "the open championship" AND top_10 > 3 ```
48,699
[ { "from": "human", "value": " 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 (top_25 INTEGER, tournament VARCHAR, top_10 VARCHAR)\n\n Question: What is the lowest Top-25 for the open championsh...