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_53 (date VARCHAR, opponent VARCHAR)
Question: What is the Date with an Opponent that is flavia pennetta?
Here is the SQLite query to answer to the question: W... | Your SQLite query is correctly structured to answer the question about the date with the opponent "flavia pennetta". Here it is wrapped in code format:
```
SELECT date FROM table_name_53 WHERE opponent = "flavia pennetta";
``` | 49,500 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (date VARCHAR, opponent VARCHAR)\n\n Question: What is the Date with an Opponent that is flavia pennetta?\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_55 (score VARCHAR, opponent VARCHAR)
Question: What is the Score with an Opponent that is flavia pennetta?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question regarding the score with an opponent that is Flavia Pennetta:
```
SELECT score FROM table_name_55 WHERE opponent = "flavia pennetta"
``` | 49,501 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR)\n\n Question: What is the Score with an Opponent that is flavia pennetta?\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_39 (opponent VARCHAR, score VARCHAR)
Question: What is the Opponent with a Score that is 2–6, 6–4, 3–6?
Here is the SQLite query to answer to the question: Wh... | The SQLite query you've provided seems to be looking for a specific score string that includes all three scores together as "2–6, 6–4, 3–6". However, to find opponents with any of those individual scores (i.e., 2–6, 6–4, or 3–6), you should use the `IN` clause to check for multiple values. Here’s the corrected query:
... | 49,502 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (opponent VARCHAR, score VARCHAR)\n\n Question: What is the Opponent with a Score that is 2–6, 6–4, 3–6?\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_49 (outcome VARCHAR, date VARCHAR)
Question: What is the Outcome with a Date that is may 5, 2012?
Here is the SQLite query to answer to the question: What is ... | Here is the SQLite query to answer the question:
```
SELECT outcome FROM table_name_49 WHERE date = "may 5, 2012";
``` | 49,503 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (outcome VARCHAR, date VARCHAR)\n\n Question: What is the Outcome with a Date that is may 5, 2012?\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_85 (outcome VARCHAR, opponent VARCHAR)
Question: What is the Outcome with an Opponent that is jelena janković?
Here is the SQLite query to answer to the quest... | Your SQLite query is correct. Here it is wrapped in the requested format:
```
SELECT outcome FROM table_name_85 WHERE opponent = "jelena janković"
``` | 49,504 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (outcome VARCHAR, opponent VARCHAR)\n\n Question: What is the Outcome with an Opponent that is jelena janković?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (tournament VARCHAR, score VARCHAR)
Question: What is the Tournament with a Score that is 2–6, 6–4, 3–6?
Here is the SQLite query to answer to the question... | The provided query is not correct because it attempts to directly match the score with a single string, which may not be how the scores are stored in the database. Instead, we should look for tournaments where the scores match either of the specified scores. Here’s the corrected version of the SQLite query to find tour... | 49,505 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (tournament VARCHAR, score VARCHAR)\n\n Question: What is the Tournament with a Score that is 2–6, 6–4, 3–6?\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_57 (week VARCHAR, date VARCHAR, attendance VARCHAR)
Question: Which week was on November 13, 1955 when the attendance was over 33,982?
Here is the SQLite quer... | The provided query contains an error in the syntax and logic. To retrieve the week corresponding to November 13, 1955, with attendance greater than 33,982, and considering the right conditions, you need a `SELECT` statement that fetches the `week` rather than `COUNT(week)`.
Here's the corrected SQL query:
```sql
SEL... | 49,506 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR, attendance VARCHAR)\n\n Question: Which week was on November 13, 1955 when the attendan... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (japanese_name VARCHAR, korean_name VARCHAR)
Question: What is the Japanese name of the Province with a Korean name of Chungcheong-Bukdo?
Here is the SQLit... | Here is the SQLite query to answer the question regarding the Japanese name of the Province with a Korean name of Chungcheong-Bukdo:
```
SELECT japanese_name FROM table_name_46 WHERE korean_name = "Chungcheong-Bukdo"
``` | 49,507 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (japanese_name VARCHAR, korean_name VARCHAR)\n\n Question: What is the Japanese name of the Province with a Korean n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (hanja___kanji VARCHAR, kana VARCHAR)
Question: What is the Hanja/Kanji of the Province with a Kana of ちゅうせいほくどう?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the Hanja/Kanji of the Province with a Kana of ちゅうせいほくどう:
```
SELECT hanja___kanji FROM table_name_10 WHERE kana = "ちゅうせいほくどう"
``` | 49,508 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (hanja___kanji VARCHAR, kana VARCHAR)\n\n Question: What is the Hanja/Kanji of the Province with a Kana of ちゅうせいほくどう... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (kana VARCHAR, korean_name VARCHAR)
Question: What is the Kana of the Province with a Korean name of Chungcheong-Namdo?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding the Kana of the Province with a Korean name of Chungcheong-Namdo:
```
SELECT kana FROM table_name_2 WHERE korean_name = "Chungcheong-Namdo";
``` | 49,509 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (kana VARCHAR, korean_name VARCHAR)\n\n Question: What is the Kana of the Province with a Korean name of Chungcheong-... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (hangul VARCHAR, kana VARCHAR)
Question: What is the Hangul of the Province with a Kana of へいあんなんどう?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question regarding the Hangul of the Province with a Kana of へいあんなんどう:
```
SELECT hangul FROM table_name_48 WHERE kana = "へいあんなんどう";
``` | 49,510 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (hangul VARCHAR, kana VARCHAR)\n\n Question: What is the Hangul of the Province with a Kana of へいあんなんどう?\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_3 (hangul VARCHAR, kana VARCHAR)
Question: What is the Hangul of the Province with a Kana of ちゅうせいなんどう?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the Hangul of the Province with a Kana of ちゅうせいなんどう:
```
SELECT hangul FROM table_name_3 WHERE kana = "ちゅうせいなんどう"
``` | 49,511 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (hangul VARCHAR, kana VARCHAR)\n\n Question: What is the Hangul of the Province with a Kana of ちゅうせいなんどう?\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_5 (hanja___kanji VARCHAR, korean_name VARCHAR)
Question: What is the Hanja/Kanji of the Province with a Korean name of Chungcheong-Bukdo?
Here is the SQLite q... | Here is the SQLite query to answer the question regarding the Hanja/Kanji of the Province with a Korean name of Chungcheong-Bukdo:
```
SELECT hanja___kanji FROM table_name_5 WHERE korean_name = "Chungcheong-Bukdo";
``` | 49,512 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (hanja___kanji VARCHAR, korean_name VARCHAR)\n\n Question: What is the Hanja/Kanji of the Province with a Korean name... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (oct VARCHAR, nov VARCHAR)
Question: What were the Oct. temperatures for the city that had Nov. temperatures of 51/30?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question:
```
SELECT oct FROM table_name_94 WHERE nov = "51/30"
``` | 49,513 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (oct VARCHAR, nov VARCHAR)\n\n Question: What were the Oct. temperatures for the city that had Nov. temperatures of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (feb VARCHAR, city VARCHAR)
Question: What were the Feb temperatures in East Stroudsburg?
Here is the SQLite query to answer to the question: What were the... | Here is the SQLite query to answer the question regarding the February temperatures in East Stroudsburg:
```
SELECT feb FROM table_name_63 WHERE city = "East Stroudsburg";
``` | 49,514 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (feb VARCHAR, city VARCHAR)\n\n Question: What were the Feb temperatures in East Stroudsburg?\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_33 (comp INTEGER, comp_percentage VARCHAR, att VARCHAR)
Question: What is the sum of completions that led to completion percentages of 65.4 and attempts under ... | Here is the SQLite query to answer the question regarding the sum of completions with the specified criteria:
```sql
SELECT SUM(comp) FROM table_name_33 WHERE comp_percentage = '65.4' AND att < 451;
```
Note that I've wrapped the value of `comp_percentage` in quotes, as it is defined as a `VARCHAR` in the schema. | 49,515 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (comp INTEGER, comp_percentage VARCHAR, att VARCHAR)\n\n Question: What is the sum of completions that led to comple... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (regular_season VARCHAR, playoffs VARCHAR)
Question: What regular season did the team reach the conference semifinals in the playoffs?
Here is the SQLite q... | Here is the SQLite query to answer the question about which regular season the team reached the conference semifinals in the playoffs:
```
SELECT regular_season FROM table_name_78 WHERE playoffs = "conference semifinals";
``` | 49,516 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (regular_season VARCHAR, playoffs VARCHAR)\n\n Question: What regular season did the team reach the conference semif... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (division VARCHAR, regular_season VARCHAR, year VARCHAR)
Question: When the regular season of 2nd, Northeast and the year was less than 2008 what was the to... | Here's the SQLite query formatted as you requested:
```
SELECT COUNT(division) FROM table_name_89 WHERE regular_season = "2nd, northeast" AND year < '2008'
```
Note: The year is compared as a string here because it is defined as a VARCHAR in the schema, so be sure to keep the quotes around '2008'. | 49,517 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (division VARCHAR, regular_season VARCHAR, year VARCHAR)\n\n Question: When the regular season of 2nd, Northeast and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (division VARCHAR, regular_season VARCHAR)
Question: What division was the regular season 5th, Northeast?
Here is the SQLite query to answer to the questio... | Here is the query you provided, correctly formatted:
```
SELECT division FROM table_name_97 WHERE regular_season = "5th, northeast";
```
This query will retrieve the division associated with the regular season labeled "5th, northeast" from the specified table. | 49,518 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (division VARCHAR, regular_season VARCHAR)\n\n Question: What division was the regular season 5th, Northeast?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (result VARCHAR, nomination VARCHAR, year VARCHAR)
Question: What was the result when Jam Hsiao was nominated in 2012?
Here is the SQLite query to answer t... | Here is the corrected SQLite query to answer the question regarding Jam Hsiao's nomination in 2012:
```
SELECT result FROM table_name_36 WHERE nomination = 'Jam Hsiao' AND year = '2012'
``` | 49,519 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (result VARCHAR, nomination VARCHAR, year VARCHAR)\n\n Question: What was the result when Jam Hsiao was nominated in... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR)
Question: Which award is in the category of best music video?
Here is the SQLite query to answer to the question: Which a... | Here is the SQLite query to answer the question about which award is in the category of best music video:
```
SELECT award FROM table_name_55 WHERE category = 'best music video';
``` | 49,520 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR)\n\n Question: Which award is in the category of best music video?\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_54 (attendance VARCHAR, result VARCHAR)
Question: Which Attendance has a Result of l 29–23?
Here is the SQLite query to answer to the question: Which Attendan... | Here is the SQLite query to answer the question regarding which Attendance has a Result of "l 29–23":
```
SELECT attendance FROM table_name_54 WHERE result = "l 29–23";
``` | 49,521 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (attendance VARCHAR, result VARCHAR)\n\n Question: Which Attendance has a Result of l 29–23?\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_89 (date VARCHAR, week VARCHAR)
Question: When has a Week of 1?
Here is the SQLite query to answer to the question: When has a Week of 1?:
```
SELECT date FRO... | Here is the corrected SQLite query to answer the question about when there is a Week of 1:
```
SELECT date FROM table_name_89 WHERE week = '1'
``` | 49,522 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (date VARCHAR, week VARCHAR)\n\n Question: When has a Week of 1?\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_11 (week VARCHAR, opponent VARCHAR)
Question: Which Week has an Opponent of at seattle seahawks?
Here is the SQLite query to answer to the question: Which Wee... | Your query is correctly structured to obtain the week(s) where the opponent is "at seattle seahawks". Here it is formatted with the code wrapping:
```
SELECT week FROM table_name_11 WHERE opponent = "at seattle seahawks";
``` | 49,523 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (week VARCHAR, opponent VARCHAR)\n\n Question: Which Week has an Opponent of at seattle seahawks?\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_71 (result VARCHAR, date VARCHAR)
Question: Name the Result on october 15, 1995?
Here is the SQLite query to answer to the question: Name the Result on octobe... | Here is the SQLite query to answer the question about the result on October 15, 1995:
```sql
SELECT result FROM table_name_71 WHERE date = "october 15, 1995";
``` | 49,524 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (result VARCHAR, date VARCHAR)\n\n Question: Name the Result on october 15, 1995?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Which Opponent has a Week larger than 2 on november 19, 1995?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about which opponent has a week larger than 2 on November 19, 1995:
```
SELECT opponent FROM table_name_81 WHERE week > 2 AND date = "november 19, 1995";
``` | 49,525 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (opponent VARCHAR, week VARCHAR, date VARCHAR)\n\n Question: Which Opponent has a Week larger than 2 on november 19,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (record__conf_ VARCHAR, conference VARCHAR)
Question: What is the recorded conference that was a Wac Conference?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the recorded conference that was a WAC Conference:
```sql
SELECT record__conf_ FROM table_name_73 WHERE conference = "WAC";
``` | 49,526 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (record__conf_ VARCHAR, conference VARCHAR)\n\n Question: What is the recorded conference that was a Wac Conference?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (conference VARCHAR, school VARCHAR)
Question: What conference has the Wichita State school?
Here is the SQLite query to answer to the question: What confe... | Here is the SQLite query to answer the question regarding what conference has the Wichita State school:
```
SELECT conference FROM table_name_26 WHERE school = "Wichita State";
``` | 49,527 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (conference VARCHAR, school VARCHAR)\n\n Question: What conference has the Wichita State school?\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_72 (rank VARCHAR, place VARCHAR)
Question: What is the rank for Burghley?
Here is the SQLite query to answer to the question: What is the rank for Burghley?:
... | Here is the SQLite query to answer the question: What is the rank for Burghley?:
```
SELECT rank FROM table_name_72 WHERE place = "Burghley";
``` | 49,528 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (rank VARCHAR, place VARCHAR)\n\n Question: What is the rank for Burghley?\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_54 (horse VARCHAR, competition VARCHAR)
Question: What horse was at the Badminton Horse Trials?
Here is the SQLite query to answer to the question: What horse... | Here is the SQLite query to answer the question about which horse was at the Badminton Horse Trials:
```
SELECT horse FROM table_name_54 WHERE competition = "Badminton Horse Trials";
``` | 49,529 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (horse VARCHAR, competition VARCHAR)\n\n Question: What horse was at the Badminton Horse Trials?\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_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)
Question: What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goa... | Your SQLite query is correctly formulated for the given question. Here it is wrapped in code format:
```
SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = "des dickson" AND goals < 219
```
This query will retrieve the minimum rank for Des Dickson where the matches are less than 285 and the goals are... | 49,530 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)\n\n Question: What was Des Dickson's lowest rank for ma... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)
Question: How many goals on average had 644 matches and a rank bigger than 3?
Here is the SQLite query to an... | Your SQLite query is almost correct, but there is a minor issue with how you are comparing the `matches` field, which is a VARCHAR type. You should compare it as an integer rather than a string. Here’s the corrected query that computes the average goals for matches equal to 644 and rank greater than 3:
```sql
SELECT A... | 49,531 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)\n\n Question: How many goals on average had 644 matches and a rank bi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (rank VARCHAR, matches VARCHAR)
Question: How many ranks had 205 matches?
Here is the SQLite query to answer to the question: How many ranks had 205 matche... | Your SQLite query is almost correct, but since the "matches" field is of type VARCHAR, the value 205 should be enclosed in quotes to ensure proper comparison. Here’s the corrected query:
```
SELECT COUNT(rank) FROM table_name_54 WHERE matches = '205'
``` | 49,532 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (rank VARCHAR, matches VARCHAR)\n\n Question: How many ranks had 205 matches?\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_4 (rank INTEGER, name VARCHAR, matches VARCHAR)
Question: What was Jimmy Jones' rank when the matches were smaller than 285?
Here is the SQLite query to answe... | Your SQLite query is mostly correct, but it looks like you're trying to find the rank of Jimmy Jones when the number of matches is smaller than 285. However, using `MAX(rank)` may not be appropriate if you are looking for a specific rank value associated with the condition.
If you're simply looking for the rank of Ji... | 49,533 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (rank INTEGER, name VARCHAR, matches VARCHAR)\n\n Question: What was Jimmy Jones' rank when the matches were smaller ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (date VARCHAR, home VARCHAR)
Question: Which date had the Hornets as the home team?
Here is the SQLite query to answer to the question: Which date had the ... | Here is the SQLite query to answer the question of which date had the Hornets as the home team:
```
SELECT date FROM table_name_53 WHERE home = "Hornets";
``` | 49,534 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (date VARCHAR, home VARCHAR)\n\n Question: Which date had the Hornets as the home team?\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_88 (to_par VARCHAR, winning_score VARCHAR)
Question: What is the To par score corresponding to the winning score of 64-69-67-66=266?
Here is the SQLite query ... | It seems there is a small mistake in the query provided. The condition in the `WHERE` clause should check if the `winning_score` equals '266' as a string, based on your schema where `winning_score` is defined as a `VARCHAR`. The calculation appears to have been misinterpreted; it should just check against the final sco... | 49,535 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (to_par VARCHAR, winning_score VARCHAR)\n\n Question: What is the To par score corresponding to the winning score of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (to_par VARCHAR, margin_of_victory VARCHAR)
Question: What was the To par score for the tournament with a margin of victory of 1 stroke?
Here is the SQLite... | Here is the SQLite query you requested, wrapped in code blocks:
```
SELECT to_par FROM table_name_44 WHERE margin_of_victory = "1 stroke"
``` | 49,536 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (to_par VARCHAR, margin_of_victory VARCHAR)\n\n Question: What was the To par score for the tournament with a margin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (winning_score VARCHAR, margin_of_victory VARCHAR)
Question: What was the winning score for the tournament with a margin of victory of 7 strokes?
Here is th... | Your SQLite query to find the winning score for the tournament with a margin of victory of 7 strokes looks correct. Here it is wrapped appropriately:
```
SELECT winning_score FROM table_name_6 WHERE margin_of_victory = "7 strokes"
```
This query selects the `winning_score` from `table_name_6` where the `margin_of_vi... | 49,537 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (winning_score VARCHAR, margin_of_victory VARCHAR)\n\n Question: What was the winning score for the tournament 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_64 (december INTEGER, record VARCHAR)
Question: What day in December was the game that resulted in a record of 6-3-1?
Here is the SQLite query to answer to th... | To correctly answer the question regarding what day in December the game with the record of 6-3-1 took place, you should select the `december` column instead of summing it. The appropriate query is as follows:
```
SELECT december FROM table_name_64 WHERE record = "6-3-1"
```
This query will return the specific day i... | 49,538 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (december INTEGER, record VARCHAR)\n\n Question: What day in December was the game that resulted in a record of 6-3-... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
Question: How many were in attendance against the Oakland Raiders after week 7?
Here is the SQLite que... | Here is the SQLite query to answer the question regarding attendance against the Oakland Raiders after week 7:
```
SELECT SUM(attendance) FROM table_name_25 WHERE opponent = "oakland raiders" AND week > 7
``` | 49,539 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (attendance INTEGER, opponent VARCHAR, week VARCHAR)\n\n Question: How many were in attendance against the Oakland R... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR)
Question: What is the average attendance for the New York Jets?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to calculate the average attendance for the New York Jets:
```
SELECT AVG(attendance) FROM table_name_98 WHERE opponent = "new york jets";
``` | 49,540 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR)\n\n Question: What is the average attendance for the New York Jets?\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_51 (week VARCHAR, date VARCHAR, attendance VARCHAR)
Question: On what week were there 26,243 in attendance on September 21, 1969?
Here is the SQLite query to ... | The provided query appears to have some mistakes. To correctly answer the question about finding the week with an attendance of 26,243 on September 21, 1969, the query should focus on selecting the week based on specific conditions without using `COUNT()` or `OFFSET`, since we want a direct match of `attendance`.
Her... | 49,541 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (week VARCHAR, date VARCHAR, attendance VARCHAR)\n\n Question: On what week were there 26,243 in attendance on Septe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (opponent_team VARCHAR, match VARCHAR, location VARCHAR)
Question: Who was the opponent at Pasir Gudang, Malaysia with a match larger than 2?
Here is the S... | Your SQLite query looks good for retrieving the opponent team based on the specified conditions. Here's the query wrapped in triple backticks as requested:
```
SELECT opponent_team FROM table_name_18 WHERE match > 2 AND location = "pasir gudang, malaysia";
```
This query selects the `opponent_team` from `table_name_... | 49,542 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (opponent_team VARCHAR, match VARCHAR, location VARCHAR)\n\n Question: Who was the opponent at Pasir Gudang, Malaysi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (opponent_team VARCHAR, match INTEGER)
Question: Who was the opponent at the match smaller than 3?
Here is the SQLite query to answer to the question: Who ... | Your SQLite query is correctly structured to answer the question. Here it is wrapped in the appropriate code block:
```
SELECT opponent_team FROM table_name_31 WHERE match < 3;
``` | 49,543 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (opponent_team VARCHAR, match INTEGER)\n\n Question: Who was the opponent at the match smaller than 3?\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_78 (location VARCHAR, opponent_team VARCHAR)
Question: Where was the game when Police S.A. was the opponent?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question regarding the location of the game when Police S.A. was the opponent:
```
SELECT location FROM table_name_78 WHERE opponent_team = "Police S.A."
``` | 49,544 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (location VARCHAR, opponent_team VARCHAR)\n\n Question: Where was the game when Police S.A. was the opponent?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (list_entry_number VARCHAR, location VARCHAR)
Question: How many list entry numbers are located in Platting Road, Lydgate?
Here is the SQLite query to answ... | Your provided SQLite query looks good for counting the number of list entry numbers located in "Platting Road, Lydgate". However, it is generally good practice to ensure that the case matches the data in the database. If you want to make it case-insensitive, you could use the `LOWER()` function.
Here’s the optimized ... | 49,545 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (list_entry_number VARCHAR, location VARCHAR)\n\n Question: How many list entry numbers are located in Platting Road... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (type VARCHAR, list_entry_number VARCHAR)
Question: Which type has list entry number of 1356677?
Here is the SQLite query to answer to the question: Which ... | Here is the SQLite query to answer the question: Which type has list entry number of 1356677?:
```
SELECT type FROM table_name_52 WHERE list_entry_number = '1356677'
``` | 49,546 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (type VARCHAR, list_entry_number VARCHAR)\n\n Question: Which type has list entry number of 1356677?\n\nHere is the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (completed VARCHAR, type VARCHAR, list_entry_number VARCHAR)
Question: What is the completed date of the church with list entry number 1068071?
Here is the... | Your provided query is mostly correct, but it includes a small inconsistency regarding the use of quotes for the `list_entry_number`. Since `list_entry_number` is defined as a `VARCHAR`, you should enclose the number within single quotes. Here is the corrected query:
```
SELECT completed FROM table_name_33 WHERE type ... | 49,547 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (completed VARCHAR, type VARCHAR, list_entry_number VARCHAR)\n\n Question: What is the completed date of the church ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (scorers VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Who were the scorers in the game against neuchâtel xamax played on 10 December 1985?
Here is th... | Here is the SQLite query to answer the question about the scorers in the game against neuchâtel xamax played on 10 December 1985:
```
SELECT scorers FROM table_name_64 WHERE opponent = "neuchâtel xamax" AND date = "10 December 1985";
``` | 49,548 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (scorers VARCHAR, opponent VARCHAR, date VARCHAR)\n\n Question: Who were the scorers in the game against neuchâtel x... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (date VARCHAR, scorers VARCHAR)
Question: What date was the game played in where hegarty was the scorer?
Here is the SQLite query to answer to the question... | Your SQLite query to find the date of the game where "hegarty" was the scorer is almost correct. However, if "hegarty" could be part of a list of scorers in the `scorers` column, you may want to use the `LIKE` operator instead of checking for an exact match with `=`. Here’s how you can write the query:
```sql
SELECT d... | 49,549 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (date VARCHAR, scorers VARCHAR)\n\n Question: What date was the game played in where hegarty was the scorer?\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_68 (callsign VARCHAR, icao VARCHAR)
Question: Who is the callsign that has ICAO of SCO?
Here is the SQLite query to answer to the question: Who is the callsig... | Here's the SQLite query to answer the question of who has the callsign with an ICAO of SCO:
```sql
SELECT callsign FROM table_name_68 WHERE icao = "SCO";
``` | 49,550 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (callsign VARCHAR, icao VARCHAR)\n\n Question: Who is the callsign that has ICAO of SCO?\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_34 (commenced_operations VARCHAR, icao VARCHAR)
Question: Who is the commenced operations that has icao of slk?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about who has commenced operations with an ICAO of "slk":
```
SELECT commenced_operations FROM table_name_34 WHERE icao = "slk";
``` | 49,551 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (commenced_operations VARCHAR, icao VARCHAR)\n\n Question: Who is the commenced operations that has icao of slk?\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_3 (callsign VARCHAR, commenced_operations INTEGER)
Question: Who is the call sign that has a commenced operation before 1976?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question: Who is the call sign that has a commenced operation before 1976?:
```sql
SELECT callsign FROM table_name_3 WHERE commenced_operations < 1976;
``` | 49,552 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (callsign VARCHAR, commenced_operations INTEGER)\n\n Question: Who is the call sign that has a commenced operation be... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (hdtv VARCHAR, content VARCHAR)
Question: What is the HDTV of the Music Content Channel?
Here is the SQLite query to answer to the question: What is the HD... | Here is the SQLite query to answer the question about the HDTV of the Music Content Channel:
```
SELECT hdtv FROM table_name_60 WHERE content = "Music Content Channel";
``` | 49,553 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (hdtv VARCHAR, content VARCHAR)\n\n Question: What is the HDTV of the Music Content Channel?\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 (television_service VARCHAR, content VARCHAR)
Question: What is the Television Service offering Cartomanzia?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about which Television Service is offering Cartomanzia:
```
SELECT television_service FROM table_name_36 WHERE content = "cartomanzia"
``` | 49,554 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (television_service VARCHAR, content VARCHAR)\n\n Question: What is the Television Service offering Cartomanzia?\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_32 (country VARCHAR, content VARCHAR)
Question: What Country's content is Televendite?
Here is the SQLite query to answer to the question: What Country's cont... | Here is the SQLite query to answer your question:
```
SELECT country FROM table_name_32 WHERE content = "Televendite"
``` | 49,555 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (country VARCHAR, content VARCHAR)\n\n Question: What Country's content is Televendite?\n\nHere is the SQLite query ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (country VARCHAR, content VARCHAR)
Question: What Country's Content is TV Locale?
Here is the SQLite query to answer to the question: What Country's Content... | Your SQLite query is correct and effectively retrieves the country where the content is "TV Locale". Here is the code wrapped as requested:
```
SELECT country FROM table_name_9 WHERE content = "TV Locale";
```
Make sure to note that "TV Locale" is case-sensitive in SQLite, so you may want to use the appropriate case... | 49,556 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (country VARCHAR, content VARCHAR)\n\n Question: What Country's Content is TV Locale?\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_12 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR)
Question: How many golds had a silver of more than 1, rank more than 1, total of... | Your SQLite query is nearly correct, but since 'bronze', 'silver', 'total', and 'rank' are defined as VARCHAR in the schema, you need to convert them to integers for comparison. Here's the corrected query:
```sql
SELECT SUM(gold)
FROM table_name_12
WHERE CAST(silver AS INTEGER) > 1
AND CAST(rank AS INTEGER) > 1
... | 49,557 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR)\n\n Question: How many golds had a silve... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (rank INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the total of rank when gold is 2 and total is more than 4?
Here is the SQLite query to answer... | Here is the corrected SQLite query to answer the question:
```sql
SELECT SUM(rank) FROM table_name_99 WHERE gold = '2' AND total > '4';
```
Note: In the original query, the condition `gold = 2` assumes `gold` is an integer while also treating it as a string in the schema (VARCHAR), which is inconsistent. Additionally... | 49,558 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (rank INTEGER, gold VARCHAR, total VARCHAR)\n\n Question: What is the total of rank when gold is 2 and total is more... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
Question: What is the total number of bronze when gold is less than 1 and silver is more than 1?
Here is the... | Here is the SQLite query to answer the question regarding the total number of bronze when gold is less than 1 and silver is more than 1:
```
SELECT SUM(bronze) FROM table_name_53 WHERE gold < 1 AND silver > 1
``` | 49,559 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (bronze INTEGER, gold VARCHAR, silver VARCHAR)\n\n Question: What is the total number of bronze when gold is less th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What is the total of rank when silver is more than 1, gold is 2, and total is more than... | Your query is mostly correct, but you need to ensure that the comparisons on the `total`, `silver`, and `gold` columns are made against numeric values, as the `total`, `silver`, and `gold` columns are defined as `VARCHAR`. Therefore, you may need to cast these columns to integers in your query. Here's the corrected ver... | 49,560 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)\n\n Question: What is the total of rank when silver is mo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (wins INTEGER, top_25 VARCHAR, top_5 VARCHAR)
Question: What is the Wins with a Top-25 of 3, and a Top-5 larger than 1?
Here is the SQLite query to answer ... | Your SQLite query is aimed at calculating the average number of wins where the `top_25` is 3 and `top_5` is greater than 1. However, if you simply want to retrieve the total number of wins that meet this condition, you might want to use `SUM` instead of `AVG`. Nonetheless, if your intention is indeed to find the averag... | 49,561 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (wins INTEGER, top_25 VARCHAR, top_5 VARCHAR)\n\n Question: What is the Wins with a Top-25 of 3, and a Top-5 larger ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_25 VARCHAR)
Question: Which Cuts made has a Top-5 smaller than 3, and a Top-25 smaller than 6, and an... | Here is the corrected SQLite query to answer the question:
```sql
SELECT cuts_made
FROM table_name_53
WHERE CAST(top_5 AS INTEGER) < 3
AND CAST(top_25 AS INTEGER) < 6
AND CAST(events AS INTEGER) = 10;
``` | 49,562 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_25 VARCHAR)\n\n Question: Which Cuts made has a Top-5 smaller... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (tournament VARCHAR, cuts_made VARCHAR, events VARCHAR)
Question: Which Tournament has a Cuts made smaller than 9, and an Events of 10?
Here is the SQLite ... | Here is the SQLite query to answer the question:
```
SELECT tournament FROM table_name_25 WHERE cuts_made < 9 AND events = 10
``` | 49,563 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (tournament VARCHAR, cuts_made VARCHAR, events VARCHAR)\n\n Question: Which Tournament has a Cuts made smaller than ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR)
Question: What is the sum of Points for 250cc class, ranked 13th, later than 1955?
Here is the ... | Here is the SQLite query to answer the question regarding the sum of points for the 250cc class, ranked 13th, later than 1955:
```sql
SELECT SUM(points) FROM table_name_89 WHERE class = "250cc" AND rank = "13th" AND year > 1955
``` | 49,564 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR)\n\n Question: What is the sum of Points for 250cc class,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (class VARCHAR, year VARCHAR, points VARCHAR)
Question: What is the Class for a year later than 1958, with 4 points?
Here is the SQLite query to answer to ... | The SQLite query you've provided is almost correct, but since the `year` and `points` columns are defined as `VARCHAR`, you should handle the comparison appropriately by either casting them to integers or ensuring that the values are stored as numbers. Here's the corrected query, assuming that the data in the `year` an... | 49,565 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (class VARCHAR, year VARCHAR, points VARCHAR)\n\n Question: What is the Class for a year later than 1958, with 4 poi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)
Question: What is the average Year when there were more than 3 points, for MV Agusta and ranked 1... | Your SQLite query looks mostly correct, but it could benefit from a minor adjustment in handling the `points` value. Since `points` is defined as a `VARCHAR`, you should ensure that you're comparing it correctly as an integer. SQLite will perform type coercion, but it's a good practice to convert it explicitly.
Here i... | 49,566 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)\n\n Question: What is the average Year when there were mo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (team VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR)
Question: What Team has a Class of 350cc, with less than 13 points in 1959?
Here is the SQLite ... | Here is the SQLite query to answer the question regarding which team has a class of 350cc, with less than 13 points in 1959:
```
SELECT team FROM table_name_93 WHERE class = '350cc' AND points < 13 AND year = '1959';
``` | 49,567 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (team VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR)\n\n Question: What Team has a Class of 350cc, with less ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (event VARCHAR, location VARCHAR)
Question: Which event was held at Manly Beach?
Here is the SQLite query to answer to the question: Which event was held a... | Here is the SQLite query to answer the question regarding the event held at Manly Beach:
```
SELECT event FROM table_name_20 WHERE location = "Manly Beach";
``` | 49,568 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (event VARCHAR, location VARCHAR)\n\n Question: Which event was held at Manly Beach?\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_99 (location VARCHAR, country VARCHAR, event VARCHAR)
Question: What was the location of the Havaianas Beachley Classic, held in Australia?
Here is the SQLite... | Here is the SQLite query to answer the question about the location of the Havaianas Beachley Classic, held in Australia:
```
SELECT location FROM table_name_99 WHERE country = "Australia" AND event = "Havaianas Beachley Classic";
``` | 49,569 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (location VARCHAR, country VARCHAR, event VARCHAR)\n\n Question: What was the location of the Havaianas Beachley Cla... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (event VARCHAR, country VARCHAR)
Question: Which event was held in Brazil?
Here is the SQLite query to answer to the question: Which event was held in Braz... | Your SQLite query looks good! Here it is wrapped in code formatting:
```
SELECT event FROM table_name_31 WHERE country = "brazil";
``` | 49,570 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (event VARCHAR, country VARCHAR)\n\n Question: Which event was held in Brazil?\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_4 (region VARCHAR, host VARCHAR)
Question: The University of Colorado hosted what region?
Here is the SQLite query to answer to the question: The University o... | Here is the SQLite query to answer the question regarding the region hosted by the University of Colorado:
```
SELECT region FROM table_name_4 WHERE host = "University of Colorado";
``` | 49,571 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (region VARCHAR, host VARCHAR)\n\n Question: The University of Colorado hosted what region?\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 (city VARCHAR, venue VARCHAR)
Question: Peterson Gym is in what city?
Here is the SQLite query to answer to the question: Peterson Gym is in what city?:
``... | Here is the SQLite query to answer the question: Peterson Gym is in what city?:
```
SELECT city FROM table_name_60 WHERE venue = "Peterson Gym";
``` | 49,572 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (city VARCHAR, venue VARCHAR)\n\n Question: Peterson Gym is in what city?\n\nHere is the SQLite query to answer to t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (state VARCHAR, region VARCHAR, host VARCHAR)
Question: Mideast region host University of Tennessee is in what state?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question: Mideast region host University of Tennessee is in what state?:
```
SELECT state FROM table_name_70 WHERE region = "mideast" AND host = "university of tennessee";
``` | 49,573 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (state VARCHAR, region VARCHAR, host VARCHAR)\n\n Question: Mideast region host University of Tennessee is in what s... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (city VARCHAR, region VARCHAR, venue VARCHAR)
Question: What city is east region venue University Hall (University of Virginia) in?
Here is the SQLite quer... | Your SQLite query to find the city for the east region venue "University Hall (University of Virginia)" is correct. Here it is wrapped in code formatting:
```
SELECT city FROM table_name_10 WHERE region = "east" AND venue = "university hall (university of virginia)";
``` | 49,574 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (city VARCHAR, region VARCHAR, venue VARCHAR)\n\n Question: What city is east region venue University Hall (Universi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (venue VARCHAR, host VARCHAR)
Question: What is the venue at Stanford University?
Here is the SQLite query to answer to the question: What is the venue at ... | Here is the SQLite query to answer the question about the venue at Stanford University:
```
SELECT venue FROM table_name_19 WHERE host = "stanford university";
``` | 49,575 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (venue VARCHAR, host VARCHAR)\n\n Question: What is the venue at Stanford University?\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_22 (venue VARCHAR, city VARCHAR)
Question: What is the venue in Seattle?
Here is the SQLite query to answer to the question: What is the venue in Seattle?:
``... | Here is the SQLite query to answer the question regarding the venue in Seattle:
```sql
SELECT venue FROM table_name_22 WHERE city = "seattle";
``` | 49,576 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (venue VARCHAR, city VARCHAR)\n\n Question: What is the venue in Seattle?\n\nHere is the SQLite query to answer to t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (team VARCHAR, race_name VARCHAR)
Question: What team won the Tour de Santa Catarina?
Here is the SQLite query to answer to the question: What team won the ... | Here is the SQLite query to answer the question: What team won the Tour de Santa Catarina?:
```
SELECT team FROM table_name_5 WHERE race_name = "Tour de Santa Catarina";
``` | 49,577 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (team VARCHAR, race_name VARCHAR)\n\n Question: What team won the Tour de Santa Catarina?\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_88 (uci_rating INTEGER, team VARCHAR)
Question: What is Relax-Gam's average UCI Rating?
Here is the SQLite query to answer to the question: What is Relax-Gam'... | Here is the SQLite query to answer the question:
```
SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "Relax-Gam"
``` | 49,578 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (uci_rating INTEGER, team VARCHAR)\n\n Question: What is Relax-Gam's average UCI Rating?\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_3 (uci_rating INTEGER, race_name VARCHAR)
Question: What is Vuelta a Ecuador's lowest UCI Rating?
Here is the SQLite query to answer to the question: What is ... | Here is the SQLite query to answer the question about Vuelta a Ecuador's lowest UCI Rating:
```
SELECT MIN(uci_rating) FROM table_name_3 WHERE race_name = "vuelta a ecuador";
``` | 49,579 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (uci_rating INTEGER, race_name VARCHAR)\n\n Question: What is Vuelta a Ecuador's lowest UCI Rating?\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_73 (result VARCHAR, attendance VARCHAR)
Question: What was the result of the game attended by 54,110?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question:
```
SELECT result FROM table_name_73 WHERE attendance = "54,110"
``` | 49,580 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (result VARCHAR, attendance VARCHAR)\n\n Question: What was the result of the game attended by 54,110?\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_39 (date VARCHAR, attendance VARCHAR)
Question: What was the date of the game attended by 45,122?
Here is the SQLite query to answer to the question: What was... | Here is the SQLite query to answer the question regarding the date of the game attended by 45,122:
```
SELECT date FROM table_name_39 WHERE attendance = "45,122";
``` | 49,581 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (date VARCHAR, attendance VARCHAR)\n\n Question: What was the date of the game attended by 45,122?\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_35 (week INTEGER, attendance VARCHAR)
Question: What is the earliest week with a game attended by 60,233?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the earliest week with a game attended by 60,233:
```
SELECT MIN(week) FROM table_name_35 WHERE attendance = "60,233";
``` | 49,582 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (week INTEGER, attendance VARCHAR)\n\n Question: What is the earliest week with a game attended by 60,233?\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_43 (week INTEGER, result VARCHAR)
Question: What is the latest week with a game with a result of l 12–7?
Here is the SQLite query to answer to the question: W... | Your SQLite query is correctly designed to find the latest week with a game result of "l 12–7". Here’s your code wrapped in the required format:
```
SELECT MAX(week) FROM table_name_43 WHERE result = "l 12–7";
``` | 49,583 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (week INTEGER, result VARCHAR)\n\n Question: What is the latest week with a game with a result of l 12–7?\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_75 (runner_s__up VARCHAR, tournament VARCHAR)
Question: What is Runner(s)-up, when Tournament is MCI Classic?
Here is the SQLite query to answer to the questi... | Your SQLite query looks almost correct, but SQLite is case-insensitive for string comparison by default. However, to ensure it matches exactly in case, you might use `COLLATE NOCASE`. But if you want to keep it simple, you can just stick with your original query. Here's the formatted code:
```
SELECT runner_s__up FROM... | 49,584 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (runner_s__up VARCHAR, tournament VARCHAR)\n\n Question: What is Runner(s)-up, when Tournament is MCI Classic?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (winning_score VARCHAR, date VARCHAR)
Question: What is Winning Score, when Date is Jul 27, 1997?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question "What is Winning Score, when Date is Jul 27, 1997?":
```
SELECT winning_score FROM table_name_53 WHERE date = "Jul 27, 1997";
``` | 49,585 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (winning_score VARCHAR, date VARCHAR)\n\n Question: What is Winning Score, when Date is Jul 27, 1997?\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_37 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What is Winning Score, when Runner(s)-up is Ted Purdy?
Here is the SQLite query to answer to the qu... | Your SQLite query is mostly correct, but it's important to ensure that the case sensitivity matches the name in the database unless you want it to be case-insensitive. Also, be mindful of the potential for spaces or different cases in the value of the "runner_s__up" column. Below is the query you provided, wrapped appr... | 49,586 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (winning_score VARCHAR, runner_s__up VARCHAR)\n\n Question: What is Winning Score, when Runner(s)-up is Ted Purdy?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (enrollment INTEGER, founded VARCHAR, control VARCHAR, location VARCHAR)
Question: What is the enrollment number for the public institution in Golden, Color... | The SQLite query you provided is intended to find the average enrollment for public institutions in Golden, Colorado, founded after 1874. However, since the question specifically asks for the enrollment number (not the average), we should adjust the query to select the enrollment values directly. Here's the corrected q... | 49,587 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (enrollment INTEGER, founded VARCHAR, control VARCHAR, location VARCHAR)\n\n Question: What is the enrollment number... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (team VARCHAR, year VARCHAR, class VARCHAR)
Question: Which Team has a Year smaller than 2007, and a Class of gts?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question regarding which Team has a Year smaller than 2007 and a Class of "gts":
```
SELECT team FROM table_name_96 WHERE year < '2007' AND class = 'gts';
``` | 49,588 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (team VARCHAR, year VARCHAR, class VARCHAR)\n\n Question: Which Team has a Year smaller than 2007, and a Class of gt... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (year INTEGER, co_drivers VARCHAR)
Question: In what year Year has a Co-Drivers of jérôme policand christopher campbell?
Here is the SQLite query to answer... | The SQLite query you provided does not accurately answer the question regarding the specific year when there was a co-driver of "jérôme policand christopher campbell". Instead of summing the years, you should select the specific year(s) where the condition holds true. Here is the corrected query:
```
SELECT year FROM ... | 49,589 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (year INTEGER, co_drivers VARCHAR)\n\n Question: In what year Year has a Co-Drivers of jérôme policand christopher c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (language VARCHAR, content VARCHAR)
Question: What is Language, when Content is Monoscopio?
Here is the SQLite query to answer to the question: What is Lan... | Here is the SQLite query to answer the question about the Language when Content is "Monoscopio":
```
SELECT language FROM table_name_27 WHERE content = "Monoscopio";
``` | 49,590 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (language VARCHAR, content VARCHAR)\n\n Question: What is Language, when Content is Monoscopio?\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_90 (television_service VARCHAR, content VARCHAR)
Question: What is Television Service, when Content is Presentazione?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question regarding the Television Service when the Content is Presentazione:
```
SELECT television_service FROM table_name_90 WHERE content = "Presentazione"
``` | 49,591 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (television_service VARCHAR, content VARCHAR)\n\n Question: What is Television Service, when Content is Presentazion... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (package_option VARCHAR, television_service VARCHAR)
Question: What is Package/Option, when Television Service is Sky Inside?
Here is the SQLite query to a... | Here is the SQLite query you can use to answer the question regarding the package option for the television service "Sky Inside":
```
SELECT package_option FROM table_name_74 WHERE television_service = "Sky Inside";
``` | 49,592 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (package_option VARCHAR, television_service VARCHAR)\n\n Question: What is Package/Option, when Television Service i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (package_option VARCHAR, television_service VARCHAR)
Question: What is Package/Option, when Television Service is Sky Inside?
Here is the SQLite query to a... | Here is the SQLite query to answer the question:
```
SELECT package_option FROM table_name_63 WHERE television_service = "Sky Inside";
``` | 49,593 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (package_option VARCHAR, television_service VARCHAR)\n\n Question: What is Package/Option, when Television Service i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (points INTEGER, performer VARCHAR)
Question: What is the sum of Points, when the Performer is fe-mail?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about the sum of points when the performer is "fe-mail":
```
SELECT SUM(points) FROM table_name_64 WHERE performer = 'fe-mail';
``` | 49,594 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (points INTEGER, performer VARCHAR)\n\n Question: What is the sum of Points, when the Performer is fe-mail?\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_46 (set_3 VARCHAR, time VARCHAR)
Question: What is the score for set 3 with a time at 15:04?
Here is the SQLite query to answer to the question: What is the s... | Your SQLite query looks correct for retrieving the value of `set_3` at the specified time. Here is the query wrapped in the specified format:
```
SELECT set_3 FROM table_name_46 WHERE time = "15:04";
``` | 49,595 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (set_3 VARCHAR, time VARCHAR)\n\n Question: What is the score for set 3 with a time at 15:04?\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_63 (score VARCHAR, set_3 VARCHAR)
Question: What was the overall score when the score of set 3 was 29–27?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question regarding the overall score when the score of set 3 was 29–27:
```
SELECT score FROM table_name_63 WHERE set_3 = "29–27";
``` | 49,596 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (score VARCHAR, set_3 VARCHAR)\n\n Question: What was the overall score when the score of set 3 was 29–27?\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_74 (set_2 VARCHAR, set_3 VARCHAR)
Question: What was the score for set 2 when set 3 was 25–22?
Here is the SQLite query to answer to the question: What was th... | Here is the SQLite query to answer the question about what the score for set 2 was when set 3 was 25–22:
```sql
SELECT set_2 FROM table_name_74 WHERE set_3 = "25–22";
``` | 49,597 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (set_2 VARCHAR, set_3 VARCHAR)\n\n Question: What was the score for set 2 when set 3 was 25–22?\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_33 (score VARCHAR, set_1 VARCHAR)
Question: What was the overall score when set 1 was 23–25?
Here is the SQLite query to answer to the question: What was the ... | Here is the SQLite query to answer the question about the overall score when set 1 was 23–25:
```
SELECT score FROM table_name_33 WHERE set_1 = '23–25';
``` | 49,598 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (score VARCHAR, set_1 VARCHAR)\n\n Question: What was the overall score when set 1 was 23–25?\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_40 (school_club_team VARCHAR, player VARCHAR)
Question: What school/club team did Amal McCaskill play for?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question regarding the school/club team that Amal McCaskill played for:
```
SELECT school_club_team FROM table_name_40 WHERE player = "Amal McCaskill";
``` | 49,599 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (school_club_team VARCHAR, player VARCHAR)\n\n Question: What school/club team did Amal McCaskill play for?\n\nHere ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.