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_33 (date VARCHAR, record VARCHAR)
Question: What was the date of the game that led to a 48-21-6 record?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the date of the game that led to a 48-21-6 record:
```
SELECT date FROM table_name_33 WHERE record = "48-21-6"
``` | 45,300 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (date VARCHAR, record VARCHAR)\n\n Question: What was the date of the game that led to a 48-21-6 record?\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_50 (attendance INTEGER, date VARCHAR)
Question: Name the average attendance from june 11
Here is the SQLite query to answer to the question: Name the average ... | The SQLite query you provided is almost correct but needs a slight modification to ensure it calculates the average attendance for all records on or after June 11. If you want the average attendance from June 11 onward, you need to adjust the condition to use a comparison instead of an equality check. Here’s the correc... | 45,301 | [
{
"from": "human",
"value": " 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 (attendance INTEGER, date VARCHAR)\n\n Question: Name the average attendance from june 11\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_29 (margin_of_victory VARCHAR, country VARCHAR)
Question: What is south africa's margin of victory?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question about South Africa's margin of victory:
```
SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa"
``` | 45,302 | [
{
"from": "human",
"value": " 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 (margin_of_victory VARCHAR, country VARCHAR)\n\n Question: What is south africa's margin of victory?\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_68 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR)
Question: Which Score has a Year larger than 1980, and a Margin of... | Here is the SQLite query to answer the question based on the provided criteria:
```
SELECT score FROM table_name_68
WHERE year > 1980
AND margin_of_victory = "2 strokes"
AND country = "united states"
AND player = "jim furyk";
``` | 45,303 | [
{
"from": "human",
"value": " 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 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR)\n\n Question: Which Score ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR)
Question: What year was the Beaudesert suburb club founded
Here is the SQLite query to answer to the question: What year ... | Here is the SQLite query to answer the question about the year the Beaudesert suburb club was founded:
```sql
SELECT founded FROM table_name_95 WHERE suburb = "beaudesert";
``` | 45,304 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR)\n\n Question: What year was the Beaudesert suburb club founded\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (founded VARCHAR, suburb VARCHAR)
Question: What year did the Nerang Suburb get founded?
Here is the SQLite query to answer to the question: What year did ... | It looks like you want to retrieve the year that the Nerang suburb was founded, but the query you provided counts the number of entries instead of retrieving the founding year. Here is the corrected SQL query to get the founded year for Nerang:
```sql
SELECT founded FROM table_name_96 WHERE suburb = "nerang";
```
Th... | 45,305 | [
{
"from": "human",
"value": " 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 (founded VARCHAR, suburb VARCHAR)\n\n Question: What year did the Nerang Suburb get founded?\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_77 (opponent VARCHAR, date VARCHAR)
Question: Who was the opponent when the Phillies played on April 28?
Here is the SQLite query to answer to the question: W... | ```sql
SELECT opponent FROM table_name_77 WHERE date = "April 28";
``` | 45,306 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)\n\n Question: Who was the opponent when the Phillies played on April 28?\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_61 (run_rate INTEGER, rank VARCHAR)
Question: What is the run rate for rank 4?
Here is the SQLite query to answer to the question: What is the run rate for ra... | Here is the corrected SQLite query to answer the question regarding the run rate for rank 4:
```
SELECT run_rate FROM table_name_61 WHERE rank = '4'
```
In this query, we are selecting the `run_rate` directly associated with `rank` 4. Note that rank values are stored as strings (VARCHAR), so we should include the ran... | 45,307 | [
{
"from": "human",
"value": " 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 (run_rate INTEGER, rank VARCHAR)\n\n Question: What is the run rate for rank 4?\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_44 (released VARCHAR, chinese_title VARCHAR)
Question: Chinese title of 反正 卓文萱 had what released?
Here is the SQLite query to answer to the question: Chinese ... | Here is the SQLite query to answer the question: Chinese title of 反正 卓文萱 had what released?:
```
SELECT released FROM table_name_44 WHERE chinese_title = "反正 卓文萱";
``` | 45,308 | [
{
"from": "human",
"value": " 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 (released VARCHAR, chinese_title VARCHAR)\n\n Question: Chinese title of 反正 卓文萱 had what released?\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_94 (chinese_title VARCHAR, album_number VARCHAR)
Question: Album # of 5th is what chinese title?
Here is the SQLite query to answer to the question: Album # o... | Here is the SQLite query to answer the question: Album # of 5th is what chinese title?:
```
SELECT chinese_title FROM table_name_94 WHERE album_number = "5th";
``` | 45,309 | [
{
"from": "human",
"value": " 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 (chinese_title VARCHAR, album_number VARCHAR)\n\n Question: Album # of 5th is what chinese title?\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_6 (released VARCHAR, album_number VARCHAR)
Question: Album # of 1st was released on what date?
Here is the SQLite query to answer to the question: Album # of ... | Here is the SQLite query to answer the question about when the album # of 1st was released:
```
SELECT released FROM table_name_6 WHERE album_number = '1st';
``` | 45,310 | [
{
"from": "human",
"value": " 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 (released VARCHAR, album_number VARCHAR)\n\n Question: Album # of 1st was released on what date?\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_57 (chinese_title VARCHAR, album_number VARCHAR)
Question: Album # of 3rd is what chinese title?
Here is the SQLite query to answer to the question: Album # o... | Here is the SQLite query to answer the question regarding the Chinese title for the "3rd" album number:
```
SELECT chinese_title FROM table_name_57 WHERE album_number = '3rd';
``` | 45,311 | [
{
"from": "human",
"value": " 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 (chinese_title VARCHAR, album_number VARCHAR)\n\n Question: Album # of 3rd is what chinese title?\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_41 (released VARCHAR, english_title VARCHAR)
Question: English title of oxygenie of happiness has what release date?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question regarding the release date of the English title "oxygenie of happiness":
```
SELECT released FROM table_name_41 WHERE english_title = "oxygenie of happiness";
``` | 45,312 | [
{
"from": "human",
"value": " 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 (released VARCHAR, english_title VARCHAR)\n\n Question: English title of oxygenie of happiness has what release date... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (score VARCHAR, home VARCHAR, date VARCHAR)
Question: Which Score has a Home of quebec nordiques on april 16?
Here is the SQLite query to answer to the que... | Your SQLite query is correct for retrieving the score of the home team "quebec nordiques" on "april 16". Here it is wrapped in the requested format:
```
SELECT score FROM table_name_83 WHERE home = "quebec nordiques" AND date = "april 16";
``` | 45,313 | [
{
"from": "human",
"value": " 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 (score VARCHAR, home VARCHAR, date VARCHAR)\n\n Question: Which Score has a Home of quebec nordiques on april 16?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (record VARCHAR, visitor VARCHAR, score VARCHAR)
Question: WHich Record has a Visitor of quebec nordiques with a Score of 7–5?
Here is the SQLite query to ... | Here is the SQLite query to answer the question concerning which record has a visitor of "quebec nordiques" with a score of "7–5":
```
SELECT record FROM table_name_37 WHERE visitor = "quebec nordiques" AND score = "7–5";
``` | 45,314 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (record VARCHAR, visitor VARCHAR, score VARCHAR)\n\n Question: WHich Record has a Visitor of quebec nordiques with a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (visitor VARCHAR, date VARCHAR)
Question: Who is the Visitor on april 8?
Here is the SQLite query to answer to the question: Who is the Visitor on april 8?... | Here is the SQLite query to answer the question "Who is the Visitor on April 8?":
```
SELECT visitor FROM table_name_94 WHERE date = "april 8";
``` | 45,315 | [
{
"from": "human",
"value": " 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 (visitor VARCHAR, date VARCHAR)\n\n Question: Who is the Visitor on april 8?\n\nHere is the SQLite query to answer t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR, visitor VARCHAR)
Question: When has Score of 4–5 and quebec nordiques as Visitor?
Here is the SQLite query to answer to the q... | Your SQLite query is correctly structured to answer the question regarding when the score was 4–5 and the visitor was the Quebec Nordiques. Here’s the query wrapped in the correct format:
```
SELECT date FROM table_name_92 WHERE score = "4–5" AND visitor = "quebec nordiques"
``` | 45,316 | [
{
"from": "human",
"value": " 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 (date VARCHAR, score VARCHAR, visitor VARCHAR)\n\n Question: When has Score of 4–5 and quebec nordiques as Visitor?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (visitor VARCHAR, date VARCHAR)
Question: WHo is the Visitor on april 14?
Here is the SQLite query to answer to the question: WHo is the Visitor on april 1... | Here is the SQLite query to answer the question: Who is the Visitor on April 14?:
```
SELECT visitor FROM table_name_78 WHERE date = "april 14";
``` | 45,317 | [
{
"from": "human",
"value": " 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 (visitor VARCHAR, date VARCHAR)\n\n Question: WHo is the Visitor on april 14?\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_58 (record VARCHAR, visitor VARCHAR, score VARCHAR)
Question: Which Record has a Visitor of quebec nordiques with a Score of 4–5?
Here is the SQLite query to ... | Here is the SQLite query to answer the question:
```
SELECT record FROM table_name_58 WHERE visitor = "quebec nordiques" AND score = "4–5"
``` | 45,318 | [
{
"from": "human",
"value": " 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 (record VARCHAR, visitor VARCHAR, score VARCHAR)\n\n Question: Which Record has a Visitor of quebec nordiques with a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (december INTEGER, points VARCHAR, game VARCHAR, opponent VARCHAR)
Question: What's the highest December against the Pittsburgh Penguins in a game larger th... | Here is the corrected SQLite query to answer your question:
```
SELECT MAX(december)
FROM table_name_61
WHERE game > 27 AND opponent = 'Pittsburgh Penguins' AND CAST(points AS INTEGER) < 41;
```
This query retrieves the maximum value of `december` where the `game` value is greater than 27, the `opponent` is "Pitts... | 45,319 | [
{
"from": "human",
"value": " 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 (december INTEGER, points VARCHAR, game VARCHAR, opponent VARCHAR)\n\n Question: What's the highest December against... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (score VARCHAR, december VARCHAR)
Question: What's the score for December of 30?
Here is the SQLite query to answer to the question: What's the score for D... | Here is the SQLite query to answer the question "What's the score for December of 30?":
```
SELECT score FROM table_name_48 WHERE december = '30';
```
Please note that I have wrapped the value `30` in single quotes to treat it as a string, since the `december` column is defined as VARCHAR in the schema. | 45,320 | [
{
"from": "human",
"value": " 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 (score VARCHAR, december VARCHAR)\n\n Question: What's the score for December of 30?\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_80 (games INTEGER, points VARCHAR, lost VARCHAR)
Question: What is the average number of games associated with 6 points and under 2 losses?
Here is the SQLite... | Your query is almost correct, but you need to ensure that the conditions for points and losses are properly structured. Since `points` is defined as a VARCHAR, you'll need to treat the value '6' as a string and cast it if necessary, and `lost` should be treated as a number for comparison.
Here’s the corrected SQLite q... | 45,321 | [
{
"from": "human",
"value": " 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 (games INTEGER, points VARCHAR, lost VARCHAR)\n\n Question: What is the average number of games associated with 6 po... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (points INTEGER, games INTEGER)
Question: What is the low point total when there are over 5 games?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query that answers the question regarding the low point total when there are over 5 games:
```
SELECT MIN(points) FROM table_name_56 WHERE games > 5
``` | 45,322 | [
{
"from": "human",
"value": " 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 (points INTEGER, games INTEGER)\n\n Question: What is the low point total when there are over 5 games?\n\nHere is th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (share_of_votes VARCHAR, electors VARCHAR, year VARCHAR)
Question: What was the share of votes when there were more than 56 electors and the year was more r... | Here is the SQLite query to answer the question:
```
SELECT share_of_votes FROM table_name_95 WHERE electors > 56 AND year > '1950';
``` | 45,323 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (share_of_votes VARCHAR, electors VARCHAR, year VARCHAR)\n\n Question: What was the share of votes when there were m... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (electors INTEGER, share_of_votes VARCHAR)
Question: What is the total of electors when the share of votes was 11,0%?
Here is the SQLite query to answer to... | Your SQLite query is correct for calculating the total of electors when the share of votes is 11.0%. Here it is wrapped in a code block:
```sql
SELECT SUM(electors) FROM table_name_70 WHERE share_of_votes = "11,0%"
```
This query sums up all values in the `electors` column from the table where the `share_of_votes` m... | 45,324 | [
{
"from": "human",
"value": " 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 (electors INTEGER, share_of_votes VARCHAR)\n\n Question: What is the total of electors when the share of votes was 1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (lost INTEGER, games INTEGER)
Question: Which Lost has Games larger than 7?
Here is the SQLite query to answer to the question: Which Lost has Games larger... | The query you provided calculates the average of the `lost` values for entries where the `games` value is greater than 7. However, the question asks for the specific entries of `lost` where `games` is larger than 7, rather than the average.
Here is the correct SQLite query to list the `lost` values associated with `ga... | 45,325 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (lost INTEGER, games INTEGER)\n\n Question: Which Lost has Games larger than 7?\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_81 (points INTEGER, lost VARCHAR, games VARCHAR)
Question: Which Points have a Lost smaller than 1, and Games larger than 7?
Here is the SQLite query to answe... | Your query looks mostly correct, but if you're looking for all points that meet the criteria, you might want to use `SELECT points` instead of `SELECT MAX(points)` to retrieve all matching records.
Here’s the adjusted query:
```
SELECT points FROM table_name_81 WHERE lost < 1 AND games > 7;
```
If you specifically ... | 45,326 | [
{
"from": "human",
"value": " 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 (points INTEGER, lost VARCHAR, games VARCHAR)\n\n Question: Which Points have a Lost smaller than 1, and Games large... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (lost INTEGER, points INTEGER)
Question: Which Lost has Points larger than 13?
Here is the SQLite query to answer to the question: Which Lost has Points la... | The query you provided calculates the average of the `lost` column for entries where `points` are greater than 13. However, if you want to find which `lost` values have `points` larger than 13, you should select the `lost` column directly rather than calculating the average. Here’s the corrected SQL query:
```
SELECT ... | 45,327 | [
{
"from": "human",
"value": " 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 (lost INTEGER, points INTEGER)\n\n Question: Which Lost has Points larger than 13?\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_98 (points INTEGER, drawn INTEGER)
Question: Which Points have a Drawn larger than 1?
Here is the SQLite query to answer to the question: Which Points have a ... | The provided query calculates the average of the `points` where `drawn` is greater than 1, which is not directly answering the question of which points have a drawn count larger than 1. Instead, it would be more appropriate to select distinct points or return the points themselves.
Here's a corrected SQLite query tha... | 45,328 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (points INTEGER, drawn INTEGER)\n\n Question: Which Points have a Drawn larger than 1?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (diameter VARCHAR, year_of_issue VARCHAR)
Question: Which Diameter has a Year of Issue of 1977?
Here is the SQLite query to answer to the question: Which D... | Here is the SQLite query to answer the question: Which Diameter has a Year of Issue of 1977?:
```sql
SELECT diameter FROM table_name_28 WHERE year_of_issue = '1977'
``` | 45,329 | [
{
"from": "human",
"value": " 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 (diameter VARCHAR, year_of_issue VARCHAR)\n\n Question: Which Diameter has a Year of Issue of 1977?\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_52 (year_of_issue INTEGER, thickness VARCHAR)
Question: Which Year of Issue has a Thickness of 1.42mm?
Here is the SQLite query to answer to the question: Whi... | Here is the SQLite query you requested to find the Year of Issue that has a Thickness of 1.42mm:
```
SELECT year_of_issue FROM table_name_52 WHERE thickness = "1.42mm";
``` | 45,330 | [
{
"from": "human",
"value": " 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 (year_of_issue INTEGER, thickness VARCHAR)\n\n Question: Which Year of Issue has a Thickness of 1.42mm?\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_93 (diameter VARCHAR, thickness VARCHAR)
Question: Which Diameter has a Thickness of 1.3mm?
Here is the SQLite query to answer to the question: Which Diameter... | Here is the SQLite query to answer the question "Which Diameter has a Thickness of 1.3mm?":
```
SELECT diameter FROM table_name_93 WHERE thickness = "1.3mm"
``` | 45,331 | [
{
"from": "human",
"value": " 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 (diameter VARCHAR, thickness VARCHAR)\n\n Question: Which Diameter has a Thickness of 1.3mm?\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_36 (party VARCHAR, candidate VARCHAR)
Question: Which party's candidate is Grech Louis Grech?
Here is the SQLite query to answer to the question: Which party'... | Sure! Here is the SQLite query wrapped in code format:
```
SELECT party FROM table_name_36 WHERE candidate = "grech louis grech";
``` | 45,332 | [
{
"from": "human",
"value": " 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 (party VARCHAR, candidate VARCHAR)\n\n Question: Which party's candidate is Grech Louis Grech?\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_17 (sport VARCHAR, site VARCHAR, date VARCHAR)
Question: What is the sport played in Iowa City on February 14, 2009?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question "What is the sport played in Iowa City on February 14, 2009?":
```
SELECT sport FROM table_name_17 WHERE site = "Iowa City" AND date = "February 14, 2009";
``` | 45,333 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (sport VARCHAR, site VARCHAR, date VARCHAR)\n\n Question: What is the sport played in Iowa City on February 14, 2009... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (series VARCHAR, winning_team VARCHAR, sport VARCHAR)
Question: What is the series of the winning team in Iowa, for softball?
Here is the SQLite query to a... | Here is the SQLite query to answer the question regarding the series of the winning team in Iowa for softball:
```
SELECT series FROM table_name_24 WHERE winning_team = "Iowa" AND sport = "softball"
``` | 45,334 | [
{
"from": "human",
"value": " 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 (series VARCHAR, winning_team VARCHAR, sport VARCHAR)\n\n Question: What is the series of the winning team in Iowa, ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the score of the match that was against alberto berasategui?
Here is the SQLi... | Here is the SQL query to answer the question about the score of the match that was against Alberto Berasategui:
```
SELECT score_in_the_final FROM table_name_25 WHERE opponent_in_the_final = "alberto berasategui"
``` | 45,335 | [
{
"from": "human",
"value": " 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 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: What is the score of the match that was ag... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (rebounds VARCHAR, name VARCHAR)
Question: How many rebounds does Ann Wauters have?
Here is the SQLite query to answer to the question: How many rebounds d... | The SQLite query you've provided is close, but it seems you're trying to count the number of records where Ann Wauters has a certain number of rebounds rather than summing up the rebounds. If the "rebounds" field contains the actual rebound numbers (presumably as strings) and you want to get the total number of rebound... | 45,336 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (rebounds VARCHAR, name VARCHAR)\n\n Question: How many rebounds does Ann Wauters have?\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_56 (name VARCHAR, games VARCHAR)
Question: Who played 10 games?
Here is the SQLite query to answer to the question: Who played 10 games?:
```
SELECT name FROM... | It seems there is a misunderstanding in your query regarding how to count games. If the column `games` contains a string representation of the games played, we need to consider how to parse or count them appropriately.
Assuming `games` is a string that lists games (e.g., "game1, game2, game3"), you would need to split... | 45,337 | [
{
"from": "human",
"value": " 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 (name VARCHAR, games VARCHAR)\n\n Question: Who played 10 games?\n\nHere is the SQLite query to answer to the questi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (rebounds VARCHAR, name VARCHAR)
Question: What is the total number of rebounds values for Ann Wauters?
Here is the SQLite query to answer to the question:... | Your provided SQLite query is almost correct, except that it should account for case sensitivity in the name. If "Ann Wauters" is the exact name as it appears in the database, you should ensure consistent casing. Additionally, you might want to sum the rebounds if they are numerical types, but since they are defined as... | 45,338 | [
{
"from": "human",
"value": " 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 (rebounds VARCHAR, name VARCHAR)\n\n Question: What is the total number of rebounds values for Ann Wauters?\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_8 (opponent VARCHAR, date VARCHAR)
Question: Who did the Colts play against on September 25, 1966?
Here is the SQLite query to answer to the question: Who did... | Your provided SQLite query is almost correct, but it’s important to ensure that the date format you use matches the format stored in the database. Assuming that the date is indeed stored in a format like "September 25, 1966", your query should be fine.
Here’s the wrapped code for your SQLite query:
```
SELECT opponen... | 45,339 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, date VARCHAR)\n\n Question: Who did the Colts play against on September 25, 1966?\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_61 (date VARCHAR, attendance VARCHAR)
Question: What is the date of the game with 40,005 in attendance?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question regarding the date of the game with 40,005 in attendance:
```
SELECT date FROM table_name_61 WHERE attendance = "40,005"
``` | 45,340 | [
{
"from": "human",
"value": " 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 (date VARCHAR, attendance VARCHAR)\n\n Question: What is the date of the game with 40,005 in attendance?\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_18 (week INTEGER, game_site VARCHAR)
Question: What is the lowest week number for the game that was at milwaukee county stadium?
Here is the SQLite query to a... | Here is the SQLite query to find the lowest week number for the game that was at Milwaukee County Stadium:
```
SELECT MIN(week) FROM table_name_18 WHERE game_site = "milwaukee county stadium"
``` | 45,341 | [
{
"from": "human",
"value": " 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 (week INTEGER, game_site VARCHAR)\n\n Question: What is the lowest week number for the game that was at milwaukee co... | |
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, week VARCHAR, date VARCHAR)
Question: After week 11, what was the Result on December 13, 1964?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question "After week 11, what was the Result on December 13, 1964?":
```
SELECT result FROM table_name_49 WHERE week > 11 AND date = "december 13, 1964"
``` | 45,342 | [
{
"from": "human",
"value": " 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, week VARCHAR, date VARCHAR)\n\n Question: After week 11, what was the Result on December 13, 1964?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: After week 8, what was the Attendance on November 1, 1964?
Here is the SQLite query to answer to... | Your provided SQLite query has a small issue. The `AVG` function is not appropriate if you are querying for attendance on a specific date. Instead, you should use a `SELECT` statement that retrieves the `attendance` directly. Here’s the corrected query:
```sql
SELECT attendance
FROM table_name_43
WHERE date = "Novem... | 45,343 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, week VARCHAR)\n\n Question: After week 8, what was the Attendance on November 1, ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (alternate VARCHAR, second VARCHAR)
Question: What is the alternate of the nation with Piotras Gerasimovici as the second?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question regarding the alternate of the nation with Piotras Gerasimovici as the second:
```
SELECT alternate FROM table_name_19 WHERE second = "Piotras Gerasimovici"
```
Make sure to match the casing of the name exactly as it appears in the database for accurate results. | 45,344 | [
{
"from": "human",
"value": " 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 (alternate VARCHAR, second VARCHAR)\n\n Question: What is the alternate of the nation with Piotras Gerasimovici as t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (alternate VARCHAR, second VARCHAR)
Question: What is the alternate of the nation with hubert gründhammer as the second?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question:
```
SELECT alternate FROM table_name_97 WHERE second = "hubert gründhammer"
``` | 45,345 | [
{
"from": "human",
"value": " 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 (alternate VARCHAR, second VARCHAR)\n\n Question: What is the alternate of the nation with hubert gründhammer as the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (alternate VARCHAR, skip VARCHAR)
Question: What is the alternate of the nation with Erkki Lill as the skip?
Here is the SQLite query to answer to the ques... | Here is the correct SQLite query to answer the question regarding the alternate of the nation with Erkki Lill as the skip:
```
SELECT alternate FROM table_name_55 WHERE LOWER(skip) = "erkki lill"
```
This query uses `LOWER()` to ensure case insensitivity when matching the name "Erkki Lill". | 45,346 | [
{
"from": "human",
"value": " 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 (alternate VARCHAR, skip VARCHAR)\n\n Question: What is the alternate of the nation with Erkki Lill as the skip?\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_74 (skip VARCHAR, alternate VARCHAR)
Question: Who is the skip of the nation with Laurens van der Windt as the alternate?
Here is the SQLite query to answer t... | Your SQLite query to find the skip of the nation with Laurens van der Windt as the alternate is correct. Here is the code wrapped appropriately:
```
SELECT skip FROM table_name_74 WHERE alternate = "laurens van der windt";
``` | 45,347 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (skip VARCHAR, alternate VARCHAR)\n\n Question: Who is the skip of the nation with Laurens van der Windt as the alte... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (lead VARCHAR, alternate VARCHAR)
Question: Who is the lead of the nation with Juha Pekaristo as the alternate?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question "Who is the lead of the nation with Juha Pekaristo as the alternate?":
```
SELECT lead FROM table_name_46 WHERE alternate = "Juha Pekaristo"
``` | 45,348 | [
{
"from": "human",
"value": " 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 (lead VARCHAR, alternate VARCHAR)\n\n Question: Who is the lead of the nation with Juha Pekaristo as the alternate?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (round INTEGER, position VARCHAR)
Question: What is the highest round in which a player was picked for the Center position?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about the highest round in which a player was picked for the Center position:
```
SELECT MAX(round) FROM table_name_24 WHERE position = "center";
``` | 45,349 | [
{
"from": "human",
"value": " 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 (round INTEGER, position VARCHAR)\n\n Question: What is the highest round in which a player was picked for the Cente... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (nationality VARCHAR, player VARCHAR)
Question: What is John Flatters' nationality?
Here is the SQLite query to answer to the question: What is John Flatte... | Here is the SQLite query to answer the question about John Flatters' nationality:
```
SELECT nationality FROM table_name_10 WHERE player = "John Flatters";
``` | 45,350 | [
{
"from": "human",
"value": " 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 (nationality VARCHAR, player VARCHAR)\n\n Question: What is John Flatters' nationality?\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_67 (position VARCHAR, player VARCHAR)
Question: What is Jeremy Duchesne's position?
Here is the SQLite query to answer to the question: What is Jeremy Duchesn... | ```sql
SELECT position FROM table_name_67 WHERE player = "Jeremy Duchesne";
``` | 45,351 | [
{
"from": "human",
"value": " 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 (position VARCHAR, player VARCHAR)\n\n Question: What is Jeremy Duchesne's position?\n\nHere is the SQLite query to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (date INTEGER, attendance VARCHAR)
Question: When was the attendance 1,034?
Here is the SQLite query to answer to the question: When was the attendance 1,0... | Certainly! Here is the SQLite query to find out when the attendance was 1,034, wrapped in the specified format:
```
SELECT MIN(date) FROM table_name_51 WHERE attendance = "1,034";
``` | 45,352 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (date INTEGER, attendance VARCHAR)\n\n Question: When was the attendance 1,034?\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_51 (opponents VARCHAR, date VARCHAR)
Question: what was the opponent on 26 october 1889?
Here is the SQLite query to answer to the question: what was the oppo... | Here is the SQLite query to answer the question about the opponent on 26 October 1889:
```sql
SELECT opponents FROM table_name_51 WHERE date = "26 october 1889";
``` | 45,353 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (opponents VARCHAR, date VARCHAR)\n\n Question: what was the opponent on 26 october 1889?\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_80 (Id VARCHAR)
Question: 1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?
Here is the SQLite query to answer to... | The query you've provided seems to have some syntax issues and misunderstandings about how to access the columns based on the schema you've shared. The schema only defines a single column named `Id`, and it doesn't specify the meaning of numbers like `1950`, `1960`, `1990`, or `1996`.
If you are trying to represent di... | 45,354 | [
{
"from": "human",
"value": " 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 (Id VARCHAR)\n\n Question: 1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 199... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (Id VARCHAR)
Question: 1960 larger than 196, and a 1996[2] smaller than 726, and a 1980 larger than 125, and a 1990 larger than 848, what is the highest 195... | It seems that the query provided has some issues, particularly with the column names which are not clear in the schema. The column names in the schema only define a single column called `Id`, but your question seems to refer to multiple specific years as if they are columns.
To write a proper SQLite query, we need to... | 45,355 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (Id VARCHAR)\n\n Question: 1960 larger than 196, and a 1996[2] smaller than 726, and a 1980 larger than 125, and a 1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (Id VARCHAR)
Question: 1980 smaller than 719, and a 1960 smaller than 205, and a 1996[2] smaller than 364, and a 1970 larger than 251 is what 1990 highest?
... | It seems there might be some issues with the SQL query you've provided, particularly in the way the conditions are being set up and the variable names used. In SQLite, you need to refer to column names that actually exist in your schema.
Given the schema of `CREATE TABLE table_name_94 (Id VARCHAR)`, it looks like you ... | 45,356 | [
{
"from": "human",
"value": " 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 (Id VARCHAR)\n\n Question: 1980 smaller than 719, and a 1960 smaller than 205, and a 1996[2] smaller than 364, and a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (Id VARCHAR)
Question: 1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 1950 of 119 is the sum of what 1980?
Here is t... | Based on your request, it seems you're trying to formulate a query using some conditions related to years (1996, 1990, 1970, 1950, and 1980) involving comparisons and a sum operation. However, the provided schema only reflects a single column named `Id` with a data type of `VARCHAR`. It doesn't specify any columns rela... | 45,357 | [
{
"from": "human",
"value": " 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 (Id VARCHAR)\n\n Question: 1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 195... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (Id VARCHAR)
Question: 1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990?
Here is the SQLite query to answer to the question: 1996[2] of 127, ... | It seems there might be some confusion about column references and conditions in your question. In the context of the SQLite schema you provided (`CREATE TABLE table_name_89 (Id VARCHAR)`), the columns referenced (like `1996`, `1990`, and `1980`) do not appear to be valid as the only column is `Id`, which is of type VA... | 45,358 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (Id VARCHAR)\n\n Question: 1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990?\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_60 (opponent VARCHAR, result VARCHAR)
Question: Who was the opponent at the game with a result of w 14–6?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question: Who was the opponent at the game with a result of w 14–6?:
```
SELECT opponent FROM table_name_60 WHERE result = 'w 14–6';
``` | 45,359 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (opponent VARCHAR, result VARCHAR)\n\n Question: Who was the opponent at the game with a result of w 14–6?\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (result VARCHAR, week VARCHAR, record VARCHAR)
Question: What was the result of the game with a record of 2–3–2 before week 8?
Here is the SQLite query to ... | Here's the SQLite query to answer the question about the result of the game with a record of 2–3–2 before week 8:
```
SELECT result FROM table_name_38 WHERE week < '8' AND record = '2–3–2';
``` | 45,360 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (result VARCHAR, week VARCHAR, record VARCHAR)\n\n Question: What was the result of the game with a record of 2–3–2 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (week INTEGER, game_site VARCHAR, date VARCHAR)
Question: What was the earliest week with a game at the Braves Field on October 2, 1932?
Here is the SQLite... | Your query is almost correct, but it needs a small adjustment in terms of case sensitivity regarding the `game_site`. SQLite is case-insensitive for string comparisons, but it's generally a good practice to ensure the strings match exactly as they might appear in the database.
In this case, "Braves Field" should be ca... | 45,361 | [
{
"from": "human",
"value": " 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 (week INTEGER, game_site VARCHAR, date VARCHAR)\n\n Question: What was the earliest week with a game at the Braves F... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR)
Question: What was the record at the game on November 13, 1932?
Here is the SQLite query to answer to the question: What was... | Your SQLite query looks correct for the question you're trying to answer. Just make sure that the date format in your table matches the format used in your query. Here’s the query wrapped in the required code format:
```sql
SELECT record FROM table_name_38 WHERE date = "november 13, 1932";
```
If the date in the dat... | 45,362 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR)\n\n Question: What was the record at the game on November 13, 1932?\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_18 (role VARCHAR, actor VARCHAR)
Question: What role is Kevin Bishop the actor?
Here is the SQLite query to answer to the question: What role is Kevin Bishop ... | Here is the SQLite query to answer the question: What role is Kevin Bishop the actor?:
```
SELECT role FROM table_name_18 WHERE actor = "Kevin Bishop";
``` | 45,363 | [
{
"from": "human",
"value": " 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 (role VARCHAR, actor VARCHAR)\n\n Question: What role is Kevin Bishop the actor?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (duration VARCHAR, actor VARCHAR)
Question: What is the duration for mike walling as the actor?
Here is the SQLite query to answer to the question: What is... | Here is the SQLite query to answer the question regarding the duration for Mike Walling as the actor:
```
SELECT duration FROM table_name_47 WHERE actor = "mike walling"
``` | 45,364 | [
{
"from": "human",
"value": " 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 (duration VARCHAR, actor VARCHAR)\n\n Question: What is the duration for mike walling as the actor?\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_20 (duration VARCHAR, appearances VARCHAR, character VARCHAR)
Question: What is the duration that has 3 for appearances, and james garret as the character?
He... | Here is the SQLite query to answer the question regarding the duration for the specified criteria:
```
SELECT duration FROM table_name_20 WHERE appearances = "3" AND character = "james garret";
``` | 45,365 | [
{
"from": "human",
"value": " 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 (duration VARCHAR, appearances VARCHAR, character VARCHAR)\n\n Question: What is the duration that has 3 for appeara... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (duration VARCHAR, actor VARCHAR)
Question: What is the duration for nickolas grace as the actor?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question regarding the duration for Nickolas Grace as the actor:
```
SELECT duration FROM table_name_36 WHERE actor = "nickolas grace"
``` | 45,366 | [
{
"from": "human",
"value": " 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 (duration VARCHAR, actor VARCHAR)\n\n Question: What is the duration for nickolas grace as the actor?\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_67 (record VARCHAR, time___et__ VARCHAR, result VARCHAR)
Question: Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record?
Here is the SQLite query to... | Here is the SQLite query to answer the question regarding the time (ET) of 1:00pm and a result of "w 34–14":
```
SELECT record FROM table_name_67 WHERE time___et__ = "1:00pm" AND result = "w 34–14"
``` | 45,367 | [
{
"from": "human",
"value": " 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 (record VARCHAR, time___et__ VARCHAR, result VARCHAR)\n\n Question: Time ( ET ) of 1:00pm, and a Result of w 34–14 h... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (location VARCHAR, date VARCHAR)
Question: Date of sun. oct. 1 has what location?
Here is the SQLite query to answer to the question: Date of sun. oct. 1 h... | Here is the SQLite query to answer the question regarding the location for the date "sun. oct. 1":
```sql
SELECT location FROM table_name_29 WHERE date = "sun. oct. 1";
``` | 45,368 | [
{
"from": "human",
"value": " 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 (location VARCHAR, date VARCHAR)\n\n Question: Date of sun. oct. 1 has what location?\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_83 (result VARCHAR, record VARCHAR)
Question: Record of 3–3 has what result?
Here is the SQLite query to answer to the question: Record of 3–3 has what result... | Here is the SQLite query to answer the question regarding the record of 3–3:
```
SELECT result FROM table_name_83 WHERE record = "3–3";
``` | 45,369 | [
{
"from": "human",
"value": " 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 (result VARCHAR, record VARCHAR)\n\n Question: Record of 3–3 has what result?\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_65 (time___et__ VARCHAR, date VARCHAR)
Question: Date of sun. oct. 29 has what time (et)?
Here is the SQLite query to answer to the question: Date of sun. oct... | Here's the SQLite query to answer the question about the time for the date "sun. oct. 29" in the given database schema:
```
SELECT time___et__ FROM table_name_65 WHERE date = "sun. oct. 29";
``` | 45,370 | [
{
"from": "human",
"value": " 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 (time___et__ VARCHAR, date VARCHAR)\n\n Question: Date of sun. oct. 29 has what time (et)?\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_13 (games VARCHAR, points VARCHAR, drawn VARCHAR)
Question: How many games have more than 10 points and more than 2 draws?
Here is the SQLite query to answer ... | The SQLite query you provided has a small mistake in the condition for `points`. To count games with more than 10 points and more than 2 draws, you need to use the correct operator for "greater than" and ensure you are comparing the values correctly.
Here is the corrected SQL query:
```sql
SELECT COUNT(games)
FROM ... | 45,371 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (games VARCHAR, points VARCHAR, drawn VARCHAR)\n\n Question: How many games have more than 10 points and more than 2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (lost INTEGER, points VARCHAR, drawn VARCHAR)
Question: What is the sum of losses that have points of 11 and more than 1 draw?
Here is the SQLite query to ... | It looks like there is a small mistake in your query regarding the data type of the `points` column. Since `points` is defined as a VARCHAR, you should compare it as a string instead of an integer. You also need to make sure that the condition for `drawn` is properly referencing the number. Since `drawn` is also VARCHA... | 45,372 | [
{
"from": "human",
"value": " 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 (lost INTEGER, points VARCHAR, drawn VARCHAR)\n\n Question: What is the sum of losses that have points of 11 and mor... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (points INTEGER, drawn VARCHAR, lost VARCHAR)
Question: What is the greatest points value that have draws under 2 and 2 losses?
Here is the SQLite query to... | Your SQLite query looks correct for the requirements stated in the question. Here it is wrapped in the appropriate code format:
```
SELECT MAX(points) FROM table_name_67 WHERE drawn < 2 AND lost = 2;
```
This query will find the maximum points value from the table where the number of drawn games is less than 2 and t... | 45,373 | [
{
"from": "human",
"value": " 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 (points INTEGER, drawn VARCHAR, lost VARCHAR)\n\n Question: What is the greatest points value that have draws under ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (lost VARCHAR, drawn INTEGER)
Question: How many losses have draw values under 1?
Here is the SQLite query to answer to the question: How many losses have ... | Your provided SQLite query is correct for the given question. Here it is wrapped in the requested code formatting:
```
SELECT COUNT(lost) FROM table_name_36 WHERE drawn < 1;
``` | 45,374 | [
{
"from": "human",
"value": " 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 (lost VARCHAR, drawn INTEGER)\n\n Question: How many losses have draw values under 1?\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_32 (february INTEGER, points INTEGER)
Question: What's the lowest February for less than 57 points?
Here is the SQLite query to answer to the question: What's... | Here's the SQLite query to answer the question about the lowest February for less than 57 points:
```
SELECT MIN(february) FROM table_name_32 WHERE points < 57
``` | 45,375 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (february INTEGER, points INTEGER)\n\n Question: What's the lowest February for less than 57 points?\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_88 (february INTEGER, opponent VARCHAR)
Question: What's the February for the game against the Montreal Canadiens?
Here is the SQLite query to answer to the q... | Your SQLite query correctly selects the sum of the `february` column for games against the Montreal Canadiens. However, if you're looking for a specific game and just need the February value without summing, you might want to retrieve it in a different way. Here's the query for that:
```sql
SELECT february FROM table_... | 45,376 | [
{
"from": "human",
"value": " 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 (february INTEGER, opponent VARCHAR)\n\n Question: What's the February for the game against the Montreal Canadiens?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (record VARCHAR, game VARCHAR)
Question: What's the record for Game 58?
Here is the SQLite query to answer to the question: What's the record for Game 58?:... | Here is the SQLite query to answer the question about the record for Game 58:
```
SELECT record FROM table_name_22 WHERE game = '58'
``` | 45,377 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (record VARCHAR, game VARCHAR)\n\n Question: What's the record for Game 58?\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_15 (winner VARCHAR, season VARCHAR)
Question: Which Winner has a Season of 2005–06?
Here is the SQLite query to answer to the question: Which Winner has a Sea... | Here is the SQLite query to answer the question about which Winner has a Season of 2005–06:
```sql
SELECT winner FROM table_name_15 WHERE season = "2005–06";
``` | 45,378 | [
{
"from": "human",
"value": " 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 (winner VARCHAR, season VARCHAR)\n\n Question: Which Winner has a Season of 2005–06?\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 (runner_up VARCHAR, season VARCHAR)
Question: Which Runner-up played in the Season of 2000–01?
Here is the SQLite query to answer to the question: Which Ru... | Your SQLite query is correct for retrieving the runner-up who played in the season of 2000–01. Here it is wrapped in code blocks:
```
SELECT runner_up FROM table_name_72 WHERE season = "2000–01";
``` | 45,379 | [
{
"from": "human",
"value": " 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 (runner_up VARCHAR, season VARCHAR)\n\n Question: Which Runner-up played in the Season of 2000–01?\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_88 (venue VARCHAR, season VARCHAR)
Question: What was the venue during the Season of 2010–11?
Here is the SQLite query to answer to the question: What was the... | Here is the SQLite query to answer the question regarding the venue during the Season of 2010–11:
```
SELECT venue FROM table_name_88 WHERE season = "2010–11";
``` | 45,380 | [
{
"from": "human",
"value": " 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 (venue VARCHAR, season VARCHAR)\n\n Question: What was the venue during the Season of 2010–11?\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_13 (winner VARCHAR, runner_up VARCHAR, season VARCHAR)
Question: Which Winner has a Runner-up of larne, and a Season of 2003–04?
Here is the SQLite query to a... | Here is the SQLite query to answer your question:
```
SELECT winner FROM table_name_13 WHERE runner_up = "larne" AND season = "2003–04"
``` | 45,381 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (winner VARCHAR, runner_up VARCHAR, season VARCHAR)\n\n Question: Which Winner has a Runner-up of larne, and a Seaso... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR)
Question: Which Winner has a Score of 1 – 0, and a Season of 2011–12?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question: Which Winner has a Score of 1 – 0, and a Season of 2011–12?:
```
SELECT winner FROM table_name_30 WHERE score = "1 – 0" AND season = "2011–12"
``` | 45,382 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR)\n\n Question: Which Winner has a Score of 1 – 0, and a Season of 201... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (position VARCHAR, name VARCHAR)
Question: What position does Martin Rucker play?
Here is the SQLite query to answer to the question: What position does Ma... | Here is the SQLite query to answer the question: What position does Martin Rucker play?:
```
SELECT position FROM table_name_78 WHERE name = "Martin Rucker";
``` | 45,383 | [
{
"from": "human",
"value": " 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 (position VARCHAR, name VARCHAR)\n\n Question: What position does Martin Rucker play?\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_21 (round INTEGER, name VARCHAR)
Question: What was the lowest round for Paul Hubbard?
Here is the SQLite query to answer to the question: What was the lowest... | Your provided SQLite query is almost correct, but ensure that "Paul Hubbard" matches the casing in the database if necessary. Here’s the correctly formatted query:
```sql
SELECT MIN(round) FROM table_name_21 WHERE name = "Paul Hubbard";
```
This query will return the lowest round for Paul Hubbard. If you want to han... | 45,384 | [
{
"from": "human",
"value": " 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 (round INTEGER, name VARCHAR)\n\n Question: What was the lowest round for Paul Hubbard?\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_94 (round INTEGER, position VARCHAR)
Question: What was the lowest round for a tight end position?
Here is the SQLite query to answer to the question: What wa... | Here's the SQLite query to find the lowest round for a tight end position:
```sql
SELECT MIN(round) FROM table_name_94 WHERE position = "tight end";
``` | 45,385 | [
{
"from": "human",
"value": " 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 (round INTEGER, position VARCHAR)\n\n Question: What was the lowest round for a tight end position?\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_5 (years VARCHAR, ties INTEGER)
Question: What years did the person coach who had more than 31 ties?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about the years coached by a person who had more than 31 ties:
```
SELECT years FROM table_name_5 WHERE ties > 31;
``` | 45,386 | [
{
"from": "human",
"value": " 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 (years VARCHAR, ties INTEGER)\n\n Question: What years did the person coach who had more than 31 ties?\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_70 (wins INTEGER, ties VARCHAR, losses VARCHAR, years VARCHAR)
Question: What is the average number of wins for the person who coached from 1951 to 1956 and ha... | Your provided query is very close, but there are a couple of adjustments needed to ensure it accurately reflects the requirements of your question. Specifically, because `losses` and `ties` are stored as VARCHAR types, you must cast them to INTEGER to properly perform the comparisons.
Here’s the corrected SQLite query... | 45,387 | [
{
"from": "human",
"value": " 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 (wins INTEGER, ties VARCHAR, losses VARCHAR, years VARCHAR)\n\n Question: What is the average number of wins for the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (coach VARCHAR, losses VARCHAR)
Question: Who was the coach who had 215 losses?
Here is the SQLite query to answer to the question: Who was the coach who h... | The query you provided has a small issue. Since the `losses` column is of type `VARCHAR`, you need to enclose the number `215` in quotes to treat it as a string. Here’s the corrected SQLite query:
```
SELECT coach FROM table_name_33 WHERE losses = '215'
``` | 45,388 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (coach VARCHAR, losses VARCHAR)\n\n Question: Who was the coach who had 215 losses?\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_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR)
Question: What years did the person coach who had more than 1 tie, mess than 311 wins and 174 lo... | Your query has a few minor errors in terms of the comparison operators. The comparison for `losses` should use `<` instead of `=` to match the criteria you've outlined. Here is the corrected query:
```
SELECT years FROM table_name_30 WHERE ties > 1 AND wins < 311 AND losses < 174
```
This query selects the `years` fr... | 45,389 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR)\n\n Question: What years did the person coach who had mo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)
Question: What years did the person coach who had less than 82 wins and more than 24 losses?
Here is the SQLi... | Your SQL query is almost correct, but since the `wins` and `losses` columns are of type `VARCHAR`, you'll need to cast them to integers for the comparison to work correctly. Here’s the corrected query:
```
SELECT years
FROM table_name_99
WHERE CAST(wins AS INTEGER) < 82 AND CAST(losses AS INTEGER) > 24;
``` | 45,390 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)\n\n Question: What years did the person coach who had less than 82 win... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (points INTEGER, game VARCHAR, opponent VARCHAR)
Question: Which Points have a Game larger than 25, and an Opponent of dallas stars?
Here is the SQLite que... | Your SQLite query has an issue in the WHERE clause. Specifically, the condition `game > 25` should be referring to the `game` column, which is of type `VARCHAR`. To compare it as you have written, it should be numeric, or the values in `game` should be easily convertible to numbers.
Assuming that `game` actually cont... | 45,391 | [
{
"from": "human",
"value": " 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 (points INTEGER, game VARCHAR, opponent VARCHAR)\n\n Question: Which Points have a Game larger than 25, and an Oppon... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)
Question: Which Record has a December smaller than 28, and Points smaller th... | Here is the SQLite query to answer the specified question:
```
SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot"
``` | 45,392 | [
{
"from": "human",
"value": " 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 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)\n\n Question: Which Record has a Dec... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (opponent VARCHAR, game VARCHAR)
Question: Which Opponent has a Game of 31?
Here is the SQLite query to answer to the question: Which Opponent has a Game o... | Here is the SQLite query to answer the question: Which Opponent has a Game of 31?:
```
SELECT opponent FROM table_name_56 WHERE game = '31'
``` | 45,393 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, game VARCHAR)\n\n Question: Which Opponent has a Game of 31?\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_49 (record VARCHAR, score VARCHAR, points VARCHAR, game VARCHAR)
Question: Which Record has Points smaller than 40, and a Game larger than 25, and a Score of 2... | Here is the SQLite query to answer the question:
```
SELECT record FROM table_name_49 WHERE points < 40 AND game > 25 AND score = "2–0"
``` | 45,394 | [
{
"from": "human",
"value": " 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 (record VARCHAR, score VARCHAR, points VARCHAR, game VARCHAR)\n\n Question: Which Record has Points smaller than 40,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (performer_3 VARCHAR, episode VARCHAR)
Question: Episode of 9 in which performer 3 had?
Here is the SQLite query to answer to the question: Episode of 9 in... | Your query is almost correct, but since you want to find the episodes in which "performer 3" appears, you need to adjust the SELECT statement to target the episode rather than the performer. Here's the corrected query:
```sql
SELECT episode FROM table_name_82 WHERE performer_3 = 'performer 3' AND episode = '9';
```
M... | 45,395 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (performer_3 VARCHAR, episode VARCHAR)\n\n Question: Episode of 9 in which performer 3 had?\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_31 (performer_1 VARCHAR, date VARCHAR)
Question: Date of 8 july 1994 involves which performer 1?
Here is the SQLite query to answer to the question: Date of 8... | Here is the SQLite query to answer the question regarding which performer was involved on the date of 8 July 1994:
```
SELECT performer_1 FROM table_name_31 WHERE date = "8 july 1994"
``` | 45,396 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (performer_1 VARCHAR, date VARCHAR)\n\n Question: Date of 8 july 1994 involves which performer 1?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (performer_3 VARCHAR, date VARCHAR)
Question: Date of 15 july 1994 involves which performer 3?
Here is the SQLite query to answer to the question: Date of ... | Your SQLite query to find the performer associated with the date of July 15, 1994, is correctly structured. Here it is wrapped in code blocks for clarity:
```
SELECT performer_3 FROM table_name_56 WHERE date = "15 july 1994";
```
This query will return the `performer_3` for the specified date from the `table_name_56... | 45,397 | [
{
"from": "human",
"value": " 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 (performer_3 VARCHAR, date VARCHAR)\n\n Question: Date of 15 july 1994 involves which performer 3?\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_40 (performer_3 VARCHAR, performer_2 VARCHAR)
Question: Performer 2 of chip esten has what performer 3?
Here is the SQLite query to answer to the question: Pe... | Here is the SQLite query to answer the question: Performer 2 of chip esten has what performer 3?:
```
SELECT performer_3 FROM table_name_40 WHERE performer_2 = "chip esten"
``` | 45,398 | [
{
"from": "human",
"value": " 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 (performer_3 VARCHAR, performer_2 VARCHAR)\n\n Question: Performer 2 of chip esten has what performer 3?\n\nHere is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (name VARCHAR, pennant_number VARCHAR)
Question: Which Name has a Pennant number of f82?
Here is the SQLite query to answer to the question: Which Name has... | Here is the SQLite query to answer the question:
```
SELECT name FROM table_name_56 WHERE pennant_number = "f82";
``` | 45,399 | [
{
"from": "human",
"value": " 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 (name VARCHAR, pennant_number VARCHAR)\n\n Question: Which Name has a Pennant number of f82?\n\nHere is the SQLite q... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.