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_20142629_2 (_3_cylinder VARCHAR, stanier VARCHAR, fowler VARCHAR) Question: When the Fowler is 16, what is the number of cylinders? Here is the SQLite query to ans...
Your provided SQL query needs a slight adjustment to align better with standard SQL practices, particularly regarding the `COUNT()` function and the correct grouping. Since you want to count the number of cylinders when the `fowler` is 16, you can directly select the cylinder values as well. Here's the corrected versio...
6,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_20142629_2 (_3_cylinder VARCHAR, stanier VARCHAR, fowler VARCHAR)\n\n Question: When the Fowler is 16, what is the number of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20142629_2 (fowler INTEGER) Question: What is tops for Folwer? Here is the SQLite query to answer to the question: What is tops for Folwer?: ``` SELECT MAX(fowler)...
Here is the SQLite query to answer the question: What is the maximum value for Fowler? ``` SELECT MAX(fowler) FROM table_20142629_2; ```
6,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_20142629_2 (fowler INTEGER)\n\n Question: What is tops for Folwer?\n\nHere is the SQLite query to answer to the question: Wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20159025_1 (grid VARCHAR, part_1 VARCHAR) Question: On what grid was the time for part 1 1:31.063? Here is the SQLite query to answer to the question: On what grid...
Here is the SQLite query to answer the question: ``` SELECT grid FROM table_20159025_1 WHERE part_1 = "1:31.063" ```
6,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_20159025_1 (grid VARCHAR, part_1 VARCHAR)\n\n Question: On what grid was the time for part 1 1:31.063?\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_20159025_1 (driver VARCHAR, no VARCHAR) Question: Which driver was number 2‡? Here is the SQLite query to answer to the question: Which driver was number 2‡?: ``` ...
Here is the SQLite query to answer the question "Which driver was number 2‡?": ``` SELECT driver FROM table_20159025_1 WHERE no = "2‡"; ```
6,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_20159025_1 (driver VARCHAR, no VARCHAR)\n\n Question: Which driver was number 2‡?\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_20159025_1 (driver VARCHAR, grid VARCHAR) Question: Who was the driver in grid 01 1? Here is the SQLite query to answer to the question: Who was the driver in grid...
Here is the SQLite query to answer the question: Who was the driver in grid 01 1?: ``` SELECT driver FROM table_20159025_1 WHERE grid = '01 1'; ```
6,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_20159025_1 (driver VARCHAR, grid VARCHAR)\n\n Question: Who was the driver in grid 01 1?\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_20159025_1 (part_3 VARCHAR, driver VARCHAR) Question: What was the time in part 3 when Heikki Kovalainen was the driver? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question regarding the time in `part_3` when Heikki Kovalainen was the driver: ``` SELECT part_3 FROM table_20159025_1 WHERE driver = "Heikki Kovalainen" ```
6,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_20159025_1 (part_3 VARCHAR, driver VARCHAR)\n\n Question: What was the time in part 3 when Heikki Kovalainen was the driver?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20159025_1 (driver VARCHAR, part_1 VARCHAR) Question: Who was the driver when the time in part 3 was 1:31.386? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question about who the driver was when the time in part 3 was 1:31.386: ``` SELECT driver FROM table_20159025_1 WHERE part_1 = "1:31.386" ```
6,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_20159025_1 (driver VARCHAR, part_1 VARCHAR)\n\n Question: Who was the driver when the time in part 3 was 1:31.386?\n\nHere i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR) Question: What was the time in part 3 when Nick Heidfeld was the driver? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question regarding the time in part 3 when Nick Heidfeld was the driver: ``` SELECT part_3 FROM table_20159025_1 WHERE driver = "Nick Heidfeld" ```
6,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_20159025_1 (part_3 VARCHAR, driver VARCHAR)\n\n Question: What was the time in part 3 when Nick Heidfeld was the driver?\n\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20345624_2 (title VARCHAR, original_airdate VARCHAR) Question: Name the title that aired on 5 august 1967 Here is the SQLite query to answer to the question: Name ...
The correct query to retrieve the title that aired on 5 August 1967 should select the title instead of counting it. Here is the corrected SQL query: ``` SELECT title FROM table_20345624_2 WHERE original_airdate = "5 August 1967"; ```
6,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_20345624_2 (title VARCHAR, original_airdate VARCHAR)\n\n Question: Name the title that aired on 5 august 1967\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_20345624_2 (director VARCHAR, no VARCHAR) Question: Name the total number of directors for number 6 Here is the SQLite query to answer to the question: Name the to...
Here is the SQLite query to answer the question about the total number of directors for number 6: ```sql SELECT COUNT(director) FROM table_20345624_2 WHERE no = '6'; ```
6,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_20345624_2 (director VARCHAR, no VARCHAR)\n\n Question: Name the total number of directors for number 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_20345624_2 (original_airdate VARCHAR, director VARCHAR) Question: Name the original airdate for guy verney Here is the SQLite query to answer to the question: Name...
Sure! Here is the SQLite query you need to find the original airdate for Guy Verney: ``` SELECT original_airdate FROM table_20345624_2 WHERE director = "Guy Verney" ```
6,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_20345624_2 (original_airdate VARCHAR, director VARCHAR)\n\n Question: Name the original airdate for guy verney\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_20345624_2 (writer VARCHAR, original_airdate VARCHAR) Question: Name the number of writers for airdate of 15 july 1967 Here is the SQLite query to answer to the qu...
Your SQL query looks correct for counting the number of writers corresponding to a specific airdate. Here is your query wrapped in triple backticks: ``` SELECT COUNT(writer) FROM table_20345624_2 WHERE original_airdate = "15 July 1967"; ```
6,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_20345624_2 (writer VARCHAR, original_airdate VARCHAR)\n\n Question: Name the number of writers for airdate of 15 july 1967\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20354_5 (abbr VARCHAR, transcription VARCHAR) Question: What's the abbreviation for the month whose transcription is Kumphaphan? Here is the SQLite query to answer...
Here is the SQLite query to answer the question: ``` SELECT abbr FROM table_20354_5 WHERE transcription = "Kumphaphan" ```
6,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_20354_5 (abbr VARCHAR, transcription VARCHAR)\n\n Question: What's the abbreviation for the month whose transcription is Kum...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20354_5 (zodiac_sign VARCHAR, thai_name VARCHAR) Question: What's the zodiac sign for the month with Thai name มกราคม? Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question about the zodiac sign for the month with the Thai name มกราคม: ``` SELECT zodiac_sign FROM table_20354_5 WHERE thai_name = "มกราคม"; ```
6,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_20354_5 (zodiac_sign VARCHAR, thai_name VARCHAR)\n\n Question: What's the zodiac sign for the month with Thai name มกราคม?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20354_5 (zodiac_sign VARCHAR, transcription VARCHAR) Question: What's the zodiac sing for the month whose transcription is Karakadakhom? Here is the SQLite query t...
Here is the correct SQLite query to find the zodiac sign for the month whose transcription is "Karakadakhom": ``` SELECT zodiac_sign FROM table_20354_5 WHERE transcription = "Karakadakhom"; ```
6,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_20354_5 (zodiac_sign VARCHAR, transcription VARCHAR)\n\n Question: What's the zodiac sing for the month whose transcription ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR) Question: What's the transcription for the Thai name พฤษภาคม? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question regarding the transcription for the Thai name พฤษภาคม: ``` SELECT transcription FROM table_20354_5 WHERE thai_name = "พฤษภาคม" ```
6,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_20354_5 (transcription VARCHAR, thai_name VARCHAR)\n\n Question: What's the transcription for the Thai name พฤษภาคม?\n\nHere...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20354_5 (sanskrit_word VARCHAR, thai_name VARCHAR) Question: What's the Sanskrit word for month with Thai name มกราคม? Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question about the Sanskrit word for the month with the Thai name มกราคม: ``` SELECT sanskrit_word FROM table_20354_5 WHERE thai_name = "มกราคม" ```
6,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_20354_5 (sanskrit_word VARCHAR, thai_name VARCHAR)\n\n Question: What's the Sanskrit word for month with Thai name มกราคม?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR) Question: How many different transcriptions are there for the Thai name พฤษภาคม? Here is the SQLite query to ans...
Here is the SQLite query to determine how many different transcriptions there are for the Thai name พฤษภาคม: ```sql SELECT COUNT(DISTINCT transcription) FROM table_20354_5 WHERE thai_name = "พฤษภาคม"; ```
6,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_20354_5 (transcription VARCHAR, thai_name VARCHAR)\n\n Question: How many different transcriptions are there for the Thai na...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20367820_16 (innings INTEGER, average VARCHAR) Question: What is the innings when the average is 36.48? Here is the SQLite query to answer to the question: What is...
```sql SELECT innings FROM table_20367820_16 WHERE average = "36.48"; ```
6,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_20367820_16 (innings INTEGER, average VARCHAR)\n\n Question: What is the innings when the average is 36.48?\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_20367820_16 (not_out VARCHAR, average VARCHAR) Question: How many no outs are there for an average of 43.70? Here is the SQLite query to answer to the question: Ho...
To count the number of no outs for an average of 43.70, you can use the `COUNT()` function in your query. Here is the correct SQLite query: ``` SELECT COUNT(not_out) AS no_out_count FROM table_20367820_16 WHERE average = "43.70" ``` This query will return the number of records where the average is 43.70, counting th...
6,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_20367820_16 (not_out VARCHAR, average VARCHAR)\n\n Question: How many no outs are there for an average of 43.70?\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_20367820_16 (not_out VARCHAR, average VARCHAR) Question: How many no outs for an average of 56.38? Here is the SQLite query to answer to the question: How many no ...
Here is the SQLite query to answer the question about how many no outs there are for an average of 56.38: ``` SELECT COUNT(not_out) FROM table_20367820_16 WHERE average = "56.38"; ```
6,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_20367820_16 (not_out VARCHAR, average VARCHAR)\n\n Question: How many no outs for an average of 56.38?\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_20396_1 (poles VARCHAR, points VARCHAR) Question: How many poles had 78 points? Here is the SQLite query to answer to the question: How many poles had 78 points?: ...
Your SQLite query is correct for counting the number of poles that had 78 points. Here it is, properly formatted: ``` SELECT COUNT(poles) FROM table_20396_1 WHERE points = '78'; ``` Note that in SQL, you can use either single quotes or double quotes for string literals, but single quotes are generally preferred for ...
6,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_20396_1 (poles VARCHAR, points VARCHAR)\n\n Question: How many poles had 78 points?\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_20396_1 (poles VARCHAR, points VARCHAR) Question: How many poles had 72 points? Here is the SQLite query to answer to the question: How many poles had 72 points?: ...
The SQLite query you provided is almost correct. It will count the number of rows where the `points` column has the value "72". However, if you want to ensure that you count distinct poles that had 72 points (in case there are multiple rows for the same pole), you might want to use `COUNT(DISTINCT poles)`. Here is th...
6,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_20396_1 (poles VARCHAR, points VARCHAR)\n\n Question: How many poles had 72 points?\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_20396_1 (poles VARCHAR, season VARCHAR) Question: How many poles were there in season 2000? Here is the SQLite query to answer to the question: How many poles were...
To find out how many poles were there in season 2000, you should count the number of entries for that season. The query should look like this: ``` SELECT COUNT(poles) AS total_poles FROM table_20396_1 WHERE season = '2000' ``` This query will return the total number of poles in season 2000. Note that the season valu...
6,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_20396_1 (poles VARCHAR, season VARCHAR)\n\n Question: How many poles were there in season 2000?\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_20396_1 (team VARCHAR, points VARCHAR) Question: What team scored 4 points? Here is the SQLite query to answer to the question: What team scored 4 points?: ``` SEL...
Here is the SQLite query to answer the question "What team scored 4 points?": ``` SELECT team FROM table_20396_1 WHERE points = "4"; ```
6,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_20396_1 (team VARCHAR, points VARCHAR)\n\n Question: What team scored 4 points?\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_20462111_1 (winner VARCHAR, date VARCHAR) Question: Who won the cup on 30.11.2008? Here is the SQLite query to answer to the question: Who won the cup on 30.11.200...
Here is the SQLite query to answer the question: Who won the cup on 30.11.2008?: ``` SELECT winner FROM table_20462111_1 WHERE date = "30.11.2008" ```
6,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_20462111_1 (winner VARCHAR, date VARCHAR)\n\n Question: Who won the cup on 30.11.2008?\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_20462111_1 (date VARCHAR) Question: Who got the 3rd place in the cup on 01.02.2009? Here is the SQLite query to answer to the question: Who got the 3rd place in th...
It seems that the provided query doesn't logically address the question of finding who got 3rd place in the cup on a specific date since the current table schema only includes a single column for dates and does not contain any information about cup placements. To accurately respond, the SQL schema would typically need...
6,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_20462111_1 (date VARCHAR)\n\n Question: Who got the 3rd place in the cup on 01.02.2009?\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_20462111_1 (location VARCHAR, date VARCHAR) Question: Where was the cup on 07.02.2009 held? Here is the SQLite query to answer to the question: Where was the cup o...
Here is the SQLite query to answer the question: Where was the cup on 07.02.2009 held?: ``` SELECT location FROM table_20462111_1 WHERE date = "07.02.2009" ```
6,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_20462111_1 (location VARCHAR, date VARCHAR)\n\n Question: Where was the cup on 07.02.2009 held?\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_2051288_1 (_2000_ VARCHAR, population__may INTEGER, location VARCHAR, barangay VARCHAR) Question: What was the population of the coastal location Isio in May of 200...
To obtain the population of the coastal location Isio in May of 2000, you should select the `population__may` column along with the date instead of using `MIN()`, since you are looking for a specific record. Here is the corrected SQLite query: ``` SELECT population__may FROM table_2051288_1 WHERE location = "coastal" ...
6,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_2051288_1 (_2000_ VARCHAR, population__may INTEGER, location VARCHAR, barangay VARCHAR)\n\n Question: What was the populatio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20522228_2 (share INTEGER, rank__overall_ VARCHAR) Question: What was the share for rank 54? Here is the SQLite query to answer to the question: What was the share...
Here is the SQLite query to answer the question about the share for rank 54: ``` SELECT share FROM table_20522228_2 WHERE rank__overall_ = "54" ```
6,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_20522228_2 (share INTEGER, rank__overall_ VARCHAR)\n\n Question: What was the share for rank 54?\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_20522228_2 (rating VARCHAR, viewers__millions_ VARCHAR) Question: What are the ratings/share ratio when viewers are 5.50 Million? Here is the SQLite query to answe...
It seems there may be a small mistake in your query, particularly with the use of `SHARE(18 - 49)`, as there is no mention of a `SHARE` column in the provided schema. Assuming you simply want to find the ratings share ratio for records where viewers are 5.50 million, I will provide a query using the `rating` column alo...
6,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_20522228_2 (rating VARCHAR, viewers__millions_ VARCHAR)\n\n Question: What are the ratings/share ratio when viewers are 5.50...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20522228_2 (rank__timeslot_ VARCHAR, rating VARCHAR) Question: What are the rank timeslots where ratings are 4.1? Here is the SQLite query to answer to the questi...
Here's the SQLite query to find the rank timeslots where ratings are 4.1: ``` SELECT rank__timeslot_ FROM table_20522228_2 WHERE rating = '4.1'; ```
6,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_20522228_2 (rank__timeslot_ VARCHAR, rating VARCHAR)\n\n Question: What are the rank timeslots where ratings are 4.1?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20522228_2 (rank__overall_ VARCHAR, viewers__millions_ VARCHAR) Question: What is overall rank when viewers are at 6.59 million? Here is the SQLite query to answer...
Here is the SQLite query to answer the question about the overall rank when viewers are at 6.59 million: ``` SELECT rank__overall_ FROM table_20522228_2 WHERE viewers__millions_ = "6.59" ```
6,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_20522228_2 (rank__overall_ VARCHAR, viewers__millions_ VARCHAR)\n\n Question: What is overall rank when viewers are at 6.59 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20522228_2 (episode VARCHAR, share VARCHAR) Question: What was the episode name when share was 8? Here is the SQLite query to answer to the question: What was the ...
Your SQLite query is almost correct, but there is a small issue. The `share` column is defined as `VARCHAR`, which means the value '8' should be wrapped in single quotes. Here is the corrected query: ``` SELECT episode FROM table_20522228_2 WHERE share = '8' ```
6,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_20522228_2 (episode VARCHAR, share VARCHAR)\n\n Question: What was the episode name when share was 8?\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_20538157_2 (written_by VARCHAR, no_in_season VARCHAR) Question: Who were the writers of episode 20? Here is the SQLite query to answer to the question: Who were th...
Your SQLite query to find the writers of episode 20 looks nearly correct, but please note that `no_in_season` appears to be defined as `VARCHAR`. Therefore, to match the value of 20, it should be compared as a string. Here is the corrected query: ``` SELECT written_by FROM table_20538157_2 WHERE no_in_season = '20'; `...
6,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_20538157_2 (written_by VARCHAR, no_in_season VARCHAR)\n\n Question: Who were the writers of episode 20?\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_20573232_1 (county VARCHAR, others_number VARCHAR) Question: What county has others at 5? Here is the SQLite query to answer to the question: What county has other...
Your SQLite query has a small issue regarding the comparison with the `others_number`, which is defined as a `VARCHAR`. When comparing VARCHAR to a number, you need to represent the number as a string. Here's the corrected query: ``` SELECT county FROM table_20573232_1 WHERE others_number = '5' ``` This will correct...
6,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_20573232_1 (county VARCHAR, others_number VARCHAR)\n\n Question: What county has others at 5?\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_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR) Question: What is the percentage of others when McCain is at 57.7% Here is the SQLite query to an...
Here is the SQLite query to answer the question regarding the percentage of others when McCain is at 57.7%: ```sql SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = '57.7%'; ```
6,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_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR)\n\n Question: What is the percentage of others when McCain...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20573232_1 (nader_percentage VARCHAR, obama_percentage VARCHAR) Question: What is Nader's percentage when Obama is 44.6%? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question: What is Nader's percentage when Obama is 44.6%?: ``` SELECT nader_percentage FROM table_20573232_1 WHERE obama_percentage = "44.6%" ```
6,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_20573232_1 (nader_percentage VARCHAR, obama_percentage VARCHAR)\n\n Question: What is Nader's percentage when Obama is 44.6%...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2064747_1 (location_s_ VARCHAR, accreditation VARCHAR) Question: What schools are accredited by COE? Here is the SQLite query to answer to the question: What schoo...
Here is the SQLite query to answer the question about which schools are accredited by COE: ```sql SELECT location_s_ FROM table_2064747_1 WHERE accreditation = "COE"; ```
6,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_2064747_1 (location_s_ VARCHAR, accreditation VARCHAR)\n\n Question: What schools are accredited by COE?\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_2064747_1 (location_s_ VARCHAR, founded VARCHAR) Question: Where was there a school founded in 1927? Here is the SQLite query to answer to the question: Where was ...
Here is the correct SQLite query to answer the question about where there was a school founded in 1927: ``` SELECT location_s_ FROM table_2064747_1 WHERE founded = '1927' ``` Make sure to use quotes around the year '1927' since it is stored as a string in the database.
6,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_2064747_1 (location_s_ VARCHAR, founded VARCHAR)\n\n Question: Where was there a school founded in 1927?\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_206361_2 (length__in_m_ INTEGER, average_climb___percentage_ VARCHAR) Question: What is the minimum length of the locations where the average climb percentage is ex...
The SQLite query you provided is almost correct, but it's important to note that the value for `average_climb___percentage_` should be compared as a string since the column is defined as `VARCHAR`. It should be enclosed in single quotes to represent the percentage as '59%'. Here’s the corrected query: ``` SELECT MIN(l...
6,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_206361_2 (length__in_m_ INTEGER, average_climb___percentage_ VARCHAR)\n\n Question: What is the minimum length of the locati...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_206361_2 (kilometer INTEGER) Question: What is the maximum number of km listed? Here is the SQLite query to answer to the question: What is the maximum number of k...
Here is the SQLite query to answer the question regarding the maximum number of kilometers listed: ``` SELECT MAX(kilometer) FROM table_206361_2; ```
6,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_206361_2 (kilometer INTEGER)\n\n Question: What is the maximum number of km listed?\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_2068719_1 (δs_ VARCHAR, _butadiene VARCHAR) Question: Name the number of δs ‡ /cal mol −1 k −1 for butadiene being 1,2-dimethylene-cyclohexane Here is the SQLite q...
Here is the SQLite query wrapped in the required format: ``` SELECT COUNT(δs_) AS ‡__cal_mol_−1_k_−1 FROM table_2068719_1 WHERE _butadiene = "1,2-dimethylene-cyclohexane" ```
6,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_2068719_1 (δs_ VARCHAR, _butadiene VARCHAR)\n\n Question: Name the number of δs ‡ /cal mol −1 k −1 for butadiene being 1,2-d...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, against___percentage_ VARCHAR) Question: When 17,874 (33.2) is the percentage against what is the percentage for? Here is th...
Here is the SQLite query wrapped in the requested format: ``` SELECT for___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "17,874 (33.2)" ```
6,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_20683381_3 (for___percentage_ VARCHAR, against___percentage_ VARCHAR)\n\n Question: When 17,874 (33.2) is the percentage aga...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20683381_3 (electorate VARCHAR, for___percentage_ VARCHAR) Question: When 27,822 (72.3) is the percentage for how many electorate measurements are there? Here is t...
Here is the SQLite query to answer the question regarding how many electorate measurements there are when the percentage is "27,822 (72.3)": ``` SELECT COUNT(electorate) FROM table_20683381_3 WHERE for___percentage_ = "27,822 (72.3)" ```
6,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_20683381_3 (electorate VARCHAR, for___percentage_ VARCHAR)\n\n Question: When 27,822 (72.3) is the percentage for how many e...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR) Question: When 13,895 (27.3) is the percentage against what is the toll poll percentage...
Here is the SQLite query to answer the question about the total poll percentage when the percentage against is 13,895 (27.3): ``` SELECT total_poll___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "13,895 (27.3)" ```
6,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_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR)\n\n Question: When 13,895 (27.3) is the percent...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) Question: When +18.1 is the ± yes side 2008 percentage what is the percentage of a...
Here is the SQLite query to answer the question: ```sql SELECT against___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+18.1" ```
6,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_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR)\n\n Question: When +18.1 is the ± yes side...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR) Question: When 60,254 (58.0) is the toll poll percentage what is the for percentage? Here...
Here is the SQLite query formatted as requested: ``` SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.0)" ```
6,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_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR)\n\n Question: When 60,254 (58.0) is the toll poll ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) Question: When +20.3 is the ± yes side 2008 (%) what is the for percentage? Here is t...
Here is the SQLite query to answer the question: ``` SELECT for___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+20.3" ```
6,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_20683381_3 (for___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR)\n\n Question: When +20.3 is the ± yes side 200...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20704243_6 (original_air_date VARCHAR, season__number VARCHAR) Question: What was the original air date for season 11? Here is the SQLite query to answer to the qu...
Your provided query is almost correct, but you need to ensure that the `season__number` is treated as a string since it's defined as `VARCHAR`. Therefore, you should wrap the number 11 in quotes. Here is the corrected query: ``` SELECT original_air_date FROM table_20704243_6 WHERE season__number = '11' ```
6,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_20704243_6 (original_air_date VARCHAR, season__number VARCHAR)\n\n Question: What was the original air date for season 11?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20704243_6 (title VARCHAR, directed_by VARCHAR) Question: What episode did John Rogers direct? Here is the SQLite query to answer to the question: What episode did...
Here is the SQLite query to answer the question "What episode did John Rogers direct?": ``` SELECT title FROM table_20704243_6 WHERE directed_by = 'John Rogers'; ```
6,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_20704243_6 (title VARCHAR, directed_by VARCHAR)\n\n Question: What episode did John Rogers direct?\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_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR) Question: Who directed the episode that aired on july15,2012? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question about who directed the episode that aired on July 15, 2012: ``` SELECT directed_by FROM table_20704243_6 WHERE original_air_date = "July15,2012" ```
6,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_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR)\n\n Question: Who directed the episode that aired on july15,2012...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20704243_6 (title VARCHAR, original_air_date VARCHAR) Question: Which episode aired on august19,2012? Here is the SQLite query to answer to the question: Which epi...
Here is the SQLite query to answer the question: Which episode aired on August 19, 2012?: ```sql SELECT title FROM table_20704243_6 WHERE original_air_date = "August 19, 2012" ```
6,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_20704243_6 (title VARCHAR, original_air_date VARCHAR)\n\n Question: Which episode aired on august19,2012?\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_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR) Question: What is the weight with a cross section area of 25.3? Here is the SQLite query to a...
Here is the SQLite query to answer the question regarding the weight with a cross section area of 25.3: ``` SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = '25.3' ```
6,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_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR)\n\n Question: What is the weight with a cross section ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, flange_width__mm_ VARCHAR) Question: How many weights are there when the flange with is 304? Here is the SQLite query to answer t...
Here is the correct SQLite query to answer the question of how many weights there are when the flange width is 304: ```sql SELECT COUNT(weight__kg_m_) FROM table_2071644_2 WHERE flange_width__mm_ = '304' ``` Note that the value '304' is wrapped in quotes, as it is stored as a VARCHAR in the database schema.
6,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_2071644_2 (weight__kg_m_ VARCHAR, flange_width__mm_ VARCHAR)\n\n Question: How many weights are there when the flange with i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2071644_2 (web_thickness__mm_ VARCHAR, flange_width__mm_ VARCHAR) Question: What is the web thickness if the flange width is 100? Here is the SQLite query to answe...
Your SQLite query contains a minor issue regarding the comparison of the flange width value, which is stored as a VARCHAR. You should treat it as a string when comparing. Here is the corrected version of the query: ```sql SELECT web_thickness__mm_ FROM table_2071644_2 WHERE flange_width__mm_ = '100'; ```
6,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_2071644_2 (web_thickness__mm_ VARCHAR, flange_width__mm_ VARCHAR)\n\n Question: What is the web thickness if the flange widt...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR) Question: If the cross-section area is 21.2, what is the weight? Here is the SQLite query to ...
Here is the SQLite query to answer the question regarding the weight when the cross-section area is 21.2: ``` SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "21.2" ```
6,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_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR)\n\n Question: If the cross-section area is 21.2, what ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2071644_2 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR) Question: What is the flange thickness when the weight is 19.9? Here is the SQLite query to answer...
Here is the SQLite query to answer the question about the flange thickness when the weight is 19.9: ``` SELECT flange_thickness__mm_ FROM table_2071644_2 WHERE weight__kg_m_ = "19.9" ```
6,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_2071644_2 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)\n\n Question: What is the flange thickness when the weight ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR) Question: Who directed the episode with a production code of 4WAB05? Here is the SQLite query to answer to...
Here is the SQLite query to answer the question of who directed the episode with a production code of 4WAB05: ``` SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB05" ```
6,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_20726262_5 (directedby VARCHAR, production_code VARCHAR)\n\n Question: Who directed the episode with a production code of 4W...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR) Question: Who directed the episode with a production code of 4WAB04? Here is the SQLite query to answer to...
Here is the SQLite query to answer the question about who directed the episode with a production code of 4WAB04: ``` SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB04"; ```
6,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_20726262_5 (directedby VARCHAR, production_code VARCHAR)\n\n Question: Who directed the episode with a production code of 4W...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20726262_6 (no_in_season INTEGER, directedby VARCHAR) Question: What episode was directed by Karen Gaviola? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question regarding which episode was directed by Karen Gaviola: ``` SELECT no_in_season FROM table_20726262_6 WHERE directedby = "Karen Gaviola" ```
6,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_20726262_6 (no_in_season INTEGER, directedby VARCHAR)\n\n Question: What episode was directed by Karen Gaviola?\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_20745706_1 (score VARCHAR, date VARCHAR) Question: What was the score on February 8, 1992? Here is the SQLite query to answer to the question: What was the score o...
Here is the SQLite query to answer the question about the score on February 8, 1992: ```sql SELECT score FROM table_20745706_1 WHERE date = "February 8, 1992"; ```
6,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_20745706_1 (score VARCHAR, date VARCHAR)\n\n Question: What was the score on February 8, 1992?\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_20745706_1 (opponent VARCHAR, _number VARCHAR) Question: Who is the opponent in game 5? Here is the SQLite query to answer to the question: Who is the opponent in ...
Your SQLite query is correct for retrieving the opponent in game 5. Here it is wrapped in the requested format: ``` SELECT opponent FROM table_20745706_1 WHERE _number = "5"; ```
6,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_20745706_1 (opponent VARCHAR, _number VARCHAR)\n\n Question: Who is the opponent in game 5?\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_20745706_1 (date VARCHAR, _number VARCHAR) Question: What is the date of game 5? Here is the SQLite query to answer to the question: What is the date of game 5?: `...
Sure! Here is the SQLite query you can use to find the date of game 5, formatted as you requested: ``` SELECT date FROM table_20745706_1 WHERE _number = "5" ```
6,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_20745706_1 (date VARCHAR, _number VARCHAR)\n\n Question: What is the date of game 5?\n\nHere is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20745746_1 (attendance INTEGER, date VARCHAR) Question: What was attendance on March 11, 1995? Here is the SQLite query to answer to the question: What was attenda...
The provided query is using the `MIN` function, which is unnecessary if you only want a single attendance value for a specific date. Here’s a more straightforward query to get the attendance on March 11, 1995: ``` SELECT attendance FROM table_20745746_1 WHERE date = "March 11, 1995" ```
6,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_20745746_1 (attendance INTEGER, date VARCHAR)\n\n Question: What was attendance on March 11, 1995?\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_20745746_1 (score VARCHAR, attendance VARCHAR) Question: What was the score when 7260 people attended the game? Here is the SQLite query to answer to the question:...
Your query is almost correct, but since the `attendance` column is defined as `VARCHAR`, you need to wrap the value `7260` in quotes. Here's the corrected query: ``` SELECT score FROM table_20745746_1 WHERE attendance = '7260' ```
6,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_20745746_1 (score VARCHAR, attendance VARCHAR)\n\n Question: What was the score when 7260 people attended the 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_20745746_1 (_number VARCHAR, record VARCHAR) Question: How many games resulted in a loss? Here is the SQLite query to answer to the question: How many games result...
To count the number of games that resulted in a loss, you need to use the `COUNT` function in your SQL query. Here’s how you can do that: ```sql SELECT COUNT(*) FROM table_20745746_1 WHERE record = 'Loss'; ``` This query counts the number of rows in `table_20745746_1` where the `record` is 'Loss'.
6,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_20745746_1 (_number VARCHAR, record VARCHAR)\n\n Question: How many games resulted in a loss?\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_20745746_1 (date VARCHAR, _number VARCHAR) Question: What is the date of game 7? Here is the SQLite query to answer to the question: What is the date of game 7?: `...
Here is the SQLite query to answer the question about the date of game 7: ``` SELECT date FROM table_20745746_1 WHERE _number = "7" ```
6,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_20745746_1 (date VARCHAR, _number VARCHAR)\n\n Question: What is the date of game 7?\n\nHere is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20750731_1 (obama_number INTEGER, mccain_percentage VARCHAR) Question: What is the Obama# when McCain% is 64.4%? Here is the SQLite query to answer to the question...
Your provided query is almost correct, but in SQLite, we typically should handle percentage values with text correctly. However, if the percentage is stored as a string (which it appears to be in your schema), the query should work correctly as long as the value is exactly "64.4%". If you want to retrieve the Obama n...
6,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_20750731_1 (obama_number INTEGER, mccain_percentage VARCHAR)\n\n Question: What is the Obama# when McCain% is 64.4%?\n\nHere...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_number VARCHAR) Question: Name the Others# when McCain# is 4730. Here is the SQLite query to answer to the question: Name...
Your SQLite query is almost correct, but since `mccain_number` is of type VARCHAR, you need to wrap the value `4730` in single quotes. Here is the corrected query wrapped in code format: ``` SELECT others_number FROM table_20750731_1 WHERE mccain_number = '4730' ```
6,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_20750731_1 (others_number VARCHAR, mccain_number VARCHAR)\n\n Question: Name the Others# when McCain# is 4730.\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_20750731_1 (county VARCHAR, obama_percentage VARCHAR) Question: What County was the Obama% at 41.7%? Here is the SQLite query to answer to the question: What Count...
Here's the SQLite query to find out which county had an Obama percentage of 41.7%: ``` SELECT county FROM table_20750731_1 WHERE obama_percentage = '41.7%'; ```
6,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_20750731_1 (county VARCHAR, obama_percentage VARCHAR)\n\n Question: What County was the Obama% at 41.7%?\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_20750731_1 (others_number VARCHAR, mccain_percentage VARCHAR) Question: When McCain% was 64.8%, what is the Others#? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about retrieving the Others# when McCain% was 64.8%: ```sql SELECT others_number FROM table_20750731_1 WHERE mccain_percentage = '64.8%'; ```
6,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_20750731_1 (others_number VARCHAR, mccain_percentage VARCHAR)\n\n Question: When McCain% was 64.8%, what is the Others#?\n\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR) Question: What was the Obama% when McCain% was 61.2%? Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question about the Obama percentage when McCain percentage was 61.2%: ``` SELECT obama_percentage FROM table_20750731_1 WHERE mccain_percentage = "61.2%" ```
6,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_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)\n\n Question: What was the Obama% when McCain% was 61.2%?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20745759_1 (date VARCHAR, attendance VARCHAR) Question: Name the date for attendance 9372 Here is the SQLite query to answer to the question: Name the date for att...
Here is the SQLite query to answer the question about the date for attendance 9372: ``` SELECT date FROM table_20745759_1 WHERE attendance = '9372' ```
6,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_20745759_1 (date VARCHAR, attendance VARCHAR)\n\n Question: Name the date for attendance 9372\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_20745759_1 (record VARCHAR, date VARCHAR) Question: Name the record for january 18, 1997 Here is the SQLite query to answer to the question: Name the record for ja...
Sure! Here is the SQLite query wrapped in the appropriate format: ``` SELECT record FROM table_20745759_1 WHERE date = "January 18, 1997"; ```
6,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_20745759_1 (record VARCHAR, date VARCHAR)\n\n Question: Name the record for january 18, 1997\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_20745759_1 (score VARCHAR, date VARCHAR) Question: Name the score for march 29, 1997 Here is the SQLite query to answer to the question: Name the score for march 2...
Here is the SQLite query to answer the question of naming the score for March 29, 1997: ``` SELECT score FROM table_20745759_1 WHERE date = "March 29, 1997"; ```
6,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_20745759_1 (score VARCHAR, date VARCHAR)\n\n Question: Name the score for march 29, 1997\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_20754016_2 (height__ft_ VARCHAR, country VARCHAR) Question: How tall is the contestant from Honduras? Here is the SQLite query to answer to the question: How tall ...
Here is the SQLite query to answer the question: How tall is the contestant from Honduras?: ``` SELECT height__ft_ FROM table_20754016_2 WHERE country = "Honduras" ```
6,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_20754016_2 (height__ft_ VARCHAR, country VARCHAR)\n\n Question: How tall is the contestant from Honduras?\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_20754016_2 (country VARCHAR, hometown VARCHAR) Question: What country is the contestant from Chihuahua from? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question: ``` SELECT country FROM table_20754016_2 WHERE hometown = "Chihuahua"; ```
6,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_20754016_2 (country VARCHAR, hometown VARCHAR)\n\n Question: What country is the contestant from Chihuahua from?\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_20754016_2 (contestant VARCHAR, height__cm_ VARCHAR) Question: What contestant is 173 cm tall? Here is the SQLite query to answer to the question: What contestant ...
Here is the SQLite query to answer the question "What contestant is 173 cm tall?": ``` SELECT contestant FROM table_20754016_2 WHERE height__cm_ = '173' ``` Note: Since the `height__cm_` column is defined as `VARCHAR`, the height value should be enclosed in quotes.
6,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_20754016_2 (contestant VARCHAR, height__cm_ VARCHAR)\n\n Question: What contestant is 173 cm tall?\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_20754016_2 (country VARCHAR, hometown VARCHAR) Question: What country is the contestant from Salto from? Here is the SQLite query to answer to the question: What c...
Here is the SQLite query to answer the question about the contestant from Salto: ``` SELECT country FROM table_20754016_2 WHERE hometown = "Salto"; ```
6,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_20754016_2 (country VARCHAR, hometown VARCHAR)\n\n Question: What country is the contestant from Salto from?\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_20754016_2 (height__cm_ VARCHAR, country VARCHAR) Question: How tall is the contestant from Guatemala? Here is the SQLite query to answer to the question: How tall...
``` SELECT height__cm_ FROM table_20754016_2 WHERE country = "Guatemala"; ```
6,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_20754016_2 (height__cm_ VARCHAR, country VARCHAR)\n\n Question: How tall is the contestant from Guatemala?\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_2076463_2 (enrollment INTEGER, location_s_ VARCHAR) Question: How much would you expect the enrollment to be in Springfield? Here is the SQLite query to answer to ...
To estimate the expected enrollment in Springfield, it would be more appropriate to use the average (mean) of the enrollment figures rather than the minimum. Here's how you can write the SQLite query to calculate the average enrollment for Springfield: ```sql SELECT AVG(enrollment) FROM table_2076463_2 WHERE location_...
6,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_2076463_2 (enrollment INTEGER, location_s_ VARCHAR)\n\n Question: How much would you expect the enrollment to be in Springfi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076463_2 (location_s_ VARCHAR, control VARCHAR, founded VARCHAR) Question: where would you find a public university which was founded in 1915? Here is the SQLite ...
Here is the SQLite query to answer the question about where to find a public university which was founded in 1915: ``` SELECT location_s_ FROM table_2076463_2 WHERE control = 'Public university' AND founded = '1915'; ```
6,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_2076463_2 (location_s_ VARCHAR, control VARCHAR, founded VARCHAR)\n\n Question: where would you find a public university whi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076463_2 (control VARCHAR, founded VARCHAR) Question: What is the only type of university that was founded in 1873? Here is the SQLite query to answer to the ques...
To answer the question about the type of university that was founded in 1873 using the given database schema, you should use the following SQLite query: ``` SELECT control FROM table_2076463_2 WHERE founded = '1873' ``` Note that the value for the `founded` column is treated as a string (VARCHAR), so it is enclosed ...
6,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_2076463_2 (control VARCHAR, founded VARCHAR)\n\n Question: What is the only type of university that was founded in 1873?\n\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076463_2 (enrollment VARCHAR, location_s_ VARCHAR) Question: What enrollement would you expect if you were attending the university in St. Louis? Here is the SQLi...
Sure! Here’s the SQLite query you need: ``` SELECT enrollment FROM table_2076463_2 WHERE location_s_ = "St. Louis" ```
6,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_2076463_2 (enrollment VARCHAR, location_s_ VARCHAR)\n\n Question: What enrollement would you expect if you were attending th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076463_2 (school VARCHAR, location_s_ VARCHAR) Question: Which school would you come across if you were in Kirksville? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question about which school you would come across if you were in Kirksville: ``` SELECT school FROM table_2076463_2 WHERE location_s_ = "Kirksville"; ```
6,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_2076463_2 (school VARCHAR, location_s_ VARCHAR)\n\n Question: Which school would you come across if you were in Kirksville?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076463_2 (control VARCHAR, school VARCHAR) Question: What type of school would you see when visiting Missouri Western State University? Here is the SQLite query t...
Here is the SQLite query to answer the question about the type of school you would see when visiting Missouri Western State University: ``` SELECT control FROM table_2076463_2 WHERE school = "Missouri Western State University" ```
6,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_2076463_2 (control VARCHAR, school VARCHAR)\n\n Question: What type of school would you see when visiting Missouri Western S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076516_1 (founded INTEGER, school VARCHAR) Question: When east carolina university is the school what is the highest year founded? Here is the SQLite query to ans...
Here is the SQLite query to answer the question: When East Carolina University is the school, what is the highest year founded?: ``` SELECT MAX(founded) FROM table_2076516_1 WHERE school = "East Carolina University" ```
6,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_2076516_1 (founded INTEGER, school VARCHAR)\n\n Question: When east carolina university is the school what is the highest ye...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076516_1 (enrollment__2012_ VARCHAR, founded VARCHAR) Question: When 1927 is the founded year how many measurements of enrollment in 2012 are there? Here is the S...
Here's the corrected SQLite query to answer the question about counting the measurements of enrollment in 2012 for the founded year 1927: ``` SELECT COUNT(enrollment__2012_) FROM table_2076516_1 WHERE founded = '1927'; ``` Make sure to wrap the year '1927' in single quotes since it is a VARCHAR type in the schema.
6,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_2076516_1 (enrollment__2012_ VARCHAR, founded VARCHAR)\n\n Question: When 1927 is the founded year how many measurements of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076516_1 (control VARCHAR, school VARCHAR) Question: When western carolina university is the school what is the control? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question: ``` SELECT control FROM table_2076516_1 WHERE school = "Western Carolina University"; ```
6,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_2076516_1 (control VARCHAR, school VARCHAR)\n\n Question: When western carolina university is the school what is the control...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076516_1 (enrollment__2012_ INTEGER, school VARCHAR) Question: When university of north carolina at charlotte is the school what is the lowest enrollment in 2012? ...
Here is the SQLite query to answer the question about the lowest enrollment in 2012 for the University of North Carolina at Charlotte: ``` SELECT MIN(enrollment__2012_) FROM table_2076516_1 WHERE school = "University of North Carolina at Charlotte" ```
6,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_2076516_1 (enrollment__2012_ INTEGER, school VARCHAR)\n\n Question: When university of north carolina at charlotte is the sc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076522_2 (enrollment__fall_2010_ VARCHAR, location_s_ VARCHAR) Question: What is the enrollment for the school in bottineau? Here is the SQLite query to answer to...
Here is the SQLite query to answer the question about the enrollment for the school in Bottineau: ``` SELECT enrollment__fall_2010_ FROM table_2076522_2 WHERE location_s_ = "Bottineau"; ```
6,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_2076522_2 (enrollment__fall_2010_ VARCHAR, location_s_ VARCHAR)\n\n Question: What is the enrollment for the school in botti...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076522_2 (control VARCHAR, accreditation VARCHAR) Question: What is the control for the school accredited by the higher learning commission ( nca ), ccne? Here is...
Your SQLite query is almost correct, but the accreditation string you are using in the WHERE clause should match exactly with the data in the database. Assuming "The Higher Learning Commission ( NCA ), CCNE" is the exact string you are looking for, here’s the appropriate query formatted in code blocks: ``` SELECT cont...
6,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_2076522_2 (control VARCHAR, accreditation VARCHAR)\n\n Question: What is the control for the school accredited by the higher...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR) Question: What year was the school founded with an 898 enrollment? Here is the SQLite query to answer t...
Your SQLite query looks correct for finding the year the school was founded with an enrollment of 898. However, I noticed that the `enrollment__fall_2010_` column is defined as a VARCHAR, so you should ensure that you compare it as a string rather than an integer. Here’s the updated query wrapped in the required code b...
6,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_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR)\n\n Question: What year was the school founded with an 898 enrol...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076522_2 (accreditation VARCHAR, founded VARCHAR) Question: How many schools founded in 2006? Here is the SQLite query to answer to the question: How many schools...
Here is the SQLite query to answer the question regarding how many schools were founded in 2006: ```sql SELECT COUNT(accreditation) FROM table_2076522_2 WHERE founded = '2006'; ```
6,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_2076522_2 (accreditation VARCHAR, founded VARCHAR)\n\n Question: How many schools founded in 2006?\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_2076522_2 (accreditation VARCHAR, school VARCHAR) Question: What is the accrediation for united tribes technical college? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question about the accreditation for United Tribes Technical College: ``` SELECT accreditation FROM table_2076522_2 WHERE school = "United Tribes Technical College"; ```
6,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_2076522_2 (accreditation VARCHAR, school VARCHAR)\n\n Question: What is the accrediation for united tribes technical college...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076490_1 (founded INTEGER) Question: What is the latest founding date? Here is the SQLite query to answer to the question: What is the latest founding date? : ``...
Your SQLite query to find the latest founding date is correct. Here it is wrapped as requested: ``` SELECT MAX(founded) FROM table_2076490_1; ```
6,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_2076490_1 (founded INTEGER)\n\n Question: What is the latest founding date? \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_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR) Question: What was the enrollment (2005) for baccalaureate colleges , for Granite State College?...
Here is the SQLite query to answer the question regarding the enrollment (2005) for baccalaureate colleges at Granite State College: ``` SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State College"; ```
6,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_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR)\n\n Question: What was the enrollment (2005) for baccala...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076490_1 (founded VARCHAR, enrollment__2005_ VARCHAR) Question: What year is the founding year, for the school that had an enrollment in 2005 of 963? Here is the ...
Here is the SQLite query to answer the question about the founding year of the school with an enrollment of 963 in 2005: ``` SELECT founded FROM table_2076490_1 WHERE enrollment__2005_ = "963"; ```
6,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_2076490_1 (founded VARCHAR, enrollment__2005_ VARCHAR)\n\n Question: What year is the founding year, for the school that had...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR) Question: What school had an enrollment in 2005 of 69? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about which school had an enrollment in 2005 of 69: ``` SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69"; ```
6,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_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR)\n\n Question: What school had an enrollment in 2005 of 69?\n\nHere is ...