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_93 (population VARCHAR, area_km_2 VARCHAR)
Question: What is the population when the area km2 is 173.4?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the population when the area in square kilometers is 173.4:
```
SELECT population FROM table_name_93 WHERE area_km_2 = '173.4'
``` | 13,000 | [
{
"from": "human",
"value": " 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 (population VARCHAR, area_km_2 VARCHAR)\n\n Question: What is the population when the area km2 is 173.4?\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_32 (census_ranking VARCHAR, area_km_2 VARCHAR)
Question: what is the census ranking when the area km 2 is 173.4?
Here is the SQLite query to answer to the que... | Your SQLite query looks almost correct, but since the `area_km_2` field is defined as VARCHAR in the schema, you need to properly handle the comparison as a string. Here's the corrected SQL query:
```
SELECT census_ranking FROM table_name_32 WHERE area_km_2 = '173.4'
```
This ensures that you are comparing the area ... | 13,001 | [
{
"from": "human",
"value": " 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 (census_ranking VARCHAR, area_km_2 VARCHAR)\n\n Question: what is the census ranking when the area km 2 is 173.4?\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 (france VARCHAR, _percentage_people_under_18__2005_ VARCHAR)
Question: WHAT IS THE FRANCE WITH PEOPLE UNDER 18 OF SUB-SAHARAN AFRICA?
Here is the SQLite qu... | It seems there may be a misunderstanding in your question. The database schema you've provided describes a table with France as a region or country and the percentage of people under 18 in 2005, but the query does not correctly capture the intention of querying for information specifically about Sub-Saharan Africa.
If... | 13,002 | [
{
"from": "human",
"value": " 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 (france VARCHAR, _percentage_people_under_18__2005_ VARCHAR)\n\n Question: WHAT IS THE FRANCE WITH PEOPLE UNDER 18 O... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (paris VARCHAR, france VARCHAR)
Question: WHAT IS THE PARIS WITH A FRANCE OF 1.4%?
Here is the SQLite query to answer to the question: WHAT IS THE PARIS WI... | Your SQLite query looks good for answering the provided question. However, SQLite uses single quotes for string literals, so it's recommended to use single quotes for the value "1.4%". Here’s the corrected query:
```
SELECT paris FROM table_name_71 WHERE france = '1.4%'
```
This query will return the `paris` values ... | 13,003 | [
{
"from": "human",
"value": " 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 (paris VARCHAR, france VARCHAR)\n\n Question: WHAT IS THE PARIS WITH A FRANCE OF 1.4%?\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_18 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)
Question: WHAT IS THE VAL-DE-MARNE WITH A Seine-Saint-Denis of 2.7%?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question "WHAT IS THE VAL-DE-MARNE WITH A Seine-Saint-Denis of 2.7%?":
```sql
SELECT val_de_marne FROM table_name_18 WHERE seine_saint_denis = "2.7%"
``` | 13,004 | [
{
"from": "human",
"value": " 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 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)\n\n Question: WHAT IS THE VAL-DE-MARNE WITH A Seine-Saint-Denis of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (seine_saint_denis VARCHAR, paris VARCHAR)
Question: WHAT IS A Seine-Saint-Denis WITH A PARIS OF 12.1%?
Here is the SQLite query to answer to the question:... | Here is the correct SQLite query to answer the question:
```
SELECT seine_saint_denis FROM table_name_90 WHERE paris = '12.1%';
``` | 13,005 | [
{
"from": "human",
"value": " 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 (seine_saint_denis VARCHAR, paris VARCHAR)\n\n Question: WHAT IS A Seine-Saint-Denis WITH A PARIS OF 12.1%?\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_52 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)
Question: WHAT IS Val-de-Marne WITH Seine-Saint-Denis of 4.0%?
Here is the SQLite query to answer to the ... | Here is the corrected SQLite query to answer the question "WHAT IS Val-de-Marne WITH Seine-Saint-Denis of 4.0%?":
```
SELECT val_de_marne FROM table_name_52 WHERE seine_saint_denis LIKE "4.0%"
```
This query uses the `LIKE` operator to match any entries in the `seine_saint_denis` column that start with "4.0%", allow... | 13,006 | [
{
"from": "human",
"value": " 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 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)\n\n Question: WHAT IS Val-de-Marne WITH Seine-Saint-Denis of 4.0%?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (score VARCHAR, tournament VARCHAR)
Question: What was the score for the match at the tournament in canada f7, toronto?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the score for the match at the tournament in Canada F7, Toronto:
```
SELECT score FROM table_name_87 WHERE tournament = "canada f7, toronto"
``` | 13,007 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (score VARCHAR, tournament VARCHAR)\n\n Question: What was the score for the match at the tournament in canada f7, t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (opponents VARCHAR, surface VARCHAR, date VARCHAR)
Question: Who were the opponents that played on a hard surface on July 13, 2008?
Here is the SQLite quer... | Here is the SQLite query to answer the question regarding the opponents that played on a hard surface on July 13, 2008:
```
SELECT opponents FROM table_name_85 WHERE surface = "hard" AND date = "july 13, 2008"
``` | 13,008 | [
{
"from": "human",
"value": " 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 (opponents VARCHAR, surface VARCHAR, date VARCHAR)\n\n Question: Who were the opponents that played on a hard surfac... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (surface VARCHAR, score VARCHAR)
Question: What type of surface was played on when the score was 2–6, 6–1, [10–5]?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about what type of surface was played on when the score was 2–6, 6–1, [10–5]:
```
SELECT surface FROM table_name_7 WHERE score = "2–6, 6–1, [10–5]";
``` | 13,009 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (surface VARCHAR, score VARCHAR)\n\n Question: What type of surface was played on when the score was 2–6, 6–1, [10–5]... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (surface VARCHAR, date VARCHAR)
Question: What type of surface was played on July 27, 2013?
Here is the SQLite query to answer to the question: What type o... | Your SQLite query is almost correct, but it's important to ensure that the date formatting in the query matches the format stored in the database. If the date is stored in a different case or format, it may not return results as expected.
Here is the formatted query for your question:
```sql
SELECT surface FROM table... | 13,010 | [
{
"from": "human",
"value": " 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 (surface VARCHAR, date VARCHAR)\n\n Question: What type of surface was played on July 27, 2013?\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_85 (party VARCHAR, member VARCHAR)
Question: What party was the member peter howson part of?
Here is the SQLite query to answer to the question: What party wa... | Here is the SQLite query to answer the question regarding which party the member Peter Howson was part of:
```
SELECT party FROM table_name_85 WHERE member = "peter howson"
``` | 13,011 | [
{
"from": "human",
"value": " 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 (party VARCHAR, member VARCHAR)\n\n Question: What party was the member peter howson part of?\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_61 (electorate VARCHAR, member VARCHAR)
Question: Who was the electorate when the member was rex connor?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question: Who was the electorate when the member was rex connor?:
```
SELECT electorate FROM table_name_61 WHERE member = "rex connor"
``` | 13,012 | [
{
"from": "human",
"value": " 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 (electorate VARCHAR, member VARCHAR)\n\n Question: Who was the electorate when the member was rex connor?\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_1 (term_of_office VARCHAR, member VARCHAR)
Question: What was the term of office for noel beaton?
Here is the SQLite query to answer to the question: What was... | Here is the SQLite query to answer the question: What was the term of office for noel beaton?:
```
SELECT term_of_office FROM table_name_1 WHERE member = "noel beaton"
``` | 13,013 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (term_of_office VARCHAR, member VARCHAR)\n\n Question: What was the term of office for noel beaton?\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_1 (term_of_office VARCHAR, electorate VARCHAR)
Question: What was the term of office for the electorate warringah?
Here is the SQLite query to answer to the q... | Here is the SQLite query that answers the question about the term of office for the electorate "warringah":
```
SELECT term_of_office FROM table_name_1 WHERE electorate = "warringah"
``` | 13,014 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR)\n\n Question: What was the term of office for the electorate warringah?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (attendance VARCHAR, location VARCHAR, game VARCHAR)
Question: What is the total number of people in attendance when the game was at TD Banknorth Garden, in... | Your SQLite query looks mostly correct, but it should be noted that, by default, the `attendance` field is likely a VARCHAR type and may need to be handled appropriately depending on what raw form the attendance data takes. If you are just counting the number of entries (presumably where attendance is recorded), then u... | 13,015 | [
{
"from": "human",
"value": " 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 (attendance VARCHAR, location VARCHAR, game VARCHAR)\n\n Question: What is the total number of people in attendance ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (state VARCHAR, owner VARCHAR)
Question: What state is Wesson in?
Here is the SQLite query to answer to the question: What state is Wesson in?:
```
SELECT ... | Here is the SQLite query to answer the question: What state is Wesson in?:
```
SELECT state FROM table_name_13 WHERE owner = "Wesson";
``` | 13,016 | [
{
"from": "human",
"value": " 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 (state VARCHAR, owner VARCHAR)\n\n Question: What state is Wesson in?\n\nHere is the SQLite query to answer to the q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
Question: What is the College/Junior/Club Team (League) when the position is r... | Your SQLite query is correct, but it generally helps to ensure the player's name is in the correct case since SQLite is case-sensitive by default for string comparisons. If you're sure the player's name is stored as "Don Murdoch", your query will work perfectly. Here it is, wrapped as requested:
```
SELECT college_jun... | 13,017 | [
{
"from": "human",
"value": " 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 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: What is the College/Juni... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (position VARCHAR, round INTEGER)
Question: What is the position when the round is less than 2?
Here is the SQLite query to answer to the question: What is... | Here is the SQLite query to answer the question regarding the position when the round is less than 2:
```
SELECT position FROM table_name_68 WHERE round < 2
``` | 13,018 | [
{
"from": "human",
"value": " 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 (position VARCHAR, round INTEGER)\n\n Question: What is the position when the round is less than 2?\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_33 (nationality VARCHAR, player VARCHAR)
Question: What is the nationality when Claude Periard is the player?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to find the nationality when Claude Periard is the player:
```
SELECT nationality FROM table_name_33 WHERE player = "Claude Periard";
``` | 13,019 | [
{
"from": "human",
"value": " 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 (nationality VARCHAR, player VARCHAR)\n\n Question: What is the nationality when Claude Periard is the player?\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_68 (round INTEGER, player VARCHAR)
Question: What is the lowest round for the player Claude Periard?
Here is the SQLite query to answer to the question: What ... | Your provided SQLite query is almost correct but keep in mind that SQLite is case-sensitive, especially in string comparisons. If the player name might have different casing in the database, you should handle that accordingly. Here's the query you wrote, wrapped with backticks as you requested:
```
SELECT MIN(round) F... | 13,020 | [
{
"from": "human",
"value": " 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 (round INTEGER, player VARCHAR)\n\n Question: What is the lowest round for the player Claude Periard?\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_98 (died VARCHAR, spouse_to VARCHAR)
Question: When did the consort who had talal i as a spouse die?
Here is the SQLite query to answer to the question: When ... | Here is the SQLite query to answer your question about when the consort who had "talal i" as a spouse died:
```
SELECT died FROM table_name_98 WHERE spouse_to = "talal i";
``` | 13,021 | [
{
"from": "human",
"value": " 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 (died VARCHAR, spouse_to VARCHAR)\n\n Question: When did the consort who had talal i as a spouse die?\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_27 (spouse_to VARCHAR, born_as VARCHAR)
Question: Who was the spouse of the consort who was born as rania al yassin?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question:
```
SELECT spouse_to FROM table_name_27 WHERE born_as = 'rania al yassin';
``` | 13,022 | [
{
"from": "human",
"value": " 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 (spouse_to VARCHAR, born_as VARCHAR)\n\n Question: Who was the spouse of the consort who was born as rania al yassin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (round VARCHAR, overall INTEGER)
Question: When the Overall is under 102, what's the round played?
Here is the SQLite query to answer to the question: When... | Here is the SQLite query to answer the question regarding the round played when the Overall is under 102:
```
SELECT round FROM table_name_74 WHERE overall < 102;
``` | 13,023 | [
{
"from": "human",
"value": " 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 (round VARCHAR, overall INTEGER)\n\n Question: When the Overall is under 102, what's the round played?\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_66 (week INTEGER, date VARCHAR)
Question: What is the highest Week, when Date is "November 8, 1970"?
Here is the SQLite query to answer to the question: What ... | Your SQLite query to find the highest week when the date is "November 8, 1970" looks correct. Here is the code wrapped in the proper formatting:
```
SELECT MAX(week) FROM table_name_66 WHERE date = "November 8, 1970";
```
Make sure to pay attention to the case sensitivity in the date string, but SQLite is generally ... | 13,024 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (week INTEGER, date VARCHAR)\n\n Question: What is the highest Week, when Date is \"November 8, 1970\"?\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_69 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: What is the lowest Attendance, when Date is "December 20, 1970", and when Week is less than 14?
... | Here is the SQLite query to find the lowest attendance for the specified conditions:
```
SELECT MIN(attendance) FROM table_name_69 WHERE date = "December 20, 1970" AND week < 14
``` | 13,025 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (attendance INTEGER, date VARCHAR, week VARCHAR)\n\n Question: What is the lowest Attendance, when Date is \"Decembe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (opponent VARCHAR, week VARCHAR)
Question: What is Opponent, when Week is "5"?
Here is the SQLite query to answer to the question: What is Opponent, when W... | It looks like there is a small mistake in the query you provided. Since the `week` is stored as a VARCHAR, you should use quotes around the value "5". Here’s the corrected SQLite query:
```
SELECT opponent FROM table_name_70 WHERE week = '5';
``` | 13,026 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (opponent VARCHAR, week VARCHAR)\n\n Question: What is Opponent, when Week is \"5\"?\n\nHere is the SQLite query to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR)
Question: What is the place with the 68 score?
Here is the SQLite query to answer to the question: What is the place with th... | The provided SQLite query is almost correct, but since the `score` column is defined as `VARCHAR`, the value should be enclosed in quotes. Here’s the corrected query:
```sql
SELECT place FROM table_name_30 WHERE score = '68'
``` | 13,027 | [
{
"from": "human",
"value": " 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 (place VARCHAR, score VARCHAR)\n\n Question: What is the place with the 68 score?\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_92 (voltage VARCHAR, release_date VARCHAR, frequency VARCHAR)
Question: what is the voltage when release date is june 2001 and frequency is 1.13ghz?
Here is t... | Here is the SQLite query to answer the question regarding the voltage when the release date is June 2001 and the frequency is 1.13GHz:
```
SELECT voltage FROM table_name_92 WHERE release_date = "june 2001" AND frequency = "1.13ghz"
``` | 13,028 | [
{
"from": "human",
"value": " 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 (voltage VARCHAR, release_date VARCHAR, frequency VARCHAR)\n\n Question: what is the voltage when release date is ju... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (part_number_s_ VARCHAR, sspec_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR)
Question: what is the part number(s) when l2 cache is 512 kb, release... | The query you provided does not correctly check for the multiple `sSpec number` values. Instead of using `=` to compare with a string that includes all `sSpec number` values, you should use the `IN` operator to specify multiple values. Here is the corrected query:
```
SELECT part_number_s_
FROM table_name_71
WHERE l... | 13,029 | [
{
"from": "human",
"value": " 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 (part_number_s_ VARCHAR, sspec_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR)\n\n Question: what is the par... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (l2_cache VARCHAR, part_number_s_ VARCHAR)
Question: What is the L2 Cache when the Part Number(s) is rk80530pz014256?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question regarding the L2 Cache for the specified Part Number:
```
SELECT l2_cache FROM table_name_94 WHERE part_number_s_ = "rk80530pz014256"
``` | 13,030 | [
{
"from": "human",
"value": " 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 (l2_cache VARCHAR, part_number_s_ VARCHAR)\n\n Question: What is the L2 Cache when the Part Number(s) is rk80530pz01... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (release_date VARCHAR, sspec_number VARCHAR)
Question: What is the Release Date when sSpec Number is sl5xl, sl657, sl6by, sl6jp?
Here is the SQLite query t... | The original query you provided is incorrect because it attempts to match the `sspec_number` field to a single string containing all the values separated by commas. Instead, you should use the `IN` clause to match against multiple values. Here’s the corrected SQLite query:
```
SELECT release_date
FROM table_name_96
... | 13,031 | [
{
"from": "human",
"value": " 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 (release_date VARCHAR, sspec_number VARCHAR)\n\n Question: What is the Release Date when sSpec Number is sl5xl, sl65... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (socket VARCHAR, part_number_s_ VARCHAR)
Question: What is the Socket when the Part Number(s) is rk80530pz001256?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the Socket when the Part Number(s) is `rk80530pz001256`:
```
SELECT socket FROM table_name_5 WHERE part_number_s_ = "rk80530pz001256";
``` | 13,032 | [
{
"from": "human",
"value": " 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 (socket VARCHAR, part_number_s_ VARCHAR)\n\n Question: What is the Socket when the Part Number(s) is rk80530pz001256?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (semifinalists VARCHAR, surface VARCHAR)
Question: what is the semifinalists when the surface is hard (i)?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the semifinalists when the surface is hard (i):
```
SELECT semifinalists FROM table_name_9 WHERE surface = "hard (i)";
``` | 13,033 | [
{
"from": "human",
"value": " 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 (semifinalists VARCHAR, surface VARCHAR)\n\n Question: what is the semifinalists when the surface is hard (i)?\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_76 (surface VARCHAR, winner_and_score VARCHAR)
Question: what is the surface when the winner and score is gustavo kuerten 6-4, 7-5, 7-6(6)?
Here is the SQLite... | Here is the SQLite query to answer the question about the surface when the winner and score is "gustavo kuerten 6-4, 7-5, 7-6(6)":
```
SELECT surface FROM table_name_76 WHERE winner_and_score = "gustavo kuerten 6-4, 7-5, 7-6(6)"
``` | 13,034 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (surface VARCHAR, winner_and_score VARCHAR)\n\n Question: what is the surface when the winner and score is gustavo k... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (winner_and_score VARCHAR, week VARCHAR)
Question: who is the winner and score for the week of august 9?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about the winner and score for the week of August 9:
```sql
SELECT winner_and_score FROM table_name_6 WHERE week = "august 9";
``` | 13,035 | [
{
"from": "human",
"value": " 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 (winner_and_score VARCHAR, week VARCHAR)\n\n Question: who is the winner and score for the week of august 9?\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_51 (surface VARCHAR, week VARCHAR)
Question: what is the surface for the week of october 25?
Here is the SQLite query to answer to the question: what is the s... | Here is the SQLite query to answer the question about the surface for the week of October 25:
```
SELECT surface FROM table_name_51 WHERE week = "october 25";
``` | 13,036 | [
{
"from": "human",
"value": " 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 (surface VARCHAR, week VARCHAR)\n\n Question: what is the surface for the week of october 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_28 (winner_and_score VARCHAR, finalist VARCHAR)
Question: who is the winner and score for finalist sébastien grosjean?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about the winner and score for finalist Sébastien Grosjean:
```sql
SELECT winner_and_score FROM table_name_28 WHERE finalist = "sébastien grosjean"
``` | 13,037 | [
{
"from": "human",
"value": " 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 (winner_and_score VARCHAR, finalist VARCHAR)\n\n Question: who is the winner and score for finalist sébastien grosje... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (week VARCHAR, finalist VARCHAR)
Question: what is the week when the finalist is marcelo ríos?
Here is the SQLite query to answer to the question: what is ... | Your SQLite query looks correct for retrieving the week when the finalist is "marcelo ríos". Here it is formatted correctly:
```sql
SELECT week FROM table_name_16 WHERE finalist = "marcelo ríos";
``` | 13,038 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (week VARCHAR, finalist VARCHAR)\n\n Question: what is the week when the finalist is marcelo ríos?\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_50 (nation VARCHAR, name VARCHAR)
Question: What country did Chris Witty represent?
Here is the SQLite query to answer to the question: What country did Chris... | Here is the SQLite query to answer the question of what country Chris Witty represented:
```
SELECT nation FROM table_name_50 WHERE name = "Chris Witty";
``` | 13,039 | [
{
"from": "human",
"value": " 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 (nation VARCHAR, name VARCHAR)\n\n Question: What country did Chris Witty represent?\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_49 (date VARCHAR, games VARCHAR, time VARCHAR)
Question: On what day was the record set at the 2002 Salt Lake City games with a time of 3:57.70?
Here is the S... | Your query looks mostly correct, but you may want to ensure that the game name is formatted consistently with your data. Additionally, SQLite strings are case-sensitive, so the specific casing in the `games` field should match exactly what is recorded in the database. Here's the corrected query wrapped in code format:
... | 13,040 | [
{
"from": "human",
"value": " 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 (date VARCHAR, games VARCHAR, time VARCHAR)\n\n Question: On what day was the record set at the 2002 Salt Lake City ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR)
Question: Who set the record in the 500 metres event?
Here is the SQLite query to answer to the question: Who set the record ... | Here is the SQLite query to answer the question "Who set the record in the 500 metres event?":
```
SELECT name FROM table_name_14 WHERE event = "500 metres"
``` | 13,041 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR)\n\n Question: Who set the record in the 500 metres event?\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_23 (date VARCHAR, attendance VARCHAR)
Question: When was the attendance 3686?
Here is the SQLite query to answer to the question: When was the attendance 3686... | Here is the SQLite query to answer the question "When was the attendance 3686?":
```sql
SELECT date FROM table_name_23 WHERE attendance = '3686'
``` | 13,042 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR)\n\n Question: When was the attendance 3686?\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_42 (away VARCHAR, home VARCHAR)
Question: What is the away team whose home is Victoria?
Here is the SQLite query to answer to the question: What is the away t... | Here is the SQLite query to answer the question about the away team whose home is Victoria:
```
SELECT away FROM table_name_42 WHERE home = "Victoria";
``` | 13,043 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (away VARCHAR, home VARCHAR)\n\n Question: What is the away team whose home is Victoria?\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 (attendance INTEGER, away VARCHAR)
Question: What was the attendance when the away team was Real Espana?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question regarding the attendance when the away team was Real Espana:
```sql
SELECT attendance FROM table_name_67 WHERE away = "Real Espana";
``` | 13,044 | [
{
"from": "human",
"value": " 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 (attendance INTEGER, away VARCHAR)\n\n Question: What was the attendance when the away team was Real Espana?\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_76 (location VARCHAR, club VARCHAR)
Question: Where is nac breda club located?
Here is the SQLite query to answer to the question: Where is nac breda club loc... | Here is the SQLite query to answer the question: Where is nac breda club located?:
```
SELECT location FROM table_name_76 WHERE club = "nac breda";
``` | 13,045 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (location VARCHAR, club VARCHAR)\n\n Question: Where is nac breda club located?\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_68 (kit_maker VARCHAR, manager VARCHAR)
Question: Ron Jans is a manager of which kit maker?
Here is the SQLite query to answer to the question: Ron Jans is a ... | Here is the SQLite query to answer the question: Ron Jans is a manager of which kit maker?:
```
SELECT kit_maker FROM table_name_68 WHERE manager = "Ron Jans";
``` | 13,046 | [
{
"from": "human",
"value": " 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 (kit_maker VARCHAR, manager VARCHAR)\n\n Question: Ron Jans is a manager of which kit maker?\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_90 (manager VARCHAR, shirt_sponsor VARCHAR)
Question: Which manager sponsor arke shirt?
Here is the SQLite query to answer to the question: Which manager spon... | Here is the SQLite query to answer the question: Which manager sponsors arke shirt?:
```
SELECT manager FROM table_name_90 WHERE shirt_sponsor = 'arke';
``` | 13,047 | [
{
"from": "human",
"value": " 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 (manager VARCHAR, shirt_sponsor VARCHAR)\n\n Question: Which manager sponsor arke shirt?\n\nHere is the SQLite query... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (kit_maker VARCHAR, manager VARCHAR)
Question: Which kit maker have Trond Sollied as a manager?
Here is the SQLite query to answer to the question: Which k... | Here is the SQLite query to answer the question about which kit maker has Trond Sollied as a manager:
```
SELECT kit_maker FROM table_name_44 WHERE manager = "Trond Sollied"
``` | 13,048 | [
{
"from": "human",
"value": " 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 (kit_maker VARCHAR, manager VARCHAR)\n\n Question: Which kit maker have Trond Sollied as a manager?\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_48 (manager VARCHAR, club VARCHAR)
Question: Who is the manager of club fc twente?
Here is the SQLite query to answer to the question: Who is the manager of c... | Here is the SQLite query to answer the question: Who is the manager of club fc twente?:
```sql
SELECT manager FROM table_name_48 WHERE club = "fc twente";
``` | 13,049 | [
{
"from": "human",
"value": " 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 (manager VARCHAR, club VARCHAR)\n\n Question: Who is the manager of club fc twente?\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_51 (date VARCHAR, points VARCHAR)
Question: What is the date of the game with 62 points?
Here is the SQLite query to answer to the question: What is the date ... | Here is the SQLite query to answer the question regarding the date of the game with 62 points:
```
SELECT date FROM table_name_51 WHERE points = '62'
```
Note: In the query, the value '62' is enclosed in quotes since the points are defined as VARCHAR in the schema. | 13,050 | [
{
"from": "human",
"value": " 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 VARCHAR, points VARCHAR)\n\n Question: What is the date of the game with 62 points?\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_85 (home VARCHAR, date VARCHAR)
Question: Who was the home team on January 4?
Here is the SQLite query to answer to the question: Who was the home team on Jan... | Here is the SQLite query to answer the question: Who was the home team on January 4?:
```sql
SELECT home FROM table_name_85 WHERE date = "January 4";
``` | 13,051 | [
{
"from": "human",
"value": " 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 (home VARCHAR, date VARCHAR)\n\n Question: Who was the home team on January 4?\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_7 (player VARCHAR, years_with_spurs VARCHAR)
Question: What is Player, when Years With Spurs is 1988-95?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question: What is Player, when Years With Spurs is 1988-95?:
```sql
SELECT player FROM table_name_7 WHERE years_with_spurs = "1988-95";
``` | 13,052 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (player VARCHAR, years_with_spurs VARCHAR)\n\n Question: What is Player, when Years With Spurs is 1988-95?\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_87 (height_in_ft VARCHAR, years_with_spurs VARCHAR)
Question: What is Height in Ft., when Years With Spurs is 1973-74?
Here is the SQLite query to answer to t... | Your SQL query is correctly written to retrieve the height in feet for the specified year. Here it is formatted as you requested:
```
SELECT height_in_ft FROM table_name_87 WHERE years_with_spurs = "1973-74";
``` | 13,053 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (height_in_ft VARCHAR, years_with_spurs VARCHAR)\n\n Question: What is Height in Ft., when Years With Spurs is 1973-... | |
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, school_previous_club_team_country VARCHAR)
Question: What is Position, when School/Previous Club Team/Country is Kentucky?
Here is the S... | Here is the SQLite query to answer the question you provided:
```
SELECT position FROM table_name_67 WHERE school_previous_club_team_country = "Kentucky";
``` | 13,054 | [
{
"from": "human",
"value": " 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, school_previous_club_team_country VARCHAR)\n\n Question: What is Position, when School/Previous C... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (position VARCHAR, height_in_ft VARCHAR)
Question: What is Position, when Height in Ft. is 6-10?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question regarding the position when the height in feet is 6-10:
```
SELECT position FROM table_name_21 WHERE height_in_ft = '6-10';
``` | 13,055 | [
{
"from": "human",
"value": " 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 (position VARCHAR, height_in_ft VARCHAR)\n\n Question: What is Position, when Height in Ft. is 6-10?\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_35 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)
Question: What was the lowest fumble with an average of less than 5.7 and 236 yards?
Here is the SQLite query... | Your SQLite query is almost correct, but there is a little clarification needed regarding the data type for the `avg` field, since you've defined it as `VARCHAR`. To compare it numerically, you should cast it to a real number.
Here’s the revised version of the query:
```sql
SELECT MIN(fumbles) FROM table_name_35 WHER... | 13,056 | [
{
"from": "human",
"value": " 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 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)\n\n Question: What was the lowest fumble with an average of less than ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (avg INTEGER, player VARCHAR, fumbles VARCHAR)
Question: What was Buck Pierce's highest average when there were less than 2 fumbles?
Here is the SQLite que... | Here is the corrected SQLite query to answer the question about Buck Pierce's highest average when there were less than 2 fumbles:
```sql
SELECT MAX(avg)
FROM table_name_41
WHERE player = "buck pierce" AND CAST(fumbles AS INTEGER) < 2;
```
This ensures that the `fumbles` column, which is a VARCHAR, is properly tre... | 13,057 | [
{
"from": "human",
"value": " 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 (avg INTEGER, player VARCHAR, fumbles VARCHAR)\n\n Question: What was Buck Pierce's highest average when there were ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (census_ranking VARCHAR, area_km_2 VARCHAR, population VARCHAR)
Question: What is the census ranking for the community with an area smaller than 9.94 km2 an... | Your query is very close to what you need, but since the columns `area_km_2` and `population` are defined as `VARCHAR`, you'll want to cast them to numerical types for the comparisons. Here’s the modified query:
```sql
SELECT census_ranking
FROM table_name_93
WHERE CAST(area_km_2 AS REAL) < 9.94
AND CAST(populati... | 13,058 | [
{
"from": "human",
"value": " 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 (census_ranking VARCHAR, area_km_2 VARCHAR, population VARCHAR)\n\n Question: What is the census ranking for the com... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR)
Question: What is the area (in km2) for the community that has a status of v... | Your SQLite query is almost correct, but there are a couple of points to note regarding the population comparison with a string. Since the population is stored as a VARCHAR, you need to ensure it's treated as a number for proper comparison. Additionally, you might want to clarify the population condition by using prope... | 13,059 | [
{
"from": "human",
"value": " 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 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR)\n\n Question: What is the area (in k... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, official_name VARCHAR)
Question: What is the area (in km2) for the village of Paquetville, with a po... | Your provided SQLite query seems to have a small error in the population comparison, as the column `population` is defined as `VARCHAR`. This means that population values should be compared as strings, rather than as numbers. To correctly filter the data by population, you'll need to cast or convert the `population` to... | 13,060 | [
{
"from": "human",
"value": " 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 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, official_name VARCHAR)\n\n Question: What is the area (in km... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (high_assists VARCHAR, game VARCHAR)
Question: Who had the high assists in Game 22?
Here is the SQLite query to answer to the question: Who had the high as... | Here is the SQLite query to answer the question: Who had the high assists in Game 22?:
```
SELECT high_assists FROM table_name_85 WHERE game = '22'
``` | 13,061 | [
{
"from": "human",
"value": " 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 (high_assists VARCHAR, game VARCHAR)\n\n Question: Who had the high assists in Game 22?\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 (location_attendance VARCHAR, date VARCHAR)
Question: On December 3, where was the game held and how many were in attendance?
Here is the SQLite query to a... | To answer the question regarding the game held on December 3 and the attendance count, you need to modify the query to include both the location and the attendance count. Assuming that the `location_attendance` column contains attendance information formatted as "location - count", here’s how you might structure the qu... | 13,062 | [
{
"from": "human",
"value": " 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 (location_attendance VARCHAR, date VARCHAR)\n\n Question: On December 3, where was the game held and how many were 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 (venue VARCHAR, rank VARCHAR)
Question: Which venue is rank 3?
Here is the SQLite query to answer to the question: Which venue is rank 3?:
```
SELECT venue... | Here is the SQLite query to answer the question: Which venue is rank 3?:
```
SELECT venue FROM table_name_38 WHERE rank = '3';
``` | 13,063 | [
{
"from": "human",
"value": " 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 (venue VARCHAR, rank VARCHAR)\n\n Question: Which venue is rank 3?\n\nHere is the SQLite query to answer to the ques... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (opponent VARCHAR, season VARCHAR)
Question: Which opponent played in 2001/02?
Here is the SQLite query to answer to the question: Which opponent played in... | Here is the SQLite query to answer the question: Which opponent played in 2001/02?:
```
SELECT opponent FROM table_name_65 WHERE season = '2001/02';
``` | 13,064 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, season VARCHAR)\n\n Question: Which opponent played in 2001/02?\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_31 (season VARCHAR, rank VARCHAR)
Question: Which season is rank 4?
Here is the SQLite query to answer to the question: Which season is rank 4?:
```
SELECT se... | Here is the SQLite query to answer the question: Which season is rank 4?:
```
SELECT season FROM table_name_31 WHERE rank = "4";
``` | 13,065 | [
{
"from": "human",
"value": " 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 (season VARCHAR, rank VARCHAR)\n\n Question: Which season is rank 4?\n\nHere is the SQLite query to answer to the qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (season VARCHAR, rank VARCHAR)
Question: Which season has rank 2?
Here is the SQLite query to answer to the question: Which season has rank 2?:
```
SELECT ... | Here is the SQLite query to answer the question: Which season has rank 2?:
```
SELECT season FROM table_name_35 WHERE rank = '2';
``` | 13,066 | [
{
"from": "human",
"value": " 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 (season VARCHAR, rank VARCHAR)\n\n Question: Which season has rank 2?\n\nHere is the SQLite query to answer to the q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (venue VARCHAR, rank VARCHAR)
Question: Which venue is rank 3?
Here is the SQLite query to answer to the question: Which venue is rank 3?:
```
SELECT venue ... | Here is the SQLite query to answer the question: Which venue is rank 3?:
```
SELECT venue FROM table_name_4 WHERE rank = "3";
``` | 13,067 | [
{
"from": "human",
"value": " 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 (venue VARCHAR, rank VARCHAR)\n\n Question: Which venue is rank 3?\n\nHere is the SQLite query to answer to the quest... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR)
Question: What conference has 2009 as the season, with super leg final as the format?
Here is the SQLit... | Here is the SQLite query to answer the question regarding the conference for the season 2009 with the format "super leg final":
```
SELECT conference FROM table_name_8 WHERE season = '2009' AND format = 'super leg final';
``` | 13,068 | [
{
"from": "human",
"value": " 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 (conference VARCHAR, season VARCHAR, format VARCHAR)\n\n Question: What conference has 2009 as the season, with super... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (series VARCHAR, conference VARCHAR, season VARCHAR, format VARCHAR)
Question: What series has a season after 2008, super leg final as the format, and confe... | Here is the SQLite query to answer the specified question:
```
SELECT series FROM table_name_39 WHERE season > 2008 AND format = "super leg final" AND conference = "conference v"
``` | 13,069 | [
{
"from": "human",
"value": " 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 (series VARCHAR, conference VARCHAR, season VARCHAR, format VARCHAR)\n\n Question: What series has a season after 20... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (series VARCHAR, season INTEGER)
Question: Which series has a season prior to 2009?
Here is the SQLite query to answer to the question: Which series has a ... | Here is the SQLite query to answer the question regarding which series has a season prior to 2009:
```
SELECT series FROM table_name_46 WHERE season < 2009;
``` | 13,070 | [
{
"from": "human",
"value": " 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 (series VARCHAR, season INTEGER)\n\n Question: Which series has a season prior to 2009?\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_42 (format VARCHAR, conference VARCHAR)
Question: What format has conference iii as the conference?
Here is the SQLite query to answer to the question: What f... | Here is the SQLite query to answer the question "What format has conference iii as the conference?":
```
SELECT format FROM table_name_42 WHERE conference = "conference iii";
``` | 13,071 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (format VARCHAR, conference VARCHAR)\n\n Question: What format has conference iii as the conference?\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_69 (round_3 VARCHAR, round_4 VARCHAR)
Question: Round 3 with less than 54 for Round 4?
Here is the SQLite query to answer to the question: Round 3 with less t... | It looks like there is a misunderstanding in the query based on the question you're asking. The question asks for Round 3 entries that have values in Round 4 which are less than 54.
Here is the correct SQLite query to achieve that:
```
SELECT round_3 FROM table_name_69 WHERE round_4 < "54";
```
This query will ret... | 13,072 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (round_3 VARCHAR, round_4 VARCHAR)\n\n Question: Round 3 with less than 54 for Round 4?\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_45 (round_4 VARCHAR, round_1 VARCHAR, round_2 VARCHAR)
Question: Round 4 for larger than 19 Round 1 and a 27 Round 2?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question regarding Round 4 for values larger than 19 in Round 1 and equal to 27 in Round 2:
```
SELECT round_4 FROM table_name_45 WHERE round_1 > 19 AND round_2 = '27';
``` | 13,073 | [
{
"from": "human",
"value": " 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 (round_4 VARCHAR, round_1 VARCHAR, round_2 VARCHAR)\n\n Question: Round 4 for larger than 19 Round 1 and a 27 Round ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (round_3 VARCHAR, round_4 VARCHAR)
Question: Round 3 with a round 4 of 50?
Here is the SQLite query to answer to the question: Round 3 with a round 4 of 50... | Here's the SQLite query to answer the question "Round 3 with a round 4 of 50?":
```
SELECT round_3 FROM table_name_39 WHERE round_4 = "50"
``` | 13,074 | [
{
"from": "human",
"value": " 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 (round_3 VARCHAR, round_4 VARCHAR)\n\n Question: Round 3 with a round 4 of 50?\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_17 (score VARCHAR, away_team VARCHAR, date VARCHAR)
Question: How much did the away team b3 score on August 12, 2014?
Here is the SQLite query to answer to th... | Here's the SQLite query to answer the question regarding how much the away team b3 scored on August 12, 2014:
```
SELECT score FROM table_name_17 WHERE away_team = "b3" AND date = "August 12, 2014";
``` | 13,075 | [
{
"from": "human",
"value": " 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 (score VARCHAR, away_team VARCHAR, date VARCHAR)\n\n Question: How much did the away team b3 score on August 12, 201... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
Question: Which away team played on June 9, 2015 with a home team of f1?
Here is the SQLite query to a... | Here is the SQLite query to answer the question about which away team played on June 9, 2015, with a home team of f1:
```
SELECT away_team FROM table_name_34 WHERE date = "June 9, 2015" AND home_team = "f1";
``` | 13,076 | [
{
"from": "human",
"value": " 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 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)\n\n Question: Which away team played on June 9, 2015 with a hom... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (margin VARCHAR, winning_score VARCHAR)
Question: Which Margin has a Winning score of –7 (71-72-67-71=281)?
Here is the SQLite query to answer to the quest... | It looks like there is a misunderstanding in your query. The condition in the WHERE clause is not written correctly. You should only compare the `winning_score` to `-7` as a string, since the `winning_score` column is defined as `VARCHAR` in the schema.
Here is the corrected SQLite query:
```
SELECT margin FROM table... | 13,077 | [
{
"from": "human",
"value": " 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 (margin VARCHAR, winning_score VARCHAR)\n\n Question: Which Margin has a Winning score of –7 (71-72-67-71=281)?\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_71 (year INTEGER, runner_s__up VARCHAR)
Question: Which Year has a Runner(s)-up of tammie green?
Here is the SQLite query to answer to the question: Which Yea... | Your SQLite query is almost correct, but if you want to retrieve all years where "tammie green" was the runner-up (not just the minimum year), you might simply select the years without aggregating them. However, if you are specifically looking for the minimum year as your query indicates, the provided query is fine.
I... | 13,078 | [
{
"from": "human",
"value": " 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 (year INTEGER, runner_s__up VARCHAR)\n\n Question: Which Year has a Runner(s)-up of tammie green?\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_42 (year INTEGER, winning_score VARCHAR)
Question: Which Year has a Winning score of –4 (69-72-70-69=280)?
Here is the SQLite query to answer to the question:... | Your query has a few issues. The specific winning score of "–4" is represented as a string in the database (`winning_score VARCHAR`). In your query, you should directly specify the winning score as a string. Here’s the corrected version of the SQLite query:
```sql
SELECT MIN(year) FROM table_name_42 WHERE winning_scor... | 13,079 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (year INTEGER, winning_score VARCHAR)\n\n Question: Which Year has a Winning score of –4 (69-72-70-69=280)?\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_55 (nominated_work VARCHAR, award VARCHAR, type VARCHAR, position VARCHAR)
Question: What work was nominated at Rockferendum 2007 and got 1st place and got the... | Your SQLite query seems to be almost correct, but it looks like there's a slight misunderstanding in the filtering criteria for the type. Based on the schema you provided, the type might need to match "Rockferendum 2007" instead of "rockferendum 2007". SQLite is case-sensitive for string comparisons unless configured o... | 13,080 | [
{
"from": "human",
"value": " 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 (nominated_work VARCHAR, award VARCHAR, type VARCHAR, position VARCHAR)\n\n Question: What work was nominated at Roc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (position VARCHAR, nominated_work VARCHAR, award VARCHAR)
Question: What was the position that the nominated work La Quinta Esencia, which also won an award... | Here is the SQLite query to answer the question you provided:
```
SELECT position FROM table_name_18 WHERE nominated_work = "La Quinta Esencia" AND award = "Best CD Coverbox"
``` | 13,081 | [
{
"from": "human",
"value": " 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 (position VARCHAR, nominated_work VARCHAR, award VARCHAR)\n\n Question: What was the position that the nominated wor... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (type VARCHAR, award VARCHAR, position VARCHAR)
Question: What was the type that had an award for song of the year and the position of 3rd place?
Here is th... | Here is the SQLite query to answer the question about the type that had an award for "song of the year" and the position of "3rd place":
```
SELECT type FROM table_name_1 WHERE award = "song of the year" AND position = "3rd place";
``` | 13,082 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (type VARCHAR, award VARCHAR, position VARCHAR)\n\n Question: What was the type that had an award for song of the yea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (place VARCHAR, player VARCHAR)
Question: In what place is Phil Mickelson?
Here is the SQLite query to answer to the question: In what place is Phil Mickel... | Your SQLite query is correctly formatted to find the place of Phil Mickelson. Here it is wrapped in code formatting:
```
SELECT place FROM table_name_65 WHERE player = "phil mickelson";
``` | 13,083 | [
{
"from": "human",
"value": " 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 (place VARCHAR, player VARCHAR)\n\n Question: In what place is Phil Mickelson?\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_77 (country VARCHAR, score VARCHAR)
Question: The score of 73-71-70=214 belongs to what country?
Here is the SQLite query to answer to the question: The score... | The query you've provided has a logical error in how the condition is expressed. You need to compare the score as a string in the database against the calculated sum. Here's the corrected version of the SQLite query:
```
SELECT country FROM table_name_77 WHERE score = '214';
```
This query will return the country tha... | 13,084 | [
{
"from": "human",
"value": " 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 (country VARCHAR, score VARCHAR)\n\n Question: The score of 73-71-70=214 belongs to what country?\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_95 (country VARCHAR, score VARCHAR)
Question: Which country has a score of 73-74-69=216?
Here is the SQLite query to answer to the question: Which country has... | The provided query has a syntax error in the condition. To find the country with a specific score (which is 216 in this case), you should compare the score properly. Since the score is stored as a VARCHAR in the database, you'd also need to ensure you handle the comparison correctly.
Here's the updated SQLite query:
... | 13,085 | [
{
"from": "human",
"value": " 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 (country VARCHAR, score VARCHAR)\n\n Question: Which country has a score of 73-74-69=216?\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_45 (team VARCHAR, outgoing_manager VARCHAR)
Question: Which team had Christoph John as an outgoing manager?
Here is the SQLite query to answer to the question... | Your SQLite query to find which team had Christoph John as an outgoing manager is structured correctly. Here it is, formatted as requested:
```sql
SELECT team FROM table_name_45 WHERE outgoing_manager = "christoph john";
``` | 13,086 | [
{
"from": "human",
"value": " 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 (team VARCHAR, outgoing_manager VARCHAR)\n\n Question: Which team had Christoph John as an outgoing manager?\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_15 (venue VARCHAR, batting_team VARCHAR, batting_partners VARCHAR)
Question: In what venue was the Batting team India who featured partners Sachin Tendulkar an... | Here is the SQLite query to answer the question correctly considering the database schema provided:
```sql
SELECT venue FROM table_name_15
WHERE batting_team = "India"
AND batting_partners LIKE "%Sachin Tendulkar%"
AND batting_partners LIKE "%Rahul Dravid%";
```
This query checks for the venue where the batting t... | 13,087 | [
{
"from": "human",
"value": " 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 (venue VARCHAR, batting_team VARCHAR, batting_partners VARCHAR)\n\n Question: In what venue was the Batting team Ind... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (venue VARCHAR, fielding_team VARCHAR)
Question: In what venue did the fielding team Sri Lanka play?
Here is the SQLite query to answer to the question: In... | Here is the correct SQLite query to find the venue where the fielding team Sri Lanka played:
```
SELECT venue FROM table_name_86 WHERE fielding_team = "Sri Lanka";
``` | 13,088 | [
{
"from": "human",
"value": " 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 (venue VARCHAR, fielding_team VARCHAR)\n\n Question: In what venue did the fielding team Sri Lanka play?\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_93 (wicket VARCHAR, batting_partners VARCHAR, fielding_team VARCHAR)
Question: What was the wicket ranking for the match featuring partners Mohammad Azharuddin... | Here is the SQLite query to answer the question regarding the wicket ranking for the match featuring partners Mohammad Azharuddin and Ajay Jadeja, along with the fielding team of Sri Lanka:
```sql
SELECT wicket FROM table_name_93 WHERE batting_partners = "mohammad azharuddin and ajay jadeja" AND fielding_team = "sri l... | 13,089 | [
{
"from": "human",
"value": " 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 (wicket VARCHAR, batting_partners VARCHAR, fielding_team VARCHAR)\n\n Question: What was the wicket ranking 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_73 (wicket VARCHAR, fielding_team VARCHAR)
Question: What was the wicket ranking for the match that had a fielding team of Sri Lanka?
Here is the SQLite query... | Here is the SQLite query to retrieve the wicket ranking for the match where the fielding team is Sri Lanka:
```sql
SELECT wicket FROM table_name_73 WHERE fielding_team = "Sri Lanka";
``` | 13,090 | [
{
"from": "human",
"value": " 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 (wicket VARCHAR, fielding_team VARCHAR)\n\n Question: What was the wicket ranking for the match that had a fielding ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (date VARCHAR, attendance VARCHAR, opponent VARCHAR)
Question: What date was the game against inverurie loco works when more than 342 attend?
Here is the SQ... | Here is the SQLite query to answer the question about the game against Inverurie Loco Works when more than 342 attended:
```
SELECT date FROM table_name_3 WHERE attendance > 342 AND opponent = "inverurie loco works";
``` | 13,091 | [
{
"from": "human",
"value": " 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 (date VARCHAR, attendance VARCHAR, opponent VARCHAR)\n\n Question: What date was the game against inverurie loco work... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
Question: Which Score has a Date of july 20?
Here is the SQLite query to answer to the question: Which Score has a Date of jul... | Here is the SQLite query to answer the question "Which Score has a Date of July 20?":
```
SELECT score FROM table_name_2 WHERE date = "july 20";
``` | 13,092 | [
{
"from": "human",
"value": " 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 (score VARCHAR, date VARCHAR)\n\n Question: Which Score has a Date of july 20?\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_76 (score VARCHAR, date VARCHAR)
Question: Which Score has a Date of may 20?
Here is the SQLite query to answer to the question: Which Score has a Date of may... | Here is the SQLite query to answer the question: Which Score has a Date of may 20?:
```sql
SELECT score FROM table_name_76 WHERE date = "may 20";
``` | 13,093 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)\n\n Question: Which Score has a Date of may 20?\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_25 (result VARCHAR, score VARCHAR)
Question: Which Result has a Score of 69-81?
Here is the SQLite query to answer to the question: Which Result has a Score o... | The provided query is almost correct in terms of syntax, but it looks for an exact match of the string "69-81" in the `score` column. If you want to retrieve results with scores that fall within the range of 69 to 81, you should treat the `score` as a numerical value.
Here's the correct SQL query:
```sql
SELECT resul... | 13,094 | [
{
"from": "human",
"value": " 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 (result VARCHAR, score VARCHAR)\n\n Question: Which Result has a Score of 69-81?\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_81 (record VARCHAR, date VARCHAR)
Question: Which Record has a Date of june 26?
Here is the SQLite query to answer to the question: Which Record has a Date of... | Here is the SQLite query to answer the question: Which Record has a Date of june 26?:
```
SELECT record FROM table_name_81 WHERE date = "june 26";
``` | 13,095 | [
{
"from": "human",
"value": " 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 (record VARCHAR, date VARCHAR)\n\n Question: Which Record has a Date of june 26?\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_82 (date VARCHAR, record VARCHAR)
Question: Which Date has a Record of 6-6?
Here is the SQLite query to answer to the question: Which Date has a Record of 6-6... | Here is the SQLite query that answers the question "Which Date has a Record of 6-6?":
```sql
SELECT date FROM table_name_82 WHERE record = '6-6';
``` | 13,096 | [
{
"from": "human",
"value": " 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 (date VARCHAR, record VARCHAR)\n\n Question: Which Date has a Record of 6-6?\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_36 (score VARCHAR, record VARCHAR)
Question: Which Score has a Record of 5-4?
Here is the SQLite query to answer to the question: Which Score has a Record of ... | Here is the SQLite query to answer the question: Which Score has a Record of 5-4?:
```
SELECT score FROM table_name_36 WHERE record = "5-4";
``` | 13,097 | [
{
"from": "human",
"value": " 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 (score VARCHAR, record VARCHAR)\n\n Question: Which Score has a Record of 5-4?\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 (high_rebounds VARCHAR, date VARCHAR)
Question: Who had the highest rebounds on December 30?
Here is the SQLite query to answer to the question: Who had the... | To find out who had the highest rebounds on December 30, you'll want to retrieve the entry with the maximum value in the `high_rebounds` column for that specific date. Here is the corrected SQL query:
```sql
SELECT high_rebounds
FROM table_name_4
WHERE date = "december 30"
ORDER BY high_rebounds DESC
LIMIT 1;
``` ... | 13,098 | [
{
"from": "human",
"value": " 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 (high_rebounds VARCHAR, date VARCHAR)\n\n Question: Who had the highest rebounds on December 30?\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_21 (high_assists VARCHAR, team VARCHAR)
Question: Who had the highest assists on the l.a. lakers?
Here is the SQLite query to answer to the question: Who had ... | To find the player with the highest assists on the L.A. Lakers, you should modify the query to select the maximum assists instead of just filtering the results. Here’s how you can do that:
```sql
SELECT MAX(high_assists) AS max_assists
FROM table_name_21
WHERE team = "l.a. lakers";
```
This query will return the hi... | 13,099 | [
{
"from": "human",
"value": " 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 (high_assists VARCHAR, team VARCHAR)\n\n Question: Who had the highest assists on the l.a. lakers?\n\nHere is the SQ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.